Mickey,

 

The "family name" from the 'name' table is used.

 

It is not based on file name (files can be renamed and embedded fonts
don't have one).

 

David %^>

 

 

> -----Original Message-----

> From: Mickey Gabel [mailto:[email protected]]

> Sent: 12 February 2009 09:44

> To: Werner LEMBERG

> Cc: Bevan, David; Tu, Houjie; [email protected]

> Subject: Re: [ft-devel] Another tricky font: DFKaiShu

> 

> Werner LEMBERG wrote:

> >> We have needed to add the string

> >>

> >>       "DFKaiShu"

> >>

> >> to trick_names[] in tt_check_trickyness() in ttobjs.c for the

> >> attached TTF extracted from a PDF.

> >

> > Applied to the CVS.  Thanks for the report.

> >

> >

> >     Werner

> 

> Does FT2 uses the filename to detect the tricky font, or does it use

> some data from the contents of the file?

> 

> Assuming it's a file name:

> 1) Is there a way to check this list from outside? Our library always

> loads fonts from a user-supplied memory buffer, and never from a file.

> 2) Is there a way to either pass this list to the user, or simply
check

> a filename (FT_Check_Trickyness?) and then pass it to the Face init

> routine (FT_New_Memory_Face)?

> 

> Mickey

 

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

Reply via email to