Ultimaker / Cura

3D printer / slicing GUI built on top of the Uranium framework
GNU Lesser General Public License v3.0
6.14k stars 2.07k forks source link

Cura 4.4 Fonts Issue at Configure Setting Menu #6790

Open Ywang1233 opened 4 years ago

Ywang1233 commented 4 years ago

Application version Cura 4.4 Windows

Platform Windows 10 Home 64bit 1909 AMD 2600X 3.6GHz RX580 8GB DDR4 3200 16GB

Printer Custom Corexy BLV Cube

Reproduction steps

  1. Click Perfomance =>Configure Cura
  2. Fonts in setting meun shown as squeezed and garbled. Screenshot(s) Cura 4 4_1 Cura 4 4_2 Cura 4 4_3

Actual results I have installed Noto fonts. It makes no difference. I have tried the method by putting theme.json listed in https://github.com/Ultimaker/Cura/issues/4784#issuecomment-443146888 to setting folder. No difference. I changed the theme file with Arial font, no difference.

Texts in menu still squeezed and garbled

Expected results Clear and readable texts in setting menu. Project file Cura Theme.zip

Log file N/A

Additional information Thank you!

Ghostkeeper commented 4 years ago

Whoa, this is pretty seriously garbled. I haven't seen anything like this before except maybe the issue with the Cyrillic characters on Linux. I wonder why it's different on your computer than anyone else since the font rendering system is not something that's loaded from Cura's configuration or anything.

Ghostkeeper commented 4 years ago

Is it still messed up in the Machine Settings dialogue?

The labels in the main preferences screen are drawn using system settings for anti-aliasing, I think.

Ywang1233 commented 4 years ago

If I roll the setting list to very bottom, the fonts would change back to normal. But once I roll it back when the Italic sentance' You will need restart the application for blablabla...' shows up, all the fonts are garbled again. I havenot seen any issue like this before either. Here is the Mechine Setting menu, readable but not fully correct font size. Mechine Setting

Ywang1233 commented 4 years ago

Now I scaled my system display to 120%. The configure menu is readable and much better. I still can see the Italic font not fully correct displayed. 120%

The mechine setting menu font remains same without noticable difference.

Ywang1233 commented 4 years ago

By the way, my display setting is 1920*1080 60Hz, previously with 100% scale, current scale is 120%.

Ellecross commented 4 years ago

hey @Ywang1233 do you have specific regional system settings that are different than english? I cannot reproduce your issuem unfortunately. :/

Ywang1233 commented 4 years ago

Thanks for comment. Yes, I do have different setting. But only one of two my computers I installed cura on has this issue. Both of them are set as region China and display language simplified Chinese. The computer encountering this problem installed windows 10 home from genuine Chinese image. The other PC with no issue are factory installed English windows 10 home from Dell. But even if I set cura with Chinese, I still see this issue. So I am not very sure is it because my system setting.

On Mon, Dec 16, 2019, 23:49 Ellecross notifications@github.com wrote:

hey @Ywang1233 https://github.com/Ywang1233 do you have specific regional system settings that are different than english? I cannot reproduce your issuem unfortunately. :/

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Ultimaker/Cura/issues/6790?email_source=notifications&email_token=AIZGYEPKUCKQZIYMBKS5UMDQY6PRBA5CNFSM4JZJ6VJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG7ER7A#issuecomment-566118652, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZGYELQYCCN3JFXLUGWOPTQY6PRBANCNFSM4JZJ6VJQ .

Ghostkeeper commented 4 years ago

Maybe your system font doesn't have symbols for Latin characters? What is your system UI font?

Ywang1233 commented 4 years ago

Well, I did install the Noto font set, so it may not be miss of Latin characters I think. Even I set Cura to simplified Chinese, I still met this issue. It might be more like a font size issue, not font itself. Now since I run Cura with 125% system UI scale, I do not see this issue anymore.

Yanda

Ghostkeeper commented 4 years ago

Can you try something for me?

  1. Download this file: http://dulek.net/work/theme.json (perhaps right click -> save as)
  2. Save that file in place of C:\Program Files\Ultimaker Cura 4.4\resources\themes\cura-light\theme.json (or wherever you installed Cura). You'll need to provide admin access to do this, so download it first to somewhere like your desktop and then copy it over with the file browser.
  3. Make sure your system UI scale is back at normal, where you originally had the issue.
  4. (Re)start Cura. Are the fonts normal now?
