BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Author Topic: Bug when using special character set with user font and ESDlabel  (Read 6904 times)

Cyrilou

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
Bug when using special character set with user font and ESDlabel
« 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?
Logged

BRT Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 733
    • View Profile
Re: Bug when using special character set with user font and ESDlabel
« Reply #1 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
Logged

Cyrilou

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
Re: Bug when using special character set with user font and ESDlabel
« Reply #2 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".
Logged

pauljiao

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Re: Bug when using special character set with user font and ESDlabel
« Reply #3 on: December 17, 2020, 10:12:52 AM »

You may check the EvChargePoint example project ,which is under installation path
"Examples\Advanced"
Logged

Cyrilou

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
Re: Bug when using special character set with user font and ESDlabel
« Reply #4 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.
Logged