Re: Letters cut off with font Monaco with italic style and different background colors
There is no improvement on this display issue in UE v20.00.0.1054. And I could see also the reason from the view of a Windows programmer.
As your ZIP file contains only MONACO.TTF for normal style, there are obviously no TTF files for Monaco for the styles bold, italic and bold + italic. Other monospaced fonts like Courier New are available with 4 files for each style. For Courier New the files are cour.ttf (normal), courbd.ttf (bold), couri.ttf (italic) and courbi.ttf (bold + italic).
The Windows font rendering engine uses automatically the right font file depending on the style. The application uses the Windows font library functions to get the width of a character or text to display, and gets in case of a font with a TTF in all 4 styles the correct value as the width of each character is defined in the appropriate font file.
In your case with Monaco only available for normal style, using bold or italic forces the Windows font rendering engine to emulate the bold/italic style by drawing the characters different than defined in the font file. This makes characters wider than defined in the font file. But that the characters are drawn with a higher width than defined in the font file can be only seen on last character of a bold/italic text when next character is drawn normally or special background highlighting is used for the bold/italic text.
I have attached a collage made from two screenshots, one from UltraEdit and one from Word 2010. Microsoft Word 2010 on my Windows 7 computer fails also to recognize the width of italic Monaco correct which is not really surprisingly for me now knowing the facts about the used font. As you can also see by measuring the pixels, the width of normally drawn off is much smaller than the real width of italic drawn off, but UE and Word draw the background for both off with the same width. In other words every italic Monaco character is drawn partly over the area of the next character.
What MS Word makes obviously better than UltraEdit is the order of drawing the background areas. Word first draws the page color (white), than the color of the paragraph (yellow) and last the text with its color and background color. It looks like UltraEdit draws first the text and next draws every area not displaying a text or anything else with the background color for plain text in this case. This drawing order results in a chopped character if an italic character is at end of a line. This is something the IDM developers could improve regarding to this display issue.
But the real reason for the drawing issue cannot be solved by the IDM developers as a font not designed for bold or italic style will always return the wrong width to the application.
IDM strongly recommends to use a fixed pitch font when using bold and italic styles. A fixed pitch font is a monospace font where all characters in all styles have the same width, not just within one style. So a fixed pitch font is a font where for example a normal i has the same width as a bold or italic W. That is not only important for UltraEdit on drawing the text correct. It is also important for a progammer who wants to use bold and italic style as no programmer wants for example a commented source code line in italic displayed different than the same source code line above not commented and therefore drawn normal just because of normal characters are smaller than the italic characters. Courier New and Consolas are both fixed pitch fonts.
Best regards from an UC/UE/UES for Windows user from Austria