Dear all,<br><br>As my very first fontinst project, I&#39;m trying to work with the typeface ITC Galliard from Carter &amp; Cone (in PC Type 1 format).<br><br>Following Phillipp Lehman&#39;s excellent tutorial, I managed to get Small Caps, lining and text figures all working properly. No mean feat, as this is the first time I&#39;ve done anything remotely like this.<br>
<br>However, in order for the typeface to be even minimally useful, I really need to get ff, ffi &amp; ffl ligatures working (fj would be nice, too, but that one is sitting on an Alternate font that I haven&#39;t touched yet).<br>
<br>The fl and fi ligatures just work &quot;out of the box.&quot;<br><br>The ff, ffl &amp; ffi ligatures are encoded on the OldStyle fonts as cedilla, hungarumlaut &amp; ogonek, respectively.<br><br>Now, I can access these glyphs using the \char command, but I would prefer to have TeX insert them automaticlaly.<br>
<br>Following an example from your archives I tried the \reglyphfonts command,  but this failed for me, as it did for the author of this post: <a href="http://www.tug.org/pipermail/fontinst/2005/001503.html">http://www.tug.org/pipermail/fontinst/2005/001503.html</a><br>
<br>A better path seemed to be writing a separate mtx file and using Alan Hoenig&#39;s \saveglyphas command, viz:<br><br>%%%%%%%<br>\relax<br>    This is fgllig.mtx, to redefine glyphs in the ITC Galliard CC font.<br>\metrics<br>
\setcommand\saveglyphas#1#2{%<br>    % eg \saveglyphas{numbersign}{TT}<br>    \setglyph{#2}<br>        \glyph{#1}{1000}<br>    \endsetglyph<br>    \setleftkerning{#2}{#1}{1000}<br>    \setrightkerning{#2}{#1}{1000}}<br>\saveglyphas{cedilla}{ff}<br>
\saveglyphas{hungarumlaut}{ffi}<br>\saveglyphas{ogonek}{ffl}<br>\endmetrics<br>%%%%%%%<br><br>In my naïveté, I would think this should suffice. Do I really need an new .etx as well, since T1.etx appears to already include the commands for dealing with these ligatures? <br>
<br>The relevant lines from my fontinst script are:<br><br>%%%%%%%<br><br>\input fontinst.sty<br>\needsfontinstversion{1.926}<br>\recordtransforms{fgl-OSF-rec.tex}<br><br>\transformfont{fglr8r}{\reencodefont{8r}{\fromafm{fglr8a}}} %Roman<br>
\transformfont{fglri8r}{\reencodefont{8r}{\fromafm{fglri8a}}} %Italic<br>\transformfont{fglrc8r}{\reencodefont{8r}{\fromafm{fglrc8a}}}    %SmallCaps<br>\transformfont{fglrj8r}{\reencodefont{8r}{\fromafm{fglrj8a}}}    %OSF Roman<br>
\transformfont{fglrij8r}{\reencodefont{8r}{\fromafm{fglrij8a}}}    %OSF Italic<br><br>[...] %skipping 13 lines that install my {fgl} family<br><br><br>\installfonts<br>\installfamily{T1}{fglj}{}<br>\installfont{fglrj8t}{fglrj8r,newlatin,fgllig}{t1}{T1}{fglj}{m}{n}{} % i.e, fgllig.mtx<br>
\installfont{fglrcj8t}{fglrc8r,newlatin}{t1}{T1}{fglj}{m}{sc}{}<br>\installfont{fglrij8t}{fglrij8r,newlatin,fgllig}{t1}{T1}{fglj}{m}{it}{} %<br>\endinstallfonts<br><br>\installfonts<br>\installfamily{TS1}{fglj}{}<br>\installfontas{fglr8c}{TS1}{fglj}{m}{n}{}<br>
\installfontas{fglr8c}{TS1}{fglj}{m}{sc}{}<br>\installfontas{fglri8c}{TS1}{fgljd}{m}{it}{}<br>\endinstallfonts<br><br>\endrecordtransforms<br>\bye<br><br>%%%%%%%<br><br><br>Am I doign this correctly? I&#39;m afraid I really don&#39;t know how to proceed. Do I use OT1 enconding instead, as Alan Hoenig&#39;s examples do? Do I fork my own .etx and add the necessary commands by hand?<br>
<br>A bonus would be not just getting these ligatures to work on {fglj} (since, as I mentioned, these glyphs are actually on fglrj8r), but to put them on {fgl} as well.<br><br>Your help is much appreciated!<br><br>- - christopher adams<br>