[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Updates for GF driver.
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] Updates for GF driver. |
Date: |
Thu, 07 Jun 2018 08:36:28 +0200 (CEST) |
> * There is no code yet in `gf_load_font' to recognize the GF format
> (returning `not a GF font' otherwise). According to `texdoc
> gftype' it seems that you should test for (GF_PRE,131) as the
> first two bytes, followed by some more tests to be rather sure
> that the font is a GF file at all.
BTW, such a test must be thoroughly enough to avoid a
misidentification but quickly enough to avoid a complete font scan.
In other words, testing just the first two bytes is *not* sufficient.
Werner