Fix: Font rendering pixelated when cleartype disabled #855

Open
opened 2026-04-05 16:33:17 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @yw4z on 2/7/2026

Fixes https://github.com/OrcaSlicer/OrcaSlicer/issues/11732 confirmed in here https://github.com/OrcaSlicer/OrcaSlicer/issues/11732#issuecomment-3921922975

thanks to @Noisyfox pointing its a font issue https://github.com/OrcaSlicer/OrcaSlicer/issues/11732#issuecomment-3863699477

checked for any updates on original source for font file from source https://developer.huawei.com/consumer/cn/doc/design-guides-V1/font-0000001157868583-V1
but its same file

ISSUE

Users with hires or non RGB layout screens might disable ClearType feature. this causes pixelated text rendering
Current font has no property for grid fitting

IMPORTANT NOTES

• Code prefers installed font if user installed it. and requires reinstalling font but most of users no need to installing it
• Requires testing on all platforms since font imported and reexported with FontForge. this might effect em value / unicode characters etc. but didnt saw issue yet
• Tested on windows with / without ClearType
• Alternatively we can switch to a supported font file. Like completely switching to Noto Sans etc.

METHOD

Added related property with using FontForge

current font
Image

ubuntu mono
Image

COMPARISON

before adding grid fitting to font with cleartype disabled
Image

after - added same properties to font file and regenerated file
Image

EDITED FILES FOR TESTING

• Close Orca
• Replace them in OrcaSlicer\resources\fonts
• Restart Orca
fonts.zip

Fix confirmed in here https://github.com/OrcaSlicer/OrcaSlicer/issues/11732#issuecomment-3921922975

*Originally created by @yw4z on 2/7/2026* Fixes https://github.com/OrcaSlicer/OrcaSlicer/issues/11732 confirmed in here https://github.com/OrcaSlicer/OrcaSlicer/issues/11732#issuecomment-3921922975 thanks to @Noisyfox pointing its a font issue https://github.com/OrcaSlicer/OrcaSlicer/issues/11732#issuecomment-3863699477 checked for any updates on original source for font file from source https://developer.huawei.com/consumer/cn/doc/design-guides-V1/font-0000001157868583-V1 but its same file ### ISSUE Users with hires or non RGB layout screens might disable ClearType feature. this causes pixelated text rendering Current font has no property for grid fitting ### IMPORTANT NOTES • Code prefers installed font if user installed it. and requires reinstalling font but most of users no need to installing it • Requires testing on all platforms since font imported and reexported with FontForge. this might effect em value / unicode characters etc. but didnt saw issue yet • Tested on windows with / without ClearType • Alternatively we can switch to a supported font file. Like completely switching to Noto Sans etc. ### METHOD Added related property with using FontForge current font <img width="480" height="204" alt="Image" src="https://github.com/user-attachments/assets/72888026-d86d-4b95-9f2c-09817da1928d" /> ubuntu mono <img width="618" height="225" alt="Image" src="https://github.com/user-attachments/assets/9d4d531f-e9d1-4b8e-9db7-3e89455c7993" /> ### COMPARISON before adding grid fitting to font with cleartype disabled <img width="438" height="138" alt="Image" src="https://github.com/user-attachments/assets/d1ed7d4a-6cbf-4cb0-bfbf-29a48f46f3b3" /> after - added same properties to font file and regenerated file <img width="399" height="105" alt="Image" src="https://github.com/user-attachments/assets/5781b567-c2f1-488d-833b-369c77253bad" /> ### EDITED FILES FOR TESTING • Close Orca • Replace them in OrcaSlicer\resources\fonts • Restart Orca [fonts.zip](https://github.com/user-attachments/files/25150546/fonts.zip) Fix confirmed in here https://github.com/OrcaSlicer/OrcaSlicer/issues/11732#issuecomment-3921922975
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#855