[Fontinst] ITC Galliard CC - ff, ffi & ffl ligatures

Christopher Adams chris at raysend.com
Tue Apr 28 17:30:06 CEST 2009

2009/4/28 Lars Hellström <Lars.Hellstrom at residenset.net>

> Silly typo: \relax should be before \encoding, not after it.

I can't say you didn't warn me about typos. Thanks for the correction - -
Your .etx is working exactly as prescribed. I'm now getting the fj ligature
automatically placed in the roman and italic forms in both my lining and
text figure families. My thanks! Now I can finally typeset with this font
without embarassing myself....

>> \transformfont{fglr8r}{\reencodefont{8r}{\fromafm{fglr8a}}} %Roman
>> \transformfont{fglri8r}{\reencodefont{8r}{\fromafm{fglri8a}}} %Italic
>> \transformfont{fglra8r}{\reencodefont{8r}{\fromafm{fglra8a}}} % Alt Roman
>> \transformfont{fglria8r}{\reencodefont{8r}{\fromafm{fglria8a}}} % Alt
>> Italic
> If all glyphs in fglra8a and fglria8a are already in a slot, then there's
> no need to reencode them; just use the 8a fonts directly. This is related to
> the 8r.enc issue below.

I see.

> BTW, is 8a the proper encoding variant for the Alt fonts? I suspect 7a
> would be more characteristic of what's really in there.

It's true that there is not a full glyphset in there. Just ligatures,
swashes and fleurons. The  glyphnames are nothing unusual: numbers 1-8 for
the fleurons, V-Z for the f-ligatures, etc. Does that count as an
Alternative font?

> Now, about the fj ligature...
>> I tried editing t1fgl.etx and adding a slot for the fj ligature. As a base
>> case I simply switched all instances of {FI}{fi} with {FJ}{fj}, and sure
>> enough the fj ligature appeared for all instances of fi in my test file.
>> I then tried removing one of the slots (dotlessj, I believe) and setting a
>> new slot for fj, following the syntax for the other f ligatures, and while
>> my testfile compiled all the glyphs seemed to be shifted over, so the
>> wrong
>> glyphs were being placed.
> Sounds like you changed the total number of \setslot commands; ETX files
> are kind of fragile that way. Try LaTeXing t1fgl.etx and see how the slot
> numbers come out, then compare with an unmodified t1.etx.

Thanks for the tip. I'll have to revisit this path and see if I can learn
how to change the ETX file without mangling the result.

- - Christopher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/fontinst/attachments/20090428/d4023309/attachment.html 

More information about the fontinst mailing list