Euro Sign not shown properly

Stimulsoft Reports.Net discussion
Post Reply
tate
Posts: 1
Joined: Wed May 13, 2020 12:39 pm

Euro Sign not shown properly

Post by tate » Wed May 13, 2020 12:45 pm

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)?
Lech Kulikowski
Posts: 2575
Joined: Tue Mar 20, 2018 5:34 am

Re: Euro Sign not shown properly

Post by Lech Kulikowski » Fri May 15, 2020 7:09 am

Hello,

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

Thank you.
Post Reply