<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">Can you please do t1testpage on the fonts and place the ps files online. <br></blockquote><br>
I installed t1testpage and ran it over GalliardAltCC-Roman {fglra8a}. I've placed the results here:<br><blockquote style="margin: 1.5em 0pt;"></blockquote><div style="margin-left: 40px;"><a href="http://dl.getdropbox.com/u/471556/fonts/GalliardAltCC-Roman.ps">http://dl.getdropbox.com/u/471556/fonts/GalliardAltCC-Roman.ps</a><br>
</div><br>You can see the fj ligature sitting in slot j. ff, fi, fl, ffi & ffl are in slots V, W, X, Y & Z.<br><br>I also ran this over the Roman and OSF fonts, but the resulting .ps file only seems to contain the last 118 glyphs. (from emdash to zcaron) Why is that?<br>
<br>==<br><br>I have been able to insert the ff, ffi & ffl ligatures into the Roman by following <span class="gI">Dr. Rees</span>'s advice and using reglyphfonts. The relevant portions of my fontinst script are as follows:<br>
<br><br>%%%%%%%%<br>\transformfont{fglr8r}{\reencodefont{8r}{\fromafm{fglr8a}}} %Roman<br>\transformfont{fglri8r}{\reencodefont{8r}{\fromafm{fglri8a}}} %Italic<br>\transformfont{fglra8r}{\reencodefont{8r}{\fromafm{fglra8a}}} % Alt Roman<br>
\transformfont{fglria8r}{\reencodefont{8r}{\fromafm{fglria8a}}} % Alt Italic<br><br>\relax<br>\reglyphfonts<br> \renameglyph{ff}{V}<br> \renameglyph{ffi}{Y}<br> \renameglyph{ffl}{Z}<br> \renameglyph{fj}{j} % Useless for now, because t1.etx has no slot for this<br>
\reglyphfont{fglra}{fglra8r}<br> \reglyphfont{fglria}{fglria8r}<br>\endreglyphfonts<br><br><br>%these instructions use t1fgl.etx, which for now is an exact copy of t1.etx<br>\installfonts<br>\installfamily{T1}{fgl}{}<br>
\installfont{fglr8t}{fglr8r,fglra,newlatin}{t1fgl}{T1}{fgl}{m}{n}{}<br>\installfont{fglrc8t}{fglrc8r,fglr8r suffix lining,newlatin}{lining,t1fgl}{T1}{fgl}{m}{sc}{}<br>\installfont{fglri8t}{fglri8r,fglria,newlatin}{t1fgl}{T1}{fgl}{m}{it}{}<br>
\endinstallfonts<br><br>\installfonts<br>\installfamily{TS1}{fgl}{}<br>\installfont{fglr8c}{fglr8r,fglrc8r suffix oldstyle,textcomp}{ts1}{TS1}{fgl}{m}{n}{}<br>\installfontas{fglr8c}{TS1}{fgl}{m}{sc}{}<br>\installfont{fglri8c}{fglri8r,fglrij8r suffix oldstyle,textcomp}{ts1}{TS1}{fgl}{m}{it}{}<br>
\endinstallfonts<br><br>[...] % removed install commands for {fglj}<br><br>\endrecordtransforms<br>\bye<br>%%%%%%%%<br><br>Now, about the fj ligature...<br><br>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.<br>
<br>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. I then tried changing the above to use OT1, but got an error about missing {fgl} font.<br>
<br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">For the fj ligature, you have to iclude it in the 8r.enc vector. </blockquote>
<div><br>I'm afraid I don't understand what this means.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> If you don't have t1testpage but<br>
ghostscript and shell, you can do this in the fonts directory:<br>
<br>
gs -dBATCH -dNOPAUSE -sDEVICE=pswrite -sFONTPATH=. -sOutputFile=<a href="http://galliard.ps" target="_blank">galliard.ps</a> <a href="http://prfont.ps" target="_blank">prfont.ps</a> -c `grep FontName *afm | sed 's/^FontName \(.*\)$/\/\1 DoFont/'`</blockquote>
<div><br>Is the only part of this that needs to be replaced the FontName? What name do I use? The file name, or the name acording to what is stated in the afm file? I tried a few different settings, but the output was a blank page. <br>
</div></div><br>