liballeg / allegro5

The official Allegro 5 git repository. Pull requests welcome!
https://liballeg.org
Other
1.88k stars 284 forks source link

TTF addon which draws shapes directly #442

Open allebot opened 15 years ago

allebot commented 15 years ago

Originally reported by: elias-pschernig

Original Ticket: "alleg/feature-requests/24":https://sourceforge.net/p/alleg/feature-requests/24

The current ttf addon asks Freetype to render to a bitmap, then caches the bitmap of each glyph in ALLEGRO_BITMAPs. There are (often) advantages for rendering the glyph outlines directly. Not trivial to implement, but Thomas Harte on allegro.cc offered code for it:

http://www.allegro.cc/forums/thread/597997

beoran commented 9 years ago

This is a very interesting idea. How should we approach this. Make a new ttf addon that is compatible with the other one, but selectable at runtime? Base it on a configuration settng?