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
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
outlined fonts / (un-)antialiased fonts
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.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
outlined fonts / (un-)antialiased fonts
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
CE.
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
CE.
outlined fonts / (un-)antialiased fonts
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
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
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 17 guests