MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.28k stars 19.24k forks source link

Incorrect Scandinavic alphabets #26671

Closed simppakheikki closed 6 months ago

simppakheikki commented 10 months ago

Did you test the latest bugfix-2.1.x code?

Yes, and the problem still exists.

Bug Description

Scandinavic alphabets ä and ö (and very likely å) don't appear properly. I get strange, possibly Asian letters, which replace Scandinavic alphabets. It also looks like this affects on the alphabet following the Scandinavic letter. I already tried to search the problem but it showed to be too time consuming task since Marlin code is rather complicated. I wonder if this has something to do with this issue #26379 .

Bug Timeline

No response

Expected behavior

I expect to see a finnish word "Lämpötila". This also affects on other words similarly.

Actual behavior

20240113_204656

In the image above, letters substrings "äm" and "öt" are missing from "Lämpötila". This is only one example of this problem. Other texsts having letters ä or ö has same problem in other texts.

Steps to Reproduce

Setup: OS: Windows 11 Home ABM: Auto Build Marlin v2.1.51 PlatformIO IDE v3.3.2 IDE: VSCode v1.85.1

Firmware update has been done via SD card transferring which is typical for Ender-3 v2 printers.

Version of Marlin Firmware

2.1.1.2

Printer model

Creality Ender-3 v2

Electronics

Original electronics

LCD/Controller

DWIN display

Other add-ons

No response

Bed Leveling

None

Your Slicer

None

Host Software

None

Don't forget to include

Additional information & file uploads

Marlin settings.zip

EvilGremlin commented 10 months ago

Assets for these displays don't have any accented characters, only english set. Did you really try bugfix? iirc code was fixed to convert all accented characters to regular ones.

simppakheikki commented 10 months ago

Yes I tried. It won't even compile without giving [missing binary operator before token "("] preprocessing errors. Those errors were even more difficult to solve.

EvilGremlin commented 10 months ago

"missing binary operator" is becasue you used wrong config version. Well, i guess accents were only fixed for native displays. Use english

simppakheikki commented 10 months ago

After some digging I finally found right config files but problem still persists. But if it is caused by the screen, there is nothing to do. I usually prefer Finnish version if it available but I didn't know it won't work for DWIN displays.

EvilGremlin commented 10 months ago

If it's DACAI you can try swapping font.ttf, if it's DWIN/DGUS - you also can try do dive deeper and convert the font with DGUS editor. Surefire compromise is to just change string by screen type https://github.com/MarlinFirmware/Marlin/pull/4597/files

github-actions[bot] commented 7 months ago

Greetings from the Marlin AutoBot! This issue has had no activity for the last 90 days. Do you still see this issue with the latest bugfix-2.1.x code? Please add a reply within 14 days or this issue will be automatically closed. To keep a confirmed issue open we can also add a "Bug: Confirmed" tag.

Disclaimer: This is an open community project with lots of activity and limited resources. The main project contributors will do a bug sweep ahead of the next release, but any skilled member of the community may jump in at any time to fix this issue. That can take a while depending on our busy lives so please be patient, and take advantage of other resources such as the MarlinFirmware Discord to help solve the issue.

github-actions[bot] commented 4 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.