-
Notifications
You must be signed in to change notification settings - Fork 34
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
Improve font rendering to prevent clipping and preserve proper kerning #31
Comments
Hi @coreyostrove and thanks for taking the time to report this issue. We have this issue since the redesign of the firmware, but it hasn't been addressed since. Your message may be an opportunity to get back to it. One solution could be to make lowercase letters small capitals. That way, all letters will stay in their available space. It will also harmonize with text in the pictures. Some people are experimenting this idea on Discord, but DGUS isn't helping making nice fonts. |
@Thinkersbluff is also enjoying the wonders of DWIN font rendering 😅 |
I find this font to be a reasonable alternative to the B612Mono font being used now. The sides of some letters still get clipped in some display fields, for reasons I have not yet understood, so it is not “perfect” but I can do no better for now. 0_DWIN_ASC.HZK.ArialMonoMtPro.zip There are two versions of the font file in the attached .zip.
NOTE: The original font file for these was downloaded from https://www.cufonfonts.com/font/arial-mono-mt-pro on 10 Feb 2021, modified in FontForge, converted using DGUS Tool 8.0.1.1 and uploaded here. It is licensed as "free for personal use only" |
I suspect it has something to do with the height of the fields, but I can't be sure. There is this weird vertical height and horizontal weight parameter in the DWIN editor. |
FWIW - It is simple to substitute the HZK (font) file distributed with the Creality DWIN_SET for the one bundled with the Community Firmware. Just copy 0_DWIN_ASC.HZK from the Creality DWIN_SET folder, paste it into the Community Firmware DWIN_SET folder, and reflash the Touchscreen. That font has shorter descenders, which are not truncated by DGUS. The tradeoff will be that the Community Firware font was edited to replace the backward apostrophe character with the degrees symbol, so all fields with units of degC will now show that character instead of the degrees symbol. |
The Re-Factored Version1.1 released 13 March 2023 implements a new HZK file which solves the problem with descenders, though it also shrinks the message font slightly in the process. |
I noticed some clipping of certain letters on the stock creality touchscreen LCD. See the attached photo for an example with the letter g.

The text was updated successfully, but these errors were encountered: