Closed langmic closed 3 years ago
Thank you very much for your bug report!
This looks like an incorrect interpretation of <symbol color="..." >
in text rendering. A workaround would be to switch HTML interpretation off with <Paragraph html="off"> ...
I need to turn off interpretation of the color attribute.
A different example:
<Layout xmlns="urn:speedata.de:2009/publisher/en"
xmlns:sd="urn:speedata:2009/publisher/functions/en">
<Record element="data">
<PlaceObject>
<Textblock>
<Paragraph>
<Value select="."/>
</Paragraph>
</Textblock>
</PlaceObject>
</Record>
</Layout>
and
<data>
<text color="green">Hello world</text>
</data>
It works with <Paragraph html="off">
. I thougt the issue is caused by the backgroundcolor which lays over the text but not with the text color itself. Thanks a lot!
This is fixed in version 4.5.3 which is available for download now. Thanks again for the report!
layout:
data:
good result (with version 4.0.1):
bad result (with version 4.2.0 upto 4.5.2)
I assume it could be broken by version 4.1.16 with commit 76f20867fb34dcb49ef88eb12ef62789444c0309
Kind Regards, Michael