[NTG-pdftex] encoding vectors

The Thanh Han The Thanh Han <hanthethanh@myrealbox.com>
Thu, 5 Feb 2004 11:48:50 +0100


Hi Hans,

can you be please more specific? Do you use those fonts with tex, or
they are included in some pdf figure?

If you want to use them in the ``standard'' way, then the way to make it
work properly is to use fontinst. Fontinst is itself complicated and
hard to use as (plain) tex, but so far it is the most flexible way
(IMHO) to do that.

Thanh


On Wed, Feb 04, 2004 at 05:41:21PM +0100, Hans Hagen wrote:
> Hi,
> 
> I occasionally run into (commercial) fonts that have gaps in their encoding 
> vector. For instance, no 'sfthyphen', or no fi/fl/ffl/ffi ligatures. Of 
> course one can handcraft a vector, but to keep thinsg simple I wonder how 
> complicated it would be to have a fall back, say:
> 
> - if no sfthyphen is present, then take the hyphen
> - if no fi ligature is present, output an f and i and cross your fingers 
> for proper font based kerning
> 
> If you look into the texnansi vector, yuo will notice that esp this 
> sfthyphen has resulted in either taking or not taking a slot.
> 
> Of course another option could be to patch afmtotfm to do a more rigourous 
> check (remove ligs that are not in the font, remap sfthyphen).
> 
> 
> Hans