summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/newtx/implementation.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-07-13 23:17:17 +0000
committerKarl Berry <karl@freefriends.org>2012-07-13 23:17:17 +0000
commit1dc1616ebcf1c314a5a546725898542810280310 (patch)
treeb6bb04ca37616bccdf67552f5afd6c200a3ec279 /Master/texmf-dist/doc/fonts/newtx/implementation.tex
parent50b580f0458334eb21a6441d314893e79dc206ea (diff)
newtx 1.00 (3jul12)
git-svn-id: svn://tug.org/texlive/trunk@27033 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/newtx/implementation.tex')
-rw-r--r--Master/texmf-dist/doc/fonts/newtx/implementation.tex77
1 files changed, 59 insertions, 18 deletions
diff --git a/Master/texmf-dist/doc/fonts/newtx/implementation.tex b/Master/texmf-dist/doc/fonts/newtx/implementation.tex
index 2278c6d1204..05afff8b2a3 100644
--- a/Master/texmf-dist/doc/fonts/newtx/implementation.tex
+++ b/Master/texmf-dist/doc/fonts/newtx/implementation.tex
@@ -38,7 +38,21 @@ we force the slots in {\tt rtxmi} to be interpreted using the names in {\tt oml.
The original version of \textsf{txfonts} made use of whatever Times font was installed in \TeX\ Live, and as a non-free font, it was not available for modification. In this updated version, we use instead the alphabetic glyphs from TeXGyreTermes or LinLibertine, each of which presents no licensing issues. This allows us to make optical sizes of the math italic and symbol fonts, with a boost to the appearance and readability of subscripts, sub-subscripts and superscripts. (Unfortunately the STIX math italic letters are much heavier than Times, by nearly 15\% in stem thickness of uppercase letters, and do not make a good substitute.)
\section{Converting Libertine}
-Making Libertine text italic and Greek glyphs into math italic and Greek glyphs requires some preparation. The regular 10{\tt pt} size is no problem---there is a tfm in the \TeX Live ditribution named {\tt fxlri-8r.tfm} which provides the font in {\tt 8r} encoding, which of course includes all the Roman letters. To get an equivalent for 7{\tt pt} and 5{\tt pt} requires us to open the original {\tt fxlri.{pfb,afm}} in FontForge and subject them to the two stages of thickening and extending described above. The result should be
+Making Libertine text italic and Greek glyphs into math italic and Greek glyphs requires some preparation. In a number of cases, we want to substitute (virtually) Greek glyphs from Libertine into a math italic (or mia) font. As the Greek glyphs are not encoded, we proceed as follows:
+\begin{verbatim}
+afm2tfm fxlri -T libertinealt.enc -v fxlri-alt rfxlri-alt
+\end{verbatim}
+which creates {\tt rfxlri-alt.tfm} and {\tt fxlri-alt.vpl} containing the Greek glyphs in the order they should be for \TeX, and which outputs, for the map file, the line
+\begin{verbatim}
+rfxlri-alt LinLibertineI " LibertineAltEncoding ReEncodeFont " <libertinealt.enc
+\end{verbatim}
+and then
+\begin{verbatim}
+tftopl rfxlri-alt rfxlri-alt
+\end{verbatim}
+makes {\tt rfxlri-alt.pl}, from which \textsf{fontinst} may construct {\tt rfxlri-alt.mtx}. The other {\tt -alt} versions were constructed in a similar manner.
+
+There is a tfm in the \TeX Live distribution named {\tt fxlri-8r.tfm} which provides the {\tt fxlri} in {\tt 8r} encoding, which of course includes all the Roman letters. To get an equivalent for 7{\tt pt} and 5{\tt pt} requires us to open the original {\tt fxlri.{pfb,afm}} in FontForge and subject them to the two stages of thickening and extending described above. The result should be
\begin{verbatim}
fxlri-7letters.{pfb,afm}
fxlri-5letters.{pfb,afm}
@@ -49,15 +63,15 @@ from which we produce four corresponding tfm files using, eg,
\begin{verbatim}
afm2tfm fxlri-7letters
\end{verbatim}
-which must be referenced in the {\tt libertinealt.map} file with four lines like
+which must be referenced in the {\tt ntx.map} file with four lines like
\begin{verbatim}
fxlri-7letters LinLibertineI7 <fxlri-7letters.pfb
\end{verbatim}
The same fonts are now used with a different encoding to tease out Greek letters and some other unencoded glyphs like alternate versions of J, g, v and y. Note that these are not available in the semibold font---we have to resort to other tricks for that. First, run four commands similar to
\begin{verbatim}
-afm2tfm fxlri-7letters -T libertinealt.enc -v fxlri-7alt fxlri-7alt
+afm2tfm fxlri-7letters -T libertinealt.enc -v fxlri-7alt
\end{verbatim}
-
+which produces {\tt fxlri-7alt.tfm} (must be referenced in the map file) and {\tt fxlri-7alt.vpl} which will be used only in the creation of the virtual font {\tt nxlmi7.{tfm,vf} by \textsf{fontinst}.
\subsection{Making bold J and bold v}
These glyphs are missing in \textsf{fxlzi.pfb}, the semibold Linux Libertine that matched bold TX better than bold Linux Libertine, which seems to be a quite different font, more like bold Palatino. So, we take the Jcircumflex glyph and remove the circumflex to make a J and take the v.alt glyph from \textsf{fxlri} and embolden it by 40{\tt em} to make a bold version of the math italic v. From this next font \textsf{fxlzi-jv.pfb} with just two glyphs, we make a tfm with
\begin{verbatim}
@@ -76,22 +90,9 @@ and then, for each {\tt.tfm}, make a {\tt .pl} with
tftopl fxlzi-jv fxlzi-jv
\end{verbatim}
and so on.
-\subsection{Making -alt fonts} In a number of cases, we want to substitute (virtually) Greek glyphs from Libertine into a math italic (or mia) font. As the Greek glyphs are not encoded, we proceed as follows:
-\begin{verbatim}
-afm2tfm fxlri -T libertinealt.enc -v fxlri-alt rfxlri-alt
-\end{verbatim}
-which creates {\tt rfxlri-alt.tfm} and {\tt fxlri-alt.vpl} containing the Greek glyphs in the order they should be for \TeX, and which outputs, for the map file, the line
-\begin{verbatim}
-rfxlri-alt LinLibertineI " LibertineAltEncoding ReEncodeFont " <libertinealt.enc
-\end{verbatim}
-and then
-\begin{verbatim}
-tftopl rfxlri-alt rfxlri-alt
-\end{verbatim}
-makes {\tt rfxlri-alt.pl}, from which \textsf{fontinst} may construct {\tt rfxlri-alt.mtx}. The other {\tt -alt} versions were constructed in a similar manner.
\section{Files in the distribution}
-This list is current as of May 31, 2012. The following abbreviations are used in the remarks:\\
+This list is current as of June 13, 2012. The following abbreviations are used in the remarks:\\
\textbf{FF} means FontForge;\\
\textbf{EW} means ``thicken vertical stems by 8\% and extend width by a further 7\% using FontForge'';\\
\textbf{EW}${}^2$ means ``perform EW twice''.
@@ -257,6 +258,42 @@ This list is current as of May 31, 2012. The following abbreviations are used in
1160&May&18&15:52&txbsy7.tfm& from txbsy7.pfb\\
1172&May&18&16:03&txsy5.tfm& from txsy5.pfb\\
1156&May&18&15:52&txsy7.tfm& from txsy7.pfb\\
+6812&Apr&22&15:16&t1xbij.tfm& items below (suffix j) from tx with osf\\
+2152&Apr&22&15:16&t1xbij.vf\\
+6892&Apr&22&15:18&t1xbj.tfm\\
+2176&Apr&22&15:18&t1xbj.vf\\
+7136&Apr&22&15:13&t1xbslj.tfm\\
+2184&Apr&22&15:13&t1xbslj.vf\\
+6956&Apr&22&15:17&t1xij.tfm\\
+2148&Apr&22&15:17&t1xij.vf\\
+6716&Apr&22&13:56&t1xrj.tfm\\
+2168&Apr&22&13:56&t1xrj.vf\\
+6928&Apr&22&15:14&t1xslj.tfm\\
+2184&Apr&22&15:14&t1xslj.vf\\
+2524&Apr&22&15:16&txbij.tfm\\
+936&Apr&22&15:16&txbij.vf\\
+2452&Apr&22&15:18&txbj.tfm\\
+932&Apr&22&15:18&txbj.vf\\
+2680&Apr&22&15:14&txbslj.tfm\\
+940&Apr&22&15:14&txbslj.vf\\
+2584&Apr&22&15:17&txij.tfm\\
+936&Apr&22&15:17&txij.vf\\
+2408&Apr&22&13:55&txrj.tfm\\
+932&Apr&22&13:55&txrj.vf\\
+2636&Apr&22&15:14&txslj.tfm\\
+936&Apr&22&15:14&txslj.vf\\
+4428&Apr&22&15:16&tyxbij.tfm\\
+1744&Apr&22&15:16&tyxbij.vf\\
+4520&Apr&22&15:18&tyxbj.tfm\\
+1740&Apr&22&15:18&tyxbj.vf\\
+4724&Apr&22&15:13&tyxbslj.tfm\\
+1748&Apr&22&15:13&tyxbslj.vf\\
+4424&Apr&22&15:17&tyxij.tfm\\
+744&Apr&22&15:17&tyxij.vf\\
+4332&Apr&22&13:56&tyxrj.tfm\\
+11740&Apr&22&13:56&tyxrj.vf\\
+4536&Apr&22&15:15&tyxslj.tfm\\
+1744&Apr&22&15:15&tyxslj.vf\\
\bottomrule
\end{longtable}
\end{center}
@@ -295,6 +332,10 @@ This list is current as of May 31, 2012. The following abbreviations are used in
558&Apr&30&17:30&untxsyb.fd& font definitions for newtxmath AMSb\\
558&Apr&30&17:30&untxsyc.fd& font definitions for newtxmath symbolsC\\
1460&Apr&30&17:30&untxtt.fd& font definitions for newtx typewriter\\
+1421&Apr&22&15:36&ly1ntxrj.fd& font definitions for LY1 newtx, osf\\
+1432&Apr&22&15:37&ot1ntxrj.fd& font definitions for OT1 newtx, osf\\
+1404&Apr&22&15:35&t1ntxrj.fd& font definitions for T1 newtx, osf\\
+1487&Apr&22&12:57&ts1ntxrj.fd& font definitions for TS1 newtx, osf\\
\bottomrule
\end{longtable}
\end{center}