|
From: | Mickey Gabel |
Subject: | Re: [ft] Questions with freetype |
Date: | Thu, 26 Feb 2009 11:51:12 +0900 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20081204 Thunderbird/3.0b1 |
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?
[Prev in Thread] | Current Thread | [Next in Thread] |