[gentium-commits] [SCM] gentium updated: r158 - trunk/gentium/doc/fonts/gentium-tug/gentium- [more]

Pavel Farar INVALID.NOREPLY at gnu.org.ua
Tue May 30 21:09:02 CEST 2023


Author: pavel
Date: 2023-05-30 19:09:02 +0000 (Tue, 30 May 2023)
New Revision: 158

Modified:
   trunk/gentium/doc/fonts/gentium-tug/gentium-tug/gentium.pdf
   trunk/gentium/doc/fonts/gentium-tug/gentium-tug/gentium.tex
Log:
Add info about using TrueType fonts with pdfTeX

- The file gentium.pdf contains the original Gentium fonts in
  TrueType format to show that it works.


Modified: trunk/gentium/doc/fonts/gentium-tug/gentium-tug/gentium.pdf
===================================================================
(Binary files differ)

Modified: trunk/gentium/doc/fonts/gentium-tug/gentium-tug/gentium.tex
===================================================================
--- trunk/gentium/doc/fonts/gentium-tug/gentium-tug/gentium.tex	2022-05-31 22:20:57 UTC (rev 157)
+++ trunk/gentium/doc/fonts/gentium-tug/gentium-tug/gentium.tex	2023-05-30 19:09:02 UTC (rev 158)
@@ -183,6 +183,37 @@
 \path{gentium.pdf}.
 
 
+\subsection{Using original TrueType fonts with pdfTeX}
+
+The standard and safe way is using Type~1 fonts. However, you may prefer the
+original TrueType fonts.
+
+The engine \pdfTeX\ supports both Type~1 and TrueType fonts and the package
+\pkgname{gentium-tug} gives you the choice to use either the original TrueType
+fonts or the converted Type~1 version.
+
+Commands \verb|updmap-sys| or \verb|updmap| can enable and disable the TrueType
+or Type~1 version of some font. The files \verb|gentium-type1.map| and
+\verb|gentium-truetype.map| are used to select these fonts.
+
+The default is using the Type~1 fonts and activating the TrueType fonts
+consists of two steps. 
+
+First, you disable the Type~1 fonts with:
+
+\begin{verbatim}
+updmap-sys --disable gentium-type1.map
+\end{verbatim}
+
+After this command,  you can't create documents with Gentium fonts.
+
+Second, you enable the TrueType fonts:
+
+\begin{verbatim}
+updmap-sys --enable Map=gentium-truetype.map
+\end{verbatim}
+
+
 \section{Gentium \TeX\ support packages}\label{sec:support}
 
 In general, for \LaTeX\ it suffices to include \verb|\usepackage{gentium}|



More information about the gentium-commits mailing list.