Ultimaker / Cura

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

[4.0.0] Text Font corrupted on Neon (Ubuntu + KDE) #5542

Closed alvaro893 closed 4 years ago

alvaro893 commented 5 years ago

Application Version 4.0.0

Platform KDE Neon 5.15 Ubuntu 18.04 is the base system

Printer Anycubic i3 mega

Steps to Reproduce It is quite inconsistent. It randomly happens when using the UI. Sometimes it doesn't happen at all.

Actual Results Text Fonts get corrupted. Impossible to read

Expected results Unmodified text

Additional Information cura-problem0 Screenshot_20190331_204507

nallath commented 5 years ago

Are you using the appimage?

alvaro893 commented 5 years ago

@nallath yes.

Ghostkeeper commented 5 years ago

Haven't seen this happen, so far. Neither on the AppImage or running from source on my Ubuntu 18.10 computer.

I'm not quite sure how to approach a fix for this. Do you know if this happened also in 3.6 or before?

alvaro893 commented 5 years ago

I downloaded the 3.6 AppImage to test it. It seems that it works just fine. No text corruption. Could this be related somehow to Nvidia drivers?

Ghostkeeper commented 5 years ago

Maybe. Hard to say unless we find a pattern in the people who experience this. I'm not seeing this on the NVidia drivers on Windows but that's a whole different beast of course.

It's funny how the Prepare, Preview and Monitor stages are still rendering fine.

alvaro893 commented 5 years ago

I tried 4.0.0 AppImage in a old laptop with Kubuntu installed on it. It worked fine. This laptop uses Intel Integrated Graphics (rev 02) instead.

Ghostkeeper commented 5 years ago

Maybe it only happens for text that is not exactly pixel-aligned?

fieldOfView commented 5 years ago

It looks like it is a specific font size. That could mean the bitmap representation that is created when a font is loaded at a certain size is corrupted somehow.

The text looks well aligned to me; I checked the rendering of those element, and non-aligned text shows up on Windows because it uses a different renderer.

alvaro893 commented 5 years ago

Some news about this issue!

After going to Settings->Fonts->Anti-aliasing and set it from "vendor default" to "enabled". The font corruption disappear altogether.

Also fonts look a bit better.

bmveee commented 5 years ago

One more note to add to this - it's not enough to 'enable' anti-aliasing, I had to go to Configure (from the Font menu) and set it to Full hints. At least that's what I had to do...

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.