freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] GF + TFM


From: Werner LEMBERG
Subject: Re: [ft-devel] GF + TFM
Date: Sat, 28 Jul 2018 21:59:00 +0200 (CEST)

> On line 243 [of `ftcommon.c'], it checks for the extension of the
> font file and proceeds further.  Now `type1' files have fixed
> extensions `pfa' or `pfb' so there is no problem, but `gf' or `pk'
> files can have varied extensions and thus is not invoking the `tfm'
> module, what do you suggest?

Well, simply extend the code to expect file names of the form

   <name> '.' [<integer>] 'gf'

[It perhaps makes sense to emit a minor warning on stderr in case the
 value of <integer> doesn't fit the GF file's resolution.]


    Werner



reply via email to

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