|
From: | Nik Napalm |
Subject: | RE: [ft] FT_Face::family/style name |
Date: | Thu, 15 Jan 2009 19:05:35 +0000 |
Thanks for your suggestions, I will try what you said before attempting a self write for the parser. Regards, Nik. > Date: Fri, 16 Jan 2009 02:05:34 +0900 > From: address@hidden > To: address@hidden > CC: address@hidden > Subject: Re: [ft] FT_Face::family/style name > > On Thu, 15 Jan 2009 09:45:05 +0000 > Nik Napalm <address@hidden> wrote: > > Hmm. FT_New_Face() & FT_Open_Face() examine various file formats > to determine the correct file formats, and examine many checks > to keep the applications from crash by broken fonts. So the first > step would be the reduction of the drivers to essential formats > only, by editing modules.cfg. Also, please disable Macintosh font > support by undefine FT_CONFIG_OPTION_MAC_FONTS in ftoption.h (it > tries various pathnames to access Macintosh resource fork by POSIX > API). > > After that, if you think still there are still too much works, > and if you only care the family & subfamily names in "name" table > and you don't care whether the font file is broken or not, I > recommend you to write your own TrueType parser. The parser in > FT2 is src/sfnt/ttload.c::tt_face_load_name(). > > Regards, > mpsuzuki Are you a PC? Upload your PC story and show the world |
[Prev in Thread] | Current Thread | [Next in Thread] |