Comma character is not printing in screen

Important: unclear posts may not receive useful answers.

Before posting

  • Get familiar with Markdown to format and structure your post
  • Be sure to update lvgl from the latest version from the master branch.
  • Be sure you have checked the FAQ and read the relevant part of the documentation.
  • If applicable use the Simulator to eliminate hardware related issues.

Delete this section if you read and applied the mentioned points.

Description

If I’m trying to display comma character in screen, it is displaying hyphen . How to resolve this issue?

What MCU/Processor/Board and compiler are you using?

MCU - NXP MIMXRT1176

What LVGL version are you using?

version 8.3

What do you want to achieve?

To display comma character

What have you tried so far?

Tried with almost all characters, only comma character is facing issues
comma is not displaying

Code to reproduce

Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.

The code block(s) should be formatted like:

/*You code here*/

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.

What font are you using? And give us that character and/or its unicode

Thanks for the reply

I’ve tried with these fonts:

Amiko Regular
Alatsi Regular
Gotham Bold
Montserrat Medium

character ,

See how to use the font and add a sign/symbol: Fonts — LVGL documentation

Thanks for the reply.
I’ve tried with all ASCII characters, and except for the comma (,), every symbol is displaying fine. For the comma, a hyphen is displaying instead.

Thanks

1 Like

I have been having the exact same issue. I configured my USB keyboard via the lv_indev functionalities. Pressing the “comma” key will yield the ASCII equivalent “44” in the callstack for as far as I can follow it. lv_textarea_add_char gets called and the callback I attached to the textbox receiving the keystroke when in focus does a memcpy() on the data in the textbox matches what I expect. I suspect the issue is somewhere in the drawing of LVGL but it’s difficult to track what and when. I am using the NXP RT1176 as well with version 8.3