|
From: | Andy Kellett |
Subject: | Re: [ft] Using SVG Font Glyph Data In FreeType |
Date: | Wed, 07 Apr 2010 13:05:26 -0400 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 |
Hi,Yes, I did see this response. While it did answer some questions, I still had more based on it, this example assumes the path data is already converted for example. Id still like to find some good examples that use the struct mentioned in the last mail. Thanks.
Kind Regards, Andy 'FishGuy876' Kellett On 4/7/2010 12:00 PM, Werner LEMBERG wrote:
Thanks to those who have made suggestions. Converting the font to a TTF just to read it defies the purpose of them using SVG in the first place; Ideally i'd like to just use the glyph data in the SVG directly and I just dont know how to get freetype2 to construct the glyph. [...]Perhaps my message didn't came through: Have a look at example3.cpp from the tutorial: http://freetype.sourceforge.net/freetype2/docs/tutorial/example3.cpp It demonstrates how to fill an FT_Outline structure manually, then rendering it. Werner
[Prev in Thread] | Current Thread | [Next in Thread] |