Open bug #128206 ‘s attachment #155077 [details] in LO 7.1 and 7.2 master. In 7.1 the rotated text is visible, as on attachment #169073 [details] but in 7.2 it disappears as on attachment #169074 [details] Steps to reproduce: 1. Open attachment #155077 [details] in 7.2 master Actual results: No rotated text visible on the left side shape. Expected results: Text should be visible. LibreOffice details: Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 6ee7a3b2c0565c2871d32d704cb2899445b9f88d CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: en-US (hu_HU); UI: en-US Calc: CL Additional Information: Bibisected using bibisect-win64-7.2 to: URL: https://cgit.freedesktop.org/libreoffice/core/commit/?id=65e2ef43f186164729e1cc071b805bc1a7125cfe author Miklos Vajna <vmiklos@collabora.com> 2021-01-06 10:23:44 +0100 committer Miklos Vajna <vmiklos@collabora.com> 2021-01-06 12:23:59 +0100 tdf#134288 svx: fix rendering of text on a zero-width shape Adding CC to: Miklos Vajna
confirm in Version: 7.2.0.0.alpha0+ (x64) Build ID: 94f6765d6ecc3145fa2d266231124003cf953118 CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win Locale: ru-RU (ru_RU); UI: en-US Calc: threaded
Repro 7.3+.
comment 0's commit was also backported to 7.1.0.2. A further complication in current master is bug 146876 which has broken the rotation of the shape itself.
This seems to be related to (adjusted to match the current code) + if (!bVerticalWriting && aAnchorRange.getWidth() == 0)
Before it would be lost in the sea of abandoned patches, https://gerrit.libreoffice.org/c/core/+/129424 fixes this problem in practice, it just needs investigation if it's the correct fix + cover it with a test.
The timeline I see: - d0119ff7f2c68aa05286bd303128f3a69c6bbd6a (improve tools::Rectangle->basegfx::B2?Rectangle conversion, 2019-05-06): before this, nothing was visible, so this "started to work" - 65e2ef43f186164729e1cc071b805bc1a7125cfe (tdf#134288 svx: fix rendering of text on a zero-width shape, 2021-01-06): the previous commit had a problem, so I had to tweak the behavior there So this never really worked in a clean way, I think. Adjusting keywords accordingly.