Skip to content

Menu fonts broken with disorder characters #7839

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kongwy opened this issue Jul 29, 2018 · 5 comments
Closed

Menu fonts broken with disorder characters #7839

kongwy opened this issue Jul 29, 2018 · 5 comments
Assignees
Labels
Component: Documentation Related to Arduino's documentation content Component: IDE user interface The Arduino IDE's user interface

Comments

@kongwy
Copy link

kongwy commented Jul 29, 2018

Run on Windows 10 (build 17134) with Chinese language, menu fonts seem broken with disorder and unrecognizable characters, I tried to change IDE language setting to English and UI font configuration in lib\theme\theme.txt but still not work.

IDE menu display with default (Chinese) language setting:

IDE menu display with English language setting:

Settings windows and other text can be displayed in normal:

@kongwy kongwy changed the title Menu fonts broken with unrecognizable characters Menu fonts broken with disorder characters Jul 29, 2018
@cmaglie cmaglie added the Component: IDE user interface The Arduino IDE's user interface label Aug 8, 2018
@facchinm
Copy link
Member

HI @kongwy ,
the font in use is fairly different from the "standard" Windows one which looks more like
capture
Your system probably needs a font (not present by default with Chinese installation? ). Does garbled text also appear on a fresh portable installation?

@kongwy
Copy link
Author

kongwy commented Aug 20, 2018

Hi, @facchinm thanks for your help.

This problem appears in both instances installed by .exe or unzip from the compressed file. I tried changing font config in lib\theme\theme.txt but didn't help.

As you said, I just used Beyond Compare to compare the Fonts folder from my current Windows install and the one extracted from the install.wim from a Windows (Simplified Chinese Pro Edition) ISO. Basically, there are no differences except four TTF files of Yu Gothic have a newer version on my computer.

@facchinm facchinm added this to the Release 1.8.10 milestone Jul 8, 2019
facchinm added a commit to facchinm/Arduino that referenced this issue Jul 8, 2019
If Cleartype and nonstandard fonts are being used, the IDE menus are rendered terribly. This patch should not affect people with standard configurations but must be tested on all possible OS/fonts combinations

Fixes arduino#6170
Fixes arduino#7839
@facchinm facchinm added the Component: Documentation Related to Arduino's documentation content label Sep 20, 2019
@facchinm
Copy link
Member

@SimonePDA we need to find a place to add the documentation about the fix (which is here facchinm@fb89a67 ) but can't be applied for everyone or the render would be terrible. Any hint?

@SimonePDA
Copy link

@facchinm I already opened a task on Jira because with the new release of the IDE, the existing documentation is definitely obsolete. Maybe this information could be added to the refreshed "environment" docs. However I have no time schedule for that as it is in FT-Content hands for assignment and priority.
We document the IDE in these two places:
https://www.arduino.cc/en/guide/environment
https://create.arduino.cc/projecthub/Arduino_Genuino/getting-started-with-the-arduino-software-ide-623be4

@per1234
Copy link
Collaborator

per1234 commented Oct 1, 2020

we need to find a place to add the documentation about the fix

The workaround has now been documented:
https://www.arduino.cc/en/Guide/Troubleshooting#why-is-the-arduino-ides-menu-text-gibberish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Documentation Related to Arduino's documentation content Component: IDE user interface The Arduino IDE's user interface
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants