Page 1 of 1

Document Types - Coloring - Italics

Posted: Thu Apr 07, 2005 4:00 pm
by djsykora
When I select the italics option in Coloring the underscore characters, "_", all disapear. I tried this on my custom document type for VHDL and also the default docuemnt type. Is there a work around for this, other than don't use italics?

Posted: Thu Apr 07, 2005 5:49 pm
by jcso01
Probably changing the font, because some font less visibility in italcis

Greetings ;)
JcSO

Posted: Thu Apr 07, 2005 9:53 pm
by jussij
JcSO is 100% correct as this is a fonts related issue.

Zeus by design can only use mono-spaced fonts which basically means it is coded to assume all characters of that font are all the same size. But unfortunately it appears that some font creators seem to have a different definition of monospaced when it comes to italic fonts. For reasons only know to them, they create the italic version of the '_' character taller than the non-italic version.

What this means is that for the italic '_' character the line below will overwrite this character makeing it disappear. What is worse is that if Zeus is change to assume all characters are the height of the italic font things are no better. In this case, because the non italic fonts are not in fact the height of their itallic version, when these fonts are painted by Windows all that happens is a gap is left on the screen.

To fix this problem you need to try a different font. For example the Micrsoft Courier New font has this problem while the Courier font does not.

Jussi

Posted: Thu Apr 21, 2005 1:38 am
by Guest
Here is a link to a bunch of monospaced programming fonts: https://www.zeusedit.com/phpBB3/viewtopic.php?f=5&t=301

Jussi