tdf96324
Christina Roßmanith
ChrRossmanith at gmx.de
Sat Nov 11 21:15:37 UTC 2017
Hi,
I've attached a small example to the bug: two text blocks M_N
(subscript), one rotated one plain.
In SVGTextWriter::implWriteTextPortion we see the coordinates where the
text portions are positioned:
rotated: M (443,5096), N (559, 4808) -> y coordinate of N should
increase instead of decrease compared to y coordinate of M
plain: M (250, 443), N (542, 559) -> the delta in x is 292 compared
to 161 in the rotated case, which is too small.
Armin, do you have a code pointer for me, where these numbers are
calculated?
Regards,
Christina
Am 29.10.2017 um 13:40 schrieb Christina Roßmanith:
> Hi,
>
> I'm having a look at bug tdf96324. The problem is that when exporting an
> ODG to SVG the subscript 'N' from a rotated axis label isn't visible in
> the exported SVG. It is exported but with coordinates which are way off.
>
> As far as I understand the ODG document is converted to a metafile and
> this is exported to SVG. The coordinates in the metafile are wrong so I
> would like to see how the metafile is created.
>
> Any hints where I might start to search?
>
> Christina
>
>
>
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20171111/239192c4/attachment.sig>
More information about the LibreOffice
mailing list