I would like to take this opportunity to thank you all. You've been extraordinarily helpful and patient with my questions!<br><br><br>Lars, I must not understand how to use your code. Do I put that in an .etx file like {t1fglalt.etx} and call it instead of t1? Like this:<br>
<br><div style="margin-left: 40px;">\installfont{fglr8t}{fglr8r,fglra,newlatin}{t1fglalt}{T1}{fgl}{m}{n}{}<br></div><br>The script then halts with the error:<br><br><div style="margin-left: 40px;">Reglyphed metrics written on fglria.mtx.<br>
(./fglr8r.mtx) (./fglra.mtx)<br>(/usr/share/texmf-texlive/tex/fontinst/latinmtx/newlatin.mtx<br>(/usr/share/texmf-texlive/tex/fontinst/latinmtx/llbuild.mtx<br>(/usr/share/texmf-texlive/tex/fontinst/latinmtx/ltcmds.mtx))<br>
(/usr/share/texmf-texlive/tex/fontinst/latinmtx/lubuild.mtx)<br>(/usr/share/texmf-texlive/tex/fontinst/latinmtx/lsbuild.mtx)<br>(/usr/share/texmf-texlive/tex/fontinst/latinmtx/lsfake.mtx)<br>(/usr/share/texmf-texlive/tex/fontinst/latinmtx/lsmisc.mtx)<br>
(/usr/share/texmf-texlive/tex/fontinst/latinmtx/ltpunct.mtx)) (./t1fglalt.etx<br>! Extra \fi.<br>l.1 \encoding<br></div><br>Even if I comment out all of the \nextslot and \setslot commands, the error is the same. How should I be using your code?<br>
<br>- - christopher<br><blockquote style="margin: 1.5em 0pt;"></blockquote><div class="gmail_quote">2009/4/28 Lars Hellström <span dir="ltr"><<a href="mailto:Lars.Hellstrom@residenset.net">Lars.Hellstrom@residenset.net</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Christopher Adams skrev:<div class="im"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If I want to make use of these ligatures, I need to reglyph them with unique<br>
names, write a new .etx file with the new names and the right rules, process<br>
these and then add the result to {fglr8t}? I see that I can't accomplish<br>
this with the single line that is now giving me the ff, ffl & ffi ligatures.<br>
</blockquote>
<br></div>
You need an ETX putting fj in some slot, and to use it instead of t1.etx for defining the wanted encoding of the virtual font. You could probably have one that goes<br>
<br>
\encoding<br>
\relax<br>
<br>
\setint{ligaturing}{-2}<br>
\inputetx{t1}<br>
<br>
\nextslot{73}<br>
\setslot{I}\endsetslot<br>
<br>
\nextslot{99}<br>
\setslot{c}\endsetslot<br>
<br>
\nextslot{102}<br>
\setslot{f}<br>
\ligature{LIG}{f}{ff}<br>
\ligature{LIG}{i}{fi}<br>
\ligature{LIG}{j}{fj}<br>
\ligature{LIG}{l}{fl}<br>
\endsetslot<br>
<br>
\nextslot{105}<br>
\setslot{i}\endsetslot<br>
<br>
\nextslot{115}<br>
\setslot{s}\endsetslot<br>
<br>
\nextslot{156}<br>
\setslot{fj}\endsetslot<br>
<br>
\nextslot{27}<br>
\setslot{ff}<br>
\ligature{LIG}{i}{ffi}<br>
\ligature{LIG}{l}{ffl}<br>
\endsetslot<br>
<br>
\setslot{fi}<br>
\endsetslot<br>
<br>
\setslot{fl}<br>
\endsetslot<br>
<br>
\setslot{ffi}<br>
\endsetslot<br>
<br>
\setslot{ffl}<br>
\endsetslot<br>
<br>
\endencoding<br>
<br>
(Untested, so there may be typos.) For simplicity I've assumed \lc, \lclig, \uc, etc. all have their default values; see t1.etx for how they are used there.<br>
<br>
Since all glyphs you want from the Alt fonts seem to be in a slot already, you don't need to make an ETX to reencode that.</blockquote><div><br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, Apr 27, 2009 at 8:03 PM, Plamen Tanovski <<a href="mailto:pgt@arcor.de" target="_blank">pgt@arcor.de</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The ff, ffl & ffi ligatures are encoded on the OldStyle fonts as cedilla,<br>
hungarumlaut & ogonek, respectively.<br>
</blockquote>
Madness. This means, all composite characters with those accents<br>
nonexistent in the font should be removed.<br>
<br>
</blockquote>
<br>
Yes, I had noticed this when I first got my hands on the typeface, and was<br>
testing out the glyphs by outputting all possible values of \char. These<br>
ligatures were being composited as if they were diacritical marks. This is<br>
only true of the OldStyle-Roman. The plain Roman doesn't have any strange<br>
encodings.<br>
</blockquote>
<br></div>
The \reglyphfont approach is superior in this aspect, since it doesn't just define the glyphs under their proper names but also doesn't define them under incorrect names.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
ITC Galliard was first issued in 1992. I believe the method of encoding<br>
assumes that typesetters will switch fonts manually when they want access to<br>
alternate glyphs.<br>
</blockquote>
<br></div>
In part, yes, but some (most?) popular font editors back then didn't care much about the glyph names either; you typically arranged glyphs by slot and got the name that (according to the default encoding) belonged in that slot. Since the typical word processor on top of the OS's graphics and printing libraries never bothered with glyph names, most users never noticed things were broken.<br>
<font color="#888888">
<br>
Lars Hellström<br>
</font></blockquote></div><br>