freetype-devel
[Top][All Lists]
Advanced

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

RE: [ft-devel] Another tricky font: DFKaiShu


From: Bevan, David
Subject: RE: [ft-devel] Another tricky font: DFKaiShu
Date: Thu, 12 Feb 2009 09:48:23 -0000

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:address@hidden

> Sent: 12 February 2009 09:44

> To: Werner LEMBERG

> Cc: Bevan, David; Tu, Houjie; address@hidden

> 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

 


reply via email to

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