On 26/02/2009 09:47, Erik Möller wrote:
Pseudo-code has never been my thing and it wasn't really practical to send
my font system, so here's 300 lines of fresh c++ source:

http://www.timetrap.se/post_images/small_font_test.cpp
http://www.timetrap.se/post_images/small_font_test_output.png

This is hopefully a to the point sample that shows how to render a colored
glyph with a differently colored outline to a memory buffer. It dumps the
result out as a tga to disc.


Thank you for taking so much time.

Here is my question: is it possible to do this WITHOUT using the span renderer callback? It seems that I could use Outline_Get_Bitmap and then combine it with the result from Glyph_to_Bitmap. Your thoughts?




_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to