summaryrefslogtreecommitdiffstats
path: root/bin/upload_symbols.py
diff options
context:
space:
mode:
authorRegina Henschel <rb.henschel@t-online.de>2024-05-07 23:51:24 +0200
committerRegina Henschel <rb.henschel@t-online.de>2024-05-14 00:25:13 +0200
commit47664e282da4999b8e471a6a916d7ec80414ac18 (patch)
treed792f47777182f04fd620c23ceac62c2528f00a8 /bin/upload_symbols.py
parentpoppler: Upgrade 24.05.0 (diff)
downloadcore-master.tar.gz
core-master.zip
tdf#84507 move contour text to correct place in rotated... HEADmaster
...path objects. I first tried to change the UnitPolyPolygon in ViewContactOfSdrPathObj::createViewIndependentPrimitive2DSequence(). But it is needed in that way to draw the geometry of the object. Now the change is made in SdrTextObj::impDecomposeContourTextPrimitive(). The basic idea is to recover the original PolyPolygon and transform it so, that the transformed text is placed into the transformed PolyPolygon. The ObjectMatrix gets a translation then, which moves the transformed text to the correct position in the PolyPolygon. For East Asian writingmode tb-rl, the text start needs to be top-right. Added that, which resolves bug 128433. If the shape has a fat stroke the text reaches into the stroke currently. I have changed the code so that now a reduced area for the text is used. The polypolygon behaves now same as the legacy rectangle. Sometimes not all text is drawn although the rotated PolyPolygon would have enought place for it. Or in other cases the text spills out of the PolyPolygon. But I don't know a solution yet. As the other changes are an improvement, this problem can be solved later. Change-Id: I951024bf0d6d992587ec9cf2ed37665f322b66fb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167299 Tested-by: Jenkins Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Diffstat (limited to 'bin/upload_symbols.py')
0 files changed, 0 insertions, 0 deletions