Page 1 of 1

Euro Sign not shown properly

Posted: Wed May 13, 2020 12:45 pm
by tate
Hi,

we have a report rendered under with the following TextFormat definition in the MRT file:

Code: Select all

                  <TextFormat Ref="42" type="CurrencyFormat" isKey="true">
                    <DecimalDigits>2</DecimalDigits>
                    <DecimalSeparator>,</DecimalSeparator>
                    <GroupSeparator>.</GroupSeparator>
                    <NegativePattern>8</NegativePattern>
                    <PositivePattern>3</PositivePattern>
                    <Symbol>€</Symbol>
                  </TextFormat>

When rendered under Windows it looks fine, but when rendered on Docker (Linux) it shows the '¤' symbol.

How we can produce the Euro sign under Docker (Linux)?

Re: Euro Sign not shown properly

Posted: Fri May 15, 2020 7:09 am
by Lech Kulikowski
Hello,

Please try to add used fonts in the Font Collection:
Stimulsoft.Base.StiFontCollection.AddFontFile(@"fontfile.ttf");

Thank you.