[gentium-commits] [SCM] gentium updated: r141 - trunk/gentium/doc/fonts/gentium-tug/gentium- [more]
Karl Berry
INVALID.NOREPLY at gnu.org.ua
Thu May 19 19:50:08 CEST 2022
Author: karl
Date: 2022-05-19 17:50:08 +0000 (Thu, 19 May 2022)
New Revision: 141
Modified:
trunk/gentium/doc/fonts/gentium-tug/gentium-tug/ChangeLog
trunk/gentium/doc/fonts/gentium-tug/gentium-tug/Makefile
trunk/gentium/doc/fonts/gentium-tug/gentium-tug/gentium.pdf
trunk/gentium/doc/fonts/gentium-tug/gentium-tug/gentium.tex
Log:
tweak \LaTeX logo with metalogo, regenerate pdf
Modified: trunk/gentium/doc/fonts/gentium-tug/gentium-tug/ChangeLog
===================================================================
--- trunk/gentium/doc/fonts/gentium-tug/gentium-tug/ChangeLog 2022-05-18 14:11:49 UTC (rev 140)
+++ trunk/gentium/doc/fonts/gentium-tug/gentium-tug/ChangeLog 2022-05-19 17:50:08 UTC (rev 141)
@@ -9,11 +9,11 @@
GentiumPlus-* directory. Please consult it for a full record of changes
to the fonts.
-2022-05-13
+2022-05-19
- numerous changes for the Gentium Plus 6.101 release. We are now
distributing Type 1's for the GentiumPlus-* and GentiumBookPlus-*
- fonts, eight fonts in all. Removed vestiges of previously-distributed
- fonts. (Pavel)
+ fonts, eight fonts in all. Remove vestiges of previously-distributed
+ fonts. (Pavel) Update manual. (Pavel/Karl)
2022-05-09
- adapt Ruby scripts that create the TeX support files for the new fonts.
Modified: trunk/gentium/doc/fonts/gentium-tug/gentium-tug/Makefile
===================================================================
--- trunk/gentium/doc/fonts/gentium-tug/gentium-tug/Makefile 2022-05-18 14:11:49 UTC (rev 140)
+++ trunk/gentium/doc/fonts/gentium-tug/gentium-tug/Makefile 2022-05-19 17:50:08 UTC (rev 141)
@@ -3,8 +3,9 @@
# It is licensed under the Expat License, see doc//README for details.
env = TEXMFHOME=../../../..
+texfot = texfot
gentium.pdf: gentium.tex
- $(env) pdflatex '\nonstopmode\pdfsuppresswarningdupmap=1\pdfmapfile{+gentium-type1.map}\input $<'
+ $(env) $(texfot) pdflatex '\nonstopmode\pdfsuppresswarningdupmap=1\pdfmapfile{+gentium-type1.map}\input $<'
# read the map file for running out of the development tree,
# without having the package installed, necessarily.
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-18 14:11:49 UTC (rev 140)
+++ trunk/gentium/doc/fonts/gentium-tug/gentium-tug/gentium.tex 2022-05-19 17:50:08 UTC (rev 141)
@@ -5,24 +5,30 @@
% This file is part of the Gentium package for TeX.
% It is licensed under the Expat License, see doc//README for details.
-\documentclass[11pt, welsh, british]{article}
+\documentclass[12pt, welsh, british]{article}
+
+\usepackage{metalogo}
+%\setLaTeXa{\scshape a} % the small caps A is sadly too wide for this
+\setlogokern{La}{-.28em}% default -.36em
+\setlogokern{aT}{-.12em}% default -.15em
+%
+% \TeX looks ok, but since we have to fix \LaTeX, might as well tweak \TeX
+\setlogodrop[TeX]{.45ex}% default .5ex
+
\usepackage{babel}
-\usepackage[utf8x]{inputenc}
+\usepackage[utf8x]{inputenc} % running with pdftex
\usepackage[T1]{fontenc}
\usepackage{gentium}
-\renewcommand{\ttdefault}{lmvtt}
+%\renewcommand{\ttdefault}{lmvtt} % variable tt seems indistinct from text
\usepackage{fancyhdr,lastpage,fancyref}
\usepackage{array,longtable,verbatim}
\usepackage{booktabs}
\usepackage{multirow}
-\usepackage{url}
- \urlstyle{tt}
-\usepackage[breaklinks,colorlinks,
- linkcolor=black,citecolor=black,urlcolor=black]
- {hyperref}
-%\usepackage{microtype}
-\usepackage[a4paper,headheight=14pt,scale=0.8]{geometry}
- % use 14pt for 11pt text, 15pt for 12pt text
+\usepackage{url}\urlstyle{tt}
+\usepackage[hidelinks,pdfa]{hyperref}
+%\usepackage{microtype} % let the fonts be as they are.
+\usepackage[a4paper,headheight=15pt,scale=0.8]{geometry}
+ % use headheight=14pt for 11pt text, 15pt for 12pt text
\title{Gentium for \TeX}
\author{Mojca Miklavec \and Pavel Farář
@@ -59,7 +65,7 @@
/Author (Pavel Farář, Mojca Miklavec, Clea F.\ Rees, Thomas A. Schmitz, Karl Berry)
/Title (Gentium for TeX)
/Subject (TeX)
- /Keywords (TeX,LaTeX,ConTeXt,font,fonts,tex,latex,gentium,GentiumPlus,GentiumBasic,Gentium,SIL,sil)}
+ /Keywords (TeX,LaTeX,ConTeXt,font,fonts,tex,latex,gentium,GentiumPlus,GentiumBookPlus,Gentium,SIL)}
\pdfcatalog{%
/URL ()
/PageMode /UseOutlines}
@@ -75,8 +81,8 @@
\newcommand*{\pkgname}[1]{\textsf{#1}}
\newcommand*{\fname}[1]{\textsf{#1}}
-\begin{abstract}
- \hspace*{-\parindent}This document outlines the
+\begin{abstract}\raggedright\noindent
+ This document briefly describes the
\TeX/\LaTeX/\ConTeXt\ support provided by this
package, \pkgname{gentium-tug}, for the Gentium font collection
released by \sil.
@@ -84,9 +90,13 @@
\tableofcontents
-
\section{Introduction}
+% logo debugging
+%{\Huge\LaTeX\quad \huge\LaTeX\quad \LARGE\LaTeX\quad \Large\LaTeX\quad
+% \large\LaTeX \\\normalsize\LaTeX\quad \small\LaTeX\quad
+% \footnotesize\LaTeX\quad \scriptsize\LaTeX\quad \tiny\LaTeX}
+
This document explains how to use the \TeX/\LaTeX/\ConTeXt\ support in
the present package for the Gentium font collection developed by \sil.
This package includes fonts in PostScript Type~1 format converted from
@@ -123,11 +133,12 @@
\section{Gentium collection background}
This package uses the original GentiumPlus 6.101 fonts (families
-GentiumPlus and GentiumBookPlus). These two families together can be
-considered as one super-family containing four different weights.
+GentiumPlus and GentiumBookPlus, four fonts each). These two families
+together can be considered as one super-family containing eight
+different weights.
-GentiumPlus is a serif family designed to support a wide range of Latin,
-Greek and Cyrillic characters.
+GentiumPlus is a seriffed design. The fonts support a wide range of
+Latin, Greek and Cyrillic characters.
This package does not use the Berry fontname scheme, but longer names
similar to those of Latin Modern, etc. One disadvantage of this choice
@@ -152,7 +163,7 @@
engines.
\end{enumerate}
-However, that's all that it makes sense to say here. It's beyond the
+That's all that makes sense to say here. It's beyond the
scope of this Gentium documentation to explain all the myriad ways in
which \TeX-world map files can be installed and used; there are
differences between \TeXLive\ and \MiKTeX, too.
@@ -164,12 +175,13 @@
\url{https://tug.org/fonts/fontinstall-personal.html}.
Those pages describe using \path{testfont.tex} for a basic test of the
-font; a tfm file name to use with that is \url{ec-gentiumplus-regular}.
+font; a sample tfm file name to use with that is
+\url{ec-gentiumplus-regular}.
To further test your installation and that the package works on your
-system, run \LaTeX\ on this \path{gentium.tex} source file. (You'll
-need some commonly-available \LaTeX\ packages too, or comment them at.)
-The console output and/or log should tell you whether any fonts were not
+system, run \LaTeX\ on this \path{gentium.tex} source file. (You'll need
+some commonly-available \LaTeX\ packages too, or comment them out.) The
+console output and/or log should tell you whether any fonts were not
found. You can also compare your output with the original
\path{gentium.pdf}.
@@ -178,12 +190,17 @@
In short, for \LaTeX\ it suffices to include \verb|\usepackage{gentium}|
in your document preamble, and for \ConTeXtMKIV,
-\verb|\setupbodyfont[gentium]|. Details follow.
+\verb|\setupbodyfont[gentium]|. More details follow.
-The only prerequisite is that the \LaTeX\ package (\path{gentium.sty})
-requires \pkgname{xkeyval}, which you almost certainly already have.
+Alternatively, you can do \verb|\usepackage{gentiumbook}| to load the
+GentiumBookPlus fonts for your document, instead of GentiumPlus. The
+most noticeable difference is that the Book fonts are a lighter weight.
+The only prerequisite is that the \LaTeX\ packages (\path{gentium.sty},
+\path{gentiumbook.sty}) require \pkgname{xkeyval}, which you almost
+certainly already have.
+
\subsection{Encodings}\label{sec:encs}
The package supports not only the most common Latin encodings such as
@@ -212,7 +229,7 @@
The Latin and Cyrillic encodings support also small caps.
-Cork/T1 encoding lacks visible space, cwm (compound work mark),
+Cork/T1 encoding lacks visible space, cwm (compound word mark),
SS and the character for composing permille sign.
@@ -235,7 +252,17 @@
\usepackage[scaled=0.9]{gentium}
\end{verbatim}
+The default definition of the \LaTeX\ logo does not work well with
+Gentium (\TeX\ does not look too bad by default, though). This document
+modifies the logo using the \pkgname{metalogo} package as follows:
+\begin{verbatim}
+\usepackage{metalogo}
+\setlogokern{La}{-.28em}% default -.36em
+\setlogokern{aT}{-.12em}% default -.15em
+\setlogodrop[TeX]{.45ex}% default .5ex
+\end{verbatim}
+
\subsection{\ConTeXt}
\label{sec:context-package}
@@ -259,14 +286,14 @@
\subsection{Changes in the Type~1 fonts vs.\ the TrueType originals}
The shapes of all characters in the Type~1 fonts are the same as in the
-original TrueType fonts, except for the unavoidable changes are induced
+original TrueType fonts, except for the unavoidable changes induced
by the format conversion (that is, the spline representations are
necessarily different).
However, a few small changes---hopefully improvements---were made to the
-metrics of the GentiumPlus family. The Type~1 fonts are used to generate the
-\TeX\ font metric files (tfm), so these changes propagate to the 8-bit
-engines like \pdfTeX.
+kerns in the GentiumPlus family. The Type~1 fonts are used to generate
+the \TeX\ font metric files (tfm), so these changes propagate to the
+8-bit engines like \pdfTeX.
The first change concerns Greek. 8-bit Greek encodings (LGR and AGR) do
not use precomposed accented capital letters. These letters are composed
@@ -300,13 +327,13 @@
changes automatically if you use 8-bit engines. If you use Unicode
engines with the original TrueType fonts, you get the original
metrics. However, you can tell the Unicode engines to use the Type~1
-fonts (which append \verb|PS| to the family name) like this:
+fonts (which, again, append \verb|PS| to the family name) like this:
\begin{verbatim}
\usepackage{fontspec}
\setmainfont{GentiumPlusPS}
\end{verbatim}
Then you get the additional kern pairs for dcaron and lcaron. The
-unfortunately disadvantage is that you cannot use small caps.
+regrettable disadvantage is that you cannot use small caps.
The last (similar) change is that additional kerning pairs were added to
the Type~1 fonts for accented Latin letters and small caps. The original
@@ -336,18 +363,18 @@
the capital ones.
-\section{License}
+\section{Licenses}
The fonts in this page, both the \sil\ originals and the derived Type~1
versions, are released under \textsc{ofl}. The \TeX\ support files
are licensed under the Expat License. Here are the full license texts.
-
+\begin{raggedright}\small % no hyphenation
\subsection{SIL Open Font License}
-\hfuzz=1.4pt
+%\hfuzz=1.4pt
-Copyright (c) 2003-2011 SIL International (https://www.sil.org/),
+Copyright (c) 2003-2022 SIL International (https://www.sil.org/),
with Reserved Font Names ``Gentium'' and ``SIL''.
This Font Software is licensed under the SIL Open Font License, Version 1.1.
@@ -456,7 +483,7 @@
\subsection{Expat License}
-Copyright (c) 2008-2019 TeX Users Group
+Copyright (c) 2008-2022 TeX Users Group
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -477,6 +504,8 @@
tort or otherwise, arising from, out of or in connection with the
software or the use or other dealings in the software.}
+\end{raggedright}
+\end{document}
% OT1 is the same for regular and italic style (like TeX Gyre, unlike
@@ -529,4 +558,3 @@
% Loading \path{gentium.sty} does not affect the setup for
% mathematics.
-\end{document}
More information about the gentium-commits
mailing list.