freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] FT_New_Face


From: Michael Day
Subject: Re: [ft] FT_New_Face
Date: Mon, 18 Sep 2006 09:57:19 +1000
User-agent: Thunderbird 1.5.0.5 (X11/20060728)

Hi Leonard,

I tend to use FT_New_Memory_Face() on Windows, having first found the font data using native OS API calls and then loading the font data into memory from there...

We do that too in Prince, however this method is difficult to use for TrueType Collection (TTC) fonts such as the Chinese mingliu.ttc font, as the table offsets are relative to the entire font file, but GetFontData() only gives you the single font that you asked for, which appears to be broken when handed to FreeType. Can you handle this situation by rewriting the offsets, or do you only handle non-TTC fonts?

Best regards,

Michael

--
Print XML with Prince!
http://www.princexml.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]