summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/fontinst/latinetx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-08-28 17:52:47 +0000
committerKarl Berry <karl@freefriends.org>2009-08-28 17:52:47 +0000
commit9574391f1c92725d497fa2a84962aee68b5cbf25 (patch)
tree8c6a92468e9c6da565ed5da07c13c0c01187875f /Master/texmf-dist/tex/fontinst/latinetx
parent227ebe2cb5e11abb7e12b88ba66adc7735fa9570 (diff)
fontinst 1.933 (24aug09)
git-svn-id: svn://tug.org/texlive/trunk@14924 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/fontinst/latinetx')
-rw-r--r--Master/texmf-dist/tex/fontinst/latinetx/t1.etx44
1 files changed, 35 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/fontinst/latinetx/t1.etx b/Master/texmf-dist/tex/fontinst/latinetx/t1.etx
index 541211c8a14..e44ef1cdd1e 100644
--- a/Master/texmf-dist/tex/fontinst/latinetx/t1.etx
+++ b/Master/texmf-dist/tex/fontinst/latinetx/t1.etx
@@ -2,9 +2,9 @@
%%% @TeX-font-encoding-file{
%%% author = "Alan Jeffrey and Sebastian Rahtz and
%%% Ulrik Vieth and Lars Hellstr{\"o}m",
-%%% version = "1.923",
-%%% date = "2002-10-29",
-%%% time = "00:17:50 +01:00",
+%%% version = "1.932",
+%%% date = "2005-05-27",
+%%% time = "16:17:50 +02:00",
%%% filename = "t1.etx",
%%% email = "fontinst@tug.org",
%%% URL = "http://tug.org/applications/fontinst/",
@@ -130,11 +130,11 @@ value of this variable is interpreted as follows:
are the slots normally used for \texttt{c}, \texttt{f},
\texttt{s}, \texttt{i}, and \texttt{I}.
\end{enumerate}
-The default value is $0$ for monowidth fonts (because the ligature
-glyphs in such fonts are often useless) and $1$ otherwise. The
-negative values are useful when making fonts with a nonstandard
-set of ligatures; the idea is that some other (smaller) encoding file
-should set these remaining slots.
+The default value is $0$ for monowidth or letterspaced fonts (because
+the ligature glyphs in such fonts are often useless, or at least not
+looking right) and $1$ otherwise. The negative values are useful when
+making fonts with a nonstandard set of ligatures; the idea is that
+some other (smaller) encoding file should set these remaining slots.
\encoding
@@ -151,15 +151,33 @@ should set these remaining slots.
\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
+ % 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
+
\comment{The remaining code in this section sets various metric
parameters for the font. Ideally, all these parameters should already
have been set; the values computed here are merely crude guesses
@@ -1416,7 +1434,7 @@ This is one of the files which have been with \textsf{fontinst}
``forever'', so a lot of the early changes where probably never
recorded. The following are from the \texttt{CHANGES} file.
-1994/06/01 (v\,1.327): Removed the f-liagatures for monowidth fonts.
+1994/06/01 (v\,1.327): Removed the f-ligatures for monowidth fonts.
(ASAJ) Sebastian spotted that one.
1994/11/29 (v\,1.401): Added \texttt{hyphen}${}*{}$\texttt{hyphenchar}%
@@ -1447,6 +1465,14 @@ Changed definition of fontdimen 15 slightly---from ``the width of
capital vertical stems'' to ``the dominant width of vertical stems'',
which is provided in AFM files. (LH)
+2005/05/27 (v\,1.932): Modified defaults for |\uclig| and
+$\TypesetIntegerExpression{\int{ligaturing}}$ in fonts with
+letterspacing, to use \texttt{spaced} glyphs and not make ligatures
+respectively. (LH) Rationale (from discussion with Philipp Lehman):
+The non-\texttt{spaced} and ready-made ligature glyphs are often
+unnaturally cramped in comparison with other letterspaced character
+sequences. The system is probably overly complicated, but can be kept
+for historical reasons.
\end{document}