Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice



Attachment: signature.asc
Description: OpenPGP digital signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.