Ywang1233 commented 4 years ago

Thanks for help, unfortunately, Issue remains. I recorded a short screen record video to demonstrate this issue, hope you can see it. I shared it with a google drive link cause it is over sized for attachment. https://drive.google.com/open?id=12oK0UJcXczwGo69sVpPMOOVPuI05FB03

Yanda

Ghostkeeper commented 4 years ago

Hrm, yeah I see it. That was the one idea I had that could've been causing this. With that other theme file it's drawing this text just in the OS default font size and style. It should be the most basic way to draw text, really.

It's very hard to debug this remotely. We're only guessing in the dark here until we know how to reproduce this problem.

Ywang1233 commented 4 years ago

Yeah, I understand. The other functions act really well. Thanks alot.

On Fri, Dec 20, 2019, 16:40 Ghostkeeper notifications@github.com wrote:

Hrm, yeah I see it. That was the one idea I had that could've been causing this. With that other theme file it's drawing this text just in the OS default font size and style. It should be the most basic way to draw text, really.

It's very hard to debug this remotely. We're only guessing in the dark here until we know how to reproduce this problem.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Ultimaker/Cura/issues/6790?email_source=notifications&email_token=AIZGYEJOVFLZTE352OYDX7DQZSAIZA5CNFSM4JZJ6VJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHMJKZI#issuecomment-567842149, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZGYEJAOV3OQDO72ENVM33QZSAIZANCNFSM4JZJ6VJQ .

shmyu12 commented 4 years ago

I have the same problem and I use RX580. I guess AMD graphics card is the cause. I don't know any more...

Ywang1233 commented 4 years ago

Yep, you are right. I have the same graphic card. AMD hasn't fixed the driver yet.

On Mon, Mar 23, 2020, 23:11 Shu Sekihara notifications@github.com wrote:

I have same problem and I use RX580. I guess AMD graphics card is the cause. I don't know any more...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Ultimaker/Cura/issues/6790#issuecomment-602663015, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZGYEOBWYAE77V37QHMIOLRI53YTANCNFSM4JZJ6VJQ .

no-response[bot] commented 4 years ago

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

Ywang1233 commented 4 years ago

I tried this method first, it doesn't work for me. Seem like multiple causes could lead to this phenomena.

On Fri, Jun 26, 2020, 04:00 Mathieu1972 notifications@github.com wrote:

Hi, I had the same problem with Cura 4.6.1. It was just displayed unreadable characters in fields of parameters. You can see what is inside the field of parameter by copy/paste in a notepad to confirm that there is a parameter but it is still not readable. The problem for me was the font Noto Sans that was not known or set correctly. Close Cura and then edit with Notepad++ or other editor the C:\Program Files\Ultimaker Cura 4.6\resources\themes\cura-light\theme.json and replace the Family font to "Times" instead of "Noto Sans". Times is a common type of font in most systems.

You can do the same for the others theme.json in the others directories. Restart finally Cura and it should work well..

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Ultimaker/Cura/issues/6790#issuecomment-649787430, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZGYEKEVGHURGILKPGI5JTRYOUFBANCNFSM4JZJ6VJQ .

eduncan911 commented 4 years ago

I'm getting the same. Clean Windows 10 install, nothing installed.

However, I am trying to use Dremel's branded version of Cura, which is based on Cura version... Actually, I have no clue as I can't read the About screen.

Screenshot from 2020-07-16 20-25-47

Screenshot from 2020-07-16 20-23-40

Screenshot from 2020-07-16 20-24-19

Ghostkeeper commented 4 years ago

@eduncan911 Your Cura version is rather old. Somewhere around 3.5 I'm guessing, based on those screenshots.

Your issue is different from what this topic is about. Please see https://github.com/Ultimaker/Cura/issues/6822 instead.

AndreVanKammen commented 4 years ago

image

I keep having these barely readable fonts in Cura on my windows 10 PC throughout all versions. I'm working on a 4K tv, seems the font's are rendered to small so they fall in between pixels.

Light text on dark background is almost unreadable, i switched to the light theme and now the text is readable except for the help popups which are light text on dark. Here the small lines in the font disappear, looks like an anti-aliasing mistake.

[edit] If i turn on clear-type the fonts are OK. So normal AA breaks it.