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
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
> 


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
LibreOffice mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice
  • tdf96324 Christina Roßmanith
    • Re: tdf96324 Christina Roßmanith

Reply via email to