User forums > Help

Font size issue

<< < (2/3) > >>

takeshimiya:
thomas is almost right, but...

I can confirm that it's not a bug in C::B (compiled from CVS 20 minutes ago), it happens also in SciTE, Wordpad, and in other text editors.

I found Lucida Console the best monospaced font, and unlike Courier New, it does support ClearType in windows, so it's very readable in a LCD monitor.

However, I don't think it's some windows automagic font sustitution (try it on another OS), I think it's only Lucida Console, but the Bold version.
Because the when you set Lucida Console to bold, it keeps monospaced if all the text is bold.


--- Quote from: Rox271 on October 12, 2005, 09:39:20 pm ---Also if you zoom the text, you will notice that the carret is sometime over characters when text is bold.

--- End quote ---
Try disabling font antialiasing (or ClearType) in Windows to see if that effect dissapears. Windows happens to screw some parts of the text if that is enabled.


So I think the best solution (at least it's the way I use it) is:

Use Lucida Console, ClearType enabled, no bold fonts.

thomas:
Hmm... Lucida Console does not have a bold face, at least not on my system (Windows XP SP2).


--- Code: ---D:\desktop>ls -a C:/windows/fonts |grep "^[lL].*"
LONDON_F.TTF
Lsans.TTF
Lsansd.TTF
Lsansdi.TTF
Lsansi.TTF
l_10646.ttf
latha.ttf
lucon.ttf
--- End code ---
And that is the point, the system either has to create a "faux bold", or substitute the font.

Isn't there a possibility to hint for rendering quality etc. on a device context from inside a program, too? Never used that, but I think I read about it.

takeshimiya:
It seems, but when you are using Lucida Console bold, the text is monospaced (just not with the same width as non-bold).

I don't think there is a portable way of changing the rendering quality (probably you'll have to make your own solution).

Another solution would be to make a Lucida Console bold typeface (or maybe it exists somewhere in google), having the same width as the normal typeface.

Anyways, what's the behaviour of all of this in linux/mac os?

PS: The Lucida family font is really great, specially Lucida Sans Unicode and Lucida Console, I use them everywhere.
And also they are pretty standard in most linux distros, windows, and probably mac, so it's rather common.

Rox271:

--- Quote from: takeshimiya on October 14, 2005, 10:59:00 am ---it happens also in SciTE, Wordpad, and in other text editors.

--- End quote ---
This is right! It happens on Wordpad too.
Was very surprised to see that cos I'm using Lucida Console on a regular base in Visual Studio and never faced this issue.
Will double check this afternoon.

Thanks to all for your input.

[Edit]
Visual Studio 6 doesn't have a bold option. So this explains why I never had this issues before  :lol:.
Visual Studio .NET 2003 has the bold option.... and the same issue.
Conclusion: unless you can do better than Microsoft this is definitely not a bug.

rickg22:
*ahem* I find that as an insult. We CAN do better than Microsoft :lol: Just not in this area :-P

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version