Page 1 of 1

outlined fonts / (un-)antialiased fonts

Posted: Tue Jul 27, 2004 08:59
by Injector
Hello everybody,

is it possible to automatically apply an outline to rendered font glyphs? If so, how?
Also, (how) can I tell freetype/CEGUI that I want certain fonts not to be antialiased?

Any help greatly appreciated.

Injector

outlined fonts / (un-)antialiased fonts

Posted: Tue Jul 27, 2004 09:36
by CrazyEddie
is it possible to automatically apply an outline to rendered font glyphs? If so, how?

I think the only time this would be easy is if FreeType supported it, which AFAIK it doesn't. You'd have to fake it somehow :?

Also, (how) can I tell freetype/CEGUI that I want certain fonts not to be antialiased?

I'll add an option for this to the Font class. Expect it in CVS by around Friday.

HTH

CE.

outlined fonts / (un-)antialiased fonts

Posted: Fri Jul 30, 2004 12:12
by CrazyEddie
Support for non-antialiased fonts is now in the system. Though IMO this looks a bit iffy!

In the font definition XML file you now have an optional 'AntiAliased' attribute which can be set to "true" or "false".

For direct creation there is the NoAntiAlias creation flag.

For post creation modification there is a Font::setAntiAliased(bool setting); method (in addition to an isAntiAliased() query).

Hope this is useful for you :D

CE.

outlined fonts / (un-)antialiased fonts

Posted: Fri Jul 30, 2004 14:52
by Injector
Once again: Thank you very much.

Personally I just think that anti-aliasing only looks good when the font is rendered in a reasonable size. Small fonts (say for a console system/command shell) look better unantialiased, imho.

Injector