BRT Community

General Category => Discussion - EVE => Topic started by: Cyrilou on December 03, 2020, 11:50:33 AM

Title: Bug when using special character set with user font and ESDlabel
Post by: Cyrilou on December 03, 2020, 11:50:33 AM
I'v added special characters like é, è, à to a font because I must use french language. Rom fonts doesn't have these characters! It's too bad.
When I use an ESDlabel and I write "é" followed by a character from "0" to "f" (hexadecimal), this character becomes a space. Other characters are displayed correctly.

Can you reproduce it and correct it?
Title: Re: Bug when using special character set with user font and ESDlabel
Post by: BRT Community on December 09, 2020, 10:13:21 PM
Hello,

Could you advise which font you added and which steps you used to add your language characters?

Best Regards, BRT Community
Title: Re: Bug when using special character set with user font and ESDlabel
Post by: Cyrilou on December 10, 2020, 09:17:50 AM
Hi,

I'm using Arial font .ttf in size 24 in ESD 4.8. I use ESD label widget with this font. I write "écran" in text property and I see " ran" on design window. If I write "élastique" I see "élastique".
Title: Re: Bug when using special character set with user font and ESDlabel
Post by: pauljiao on December 17, 2020, 10:12:52 AM
You may check the EvChargePoint example project ,which is under installation path
"Examples\Advanced"
Title: Re: Bug when using special character set with user font and ESDlabel
Post by: Cyrilou on January 13, 2021, 03:56:57 PM
ok I see... text is unicode but not in text field of ESDlabel!
You must write "\xc3\xf2..." in C code to support special characters.