Anti-aliased Fonts

BlitzPlus Forums/BlitzPlus Programming/Anti-aliased Fonts

Snarty(Posted 2007) [#1]
Hi all,

When outputting text to a canvas and/or image buffer it seems BlitzPlus uses the settings Windows uses. For instance, if you have Smooth Edges selected for font operations then the fonts are rendered that way (in either Clear Type or Standard).

So, here is the question. Is there anyway of changing the font operation so you can turn off Smooth Edges (anti-aliasing) when rendering fonts to a buffer?

There is a way to do it when creating the font by setting the LOGFONT variable lfQuality to NONANTIALIASED_QUALITY. I was wondering if there is any hack to change the current fonts rendering settings. If not, is it possible Mark could change this so you choose the quality of font output.

Yes, I realise I could use MaxGUI (which would still require workarounds for other issues), and I've started porting ProPixel across, but, it's 250,000+ lines of code and would rather continue developing with BlitzPlus with C workarounds.

Thanks in advance for any possible solutions.


ford escort(Posted 2007) [#2]
sorry to dig up this thread but is there a solution to this problem ?