diff options
Diffstat (limited to 'Master/texmf-dist/source/fonts/libris/t1-libris.etx')
-rw-r--r-- | Master/texmf-dist/source/fonts/libris/t1-libris.etx | 34 |
1 files changed, 24 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/fonts/libris/t1-libris.etx b/Master/texmf-dist/source/fonts/libris/t1-libris.etx index a9259f98312..9de24184299 100644 --- a/Master/texmf-dist/source/fonts/libris/t1-libris.etx +++ b/Master/texmf-dist/source/fonts/libris/t1-libris.etx @@ -1,4 +1,4 @@ -%% Modifications copyright 2008 Clea F. Rees +%% Modifications copyright 2010 Clea F. Rees %% Code from t1.etx copyright 2002 Alan Jeffrey and Sebastian %% Rahtz and Ulrik Vieth and Lars Hellstr{\"o}m (see below) %% @@ -36,8 +36,6 @@ %% maintenance etc. are replaced by this notice. %% - The file is renamed. %% - The encoding name is modified. -%% tinkered with by CFR -%% see original file for commentary \relax \encoding @@ -49,13 +47,29 @@ \setcommand\lctop#1#2{#2} \setcommand\uctop#1#2{#1} \setcommand\lclig#1#2{#2} +\ifisint{letterspacing}\then + \ifnumber{\int{letterspacing}}={0}\then \Else + \setcommand\uclig#1#2{#1spaced} + \comment{Here we set \verb|\uclig#1#2| to \verb|#1spaced|, but + you can't see it as \verb|\setcommand| commands are invisible in + the typeset output.} + \Fi +\Fi \setcommand\uclig#1#2{#1} \setcommand\digit#1{#1} \ifisint{monowidth}\then \setint{ligaturing}{0} \Else - \setint{ligaturing}{1} + % The following empty line is *important* to get the formatting + % right here (sigh)! (Remember that it is a \par token.) + + \ifisint{letterspacing}\then + \ifnumber{\int{letterspacing}}={0}\then \Else + \setint{ligaturing}{0} + \Fi + \Fi + \setint{ligaturing}{1} \Fi \setint{italicslant}{0} @@ -269,7 +283,7 @@ \ifnumber{\int{ligaturing}}<{0}\then \skipslots{1}\Else - \setslot{\lclig{TT}{tt}} + \setslot{\lclig{TT}{t_t}} \comment{The ligature `tt'. This slot is usually assigned to the perthousandzero but that letter is unavailable in this font.} \endsetslot @@ -291,7 +305,7 @@ \setslot{\lclig{FF}{ff}} \ifnumber{\int{ligaturing}}>{0}\then \ligature{LIG}{\lc{I}{i}}{\lclig{FFI}{ffi}} - \ligature{LIG}{\lc{J}{j}}{\lclig{FFJ}{ffj}} + \ligature{LIG}{\lc{J}{j}}{\lclig{FFJ}{f_f_j}} \ligature{LIG}{\lc{L}{l}}{\lclig{FFL}{ffl}} \Fi \comment{The `ff' ligature. It should be two characters wide in a @@ -632,7 +646,7 @@ \setslot{\lc{F}{f}} \ifnumber{\int{ligaturing}}>{0}\then \ligature{LIG}{\lc{I}{i}}{\lclig{FI}{fi}} - \ligature{LIG}{\lc{J}{j}}{\lclig{FJ}{fj}} + \ligature{LIG}{\lc{J}{j}}{\lclig{FJ}{f_j}} \ligature{LIG}{\lc{F}{f}}{\lclig{FF}{ff}} \ligature{LIG}{\lc{L}{l}}{\lclig{FL}{fl}} \Fi @@ -703,7 +717,7 @@ \setslot{\lc{T}{t}} \ifnumber{\int{ligaturing}}>{0}\then - \ligature{LIG}{\lc{T}{t}}{\lclig{TT}{tt}} + \ligature{LIG}{\lc{T}{t}}{\lclig{TT}{t_t}} \Fi \comment{The letter `{t}'.} \endsetslot @@ -811,7 +825,7 @@ \ifnumber{\int{ligaturing}}<{0}\then \skipslots{1}\Else -\setslot{\lclig{FJ}{fj}} +\setslot{\lclig{FJ}{f_j}} \comment{The `fj' ligature. It should be two characters wide in a monowidth font. In standard T1 encoding this slot is used for Eng/Ng but that character is unavailable in this font.} @@ -950,7 +964,7 @@ \ifnumber{\int{ligaturing}}<{0}\then \skipslots{1}\Else -\setslot{\lclig{FFJ}{ffj}} +\setslot{\lclig{FFJ}{f_f_j}} \comment{The `ffj' ligature. It should be two characters wide in a monowidth font. In standard T1 encoding this slot is used for eng/ng but that character is unavailable in this font.} |