texlive[73612] Master/texmf-dist: yfonts-otf (27jan25)
commits+karl at tug.org
commits+karl at tug.org
Mon Jan 27 21:50:46 CET 2025
Revision: 73612
https://tug.org/svn/texlive?view=revision&revision=73612
Author: karl
Date: 2025-01-27 21:50:46 +0100 (Mon, 27 Jan 2025)
Log Message:
-----------
yfonts-otf (27jan25)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/fonts/yfonts-otf/Erlkonig.pdf
trunk/Master/texmf-dist/doc/fonts/yfonts-otf/README.md
trunk/Master/texmf-dist/doc/fonts/yfonts-otf/yfonts-otf.ltx
trunk/Master/texmf-dist/doc/fonts/yfonts-otf/yfonts-otf.pdf
trunk/Master/texmf-dist/fonts/opentype/public/yfonts-otf/yfrak.otf
trunk/Master/texmf-dist/fonts/opentype/public/yfonts-otf/ygoth.otf
trunk/Master/texmf-dist/fonts/opentype/public/yfonts-otf/yswab.otf
trunk/Master/texmf-dist/tex/latex/yfonts-otf/yfonts-otf.sty
Modified: trunk/Master/texmf-dist/doc/fonts/yfonts-otf/Erlkonig.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/fonts/yfonts-otf/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/yfonts-otf/README.md 2025-01-27 20:50:30 UTC (rev 73611)
+++ trunk/Master/texmf-dist/doc/fonts/yfonts-otf/README.md 2025-01-27 20:50:46 UTC (rev 73612)
@@ -49,13 +49,13 @@
only rlig, liga (and hlig for ygoth only) are used.
- Ligature tz was missing in yswab.otf, added now.
- Hungarian Umlaut was missing in yfrak.otf and yswab.otf, added now.
- - The s variant (long/short) is chosen automatically (code borrowed from
- Unifraktur Maguntia).
+ - The s variant (long/short) is chosen automatically (feature +ss11
+ borrowed from Unifraktur Maguntia).
* v0.42:
- Added characters ÀÁÄÈÉËÌÍÏÒÓÖÙÚÜ (uppercase of all available lowercase
characters); Ä->Ae, Ö->Oe, Ü->Ue.
- - ygoth.otf: fixed right bearing of the longs variants.
- Missing Ligatures longs_i added for the long s and its variant.
+ - ygoth.otf: fixed right bearing of the long-s variants.
+ Missing Ligatures longs_i added for the long-s and its variant.
- yfonts-otf.sty: \char"200C deleted in \longs definition so that
\longs\longs prints the ligature ſ_ſ.
- Documentation fixes.
@@ -64,7 +64,13 @@
- yswab.otf: features "cv01" and "cv02" added (variants for "!" and "?").
- ygoth.otf: feature "Alternate=1" renamed "StylisticSet=1" as it didn't
work with XeLaTeX. Fixed inconsistent bearings.
+* v0.50:
+ - ygoth.otf: feature "StylisticSet=1" is now stand-alone (it replaces
+ "StylisticSet=11" when the long-s variant is required).
+ "cv01" added for ygoth.otf (long-s -> long-s variant substitution).
+ - yfrak.otf and yswab.otf: added accented glyphs for French and other
+ West European languages, changed %, & and quotes (formerly from cmr).
---
-Copyright 2022- Daniel Flipo
+Copyright 2022-2025 Daniel Flipo
E-mail: daniel (dot) flipo (at) free (dot) fr
Modified: trunk/Master/texmf-dist/doc/fonts/yfonts-otf/yfonts-otf.ltx
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/yfonts-otf/yfonts-otf.ltx 2025-01-27 20:50:30 UTC (rev 73611)
+++ trunk/Master/texmf-dist/doc/fonts/yfonts-otf/yfonts-otf.ltx 2025-01-27 20:50:46 UTC (rev 73612)
@@ -1,5 +1,4 @@
-\RequirePackage{pdfmanagement-testphase}
-\DeclareDocumentMetadata{pdfstandard=A-2b, lang=en-GB}
+\DocumentMetadata{pdfstandard=A-2b, lang=en-GB}
\documentclass[paper=a4]{scrartcl}
% Packages
\usepackage{graphics, array}
@@ -40,7 +39,7 @@
\title{OpenType version of yfonts for Old German}
\author{\href{mailto:daniel.flipo at free.fr}{Daniel \textsc{Flipo}}}
-\newcommand*{\version}{0.43}
+\newcommand*{\version}{0.50}
\begin{document}
\maketitle
@@ -75,7 +74,7 @@
commands with arguments |\textgoth{}|, |\textfrak{}|, and |\textswab{}|.
All three families are loaded with all ligatures activated, an |s|
-automatically prints a long~\textfrak{\longs} (initial and middle form) or a
+automatically prints a long~\textfrak{ſ} (initial and middle form) or a
round~{\frakfamily{s\hspace{1sp}}} (final form)%
\footnote{See section~\ref{sec:long-s} for details.}.
Coding |"a|, |"e|, |"o|, |"u|, |"s| is only supported through Babel’s
@@ -84,7 +83,7 @@
|ë|, |ö|, |ü| and |ß|, so typing them directly is a better alternative.
In the \family{yfrak} family, the command |\etc| prints {\etc}
-a variant of the \textfrak{u\longs{}w} abbreviation while |\Jvar| prints {\Jvar}
+a variant of the \textfrak{uſw} abbreviation while |\Jvar| prints {\Jvar}
a variant of \textfrak{J} (suggestion of Daniel Sanders, mentioned by Yannis).
The OpenType feature |Alternate=0| turns \textfrak{ä, ë, ö, ü} into
@@ -99,17 +98,18 @@
and {\swabfamily ?} into {\swabfamily\addfontfeature{CharacterVariant=2}?}.
Used with the \family{ygoth} family, the |StylisticSet=1| (|+ss01|)
-feature provides variants for the long~s and the derived ligatures:
-{\gothfamily \longs, \longs\longs, ssi, st} are turned into
-{\gothfamily\addfontfeature{StylisticSet=1} \longs, \longs\longs, ssi, st}.
+feature provides variants for the long~s and its ligatures:
+{\gothfamily ſ, ſi, ſſ, ſſi, ſt} are turned into
+{\gothfamily\addfontfeature{CharacterVariant=1} ſ, ſi, ſſ, ſſi, ſt}.
\pagebreak[4]
These features can be added locally anywhere in the document body, f.i.:\\
|\frakfamily\addfontfeature{Alternate=0}|\\
-or using \pkg{yfonts-otf.sty}’s options |varumlaut| and
-|gothvarlongs|, f.i.:\\
-|\usepackage[varumlaut]{yfonts-otf}|\\
-which applies globally to both \family{yfrak} and \family{yswab} families.
+or using \pkg{yfonts-otf.sty}’s options \opt{varumlaut} and
+\opt{gothvarlongs}, f.i.:\\
+|\usepackage[varumlaut,gothvarlongs]{yfonts-otf}|\\
+\opt{varumlaut} applies globally to both \family{yfrak} and \family{yswab}
+families, \opt{gothvarlongs} applies only to \family{ygoth} family.
It is also possible to use these fonts without loading \pkg{yfonts-otf.sty},
then I recommend to call them by \emph{file name}, as XeTeX cannot find fonts in
@@ -122,7 +122,7 @@
\section{Coding the long/round s}
\label{sec:long-s}
-The traditional German rules for long ({\frakfamily\longs\kern1pt}) and
+The traditional German rules for long ({\frakfamily ſ\kern1pt}) and
round ({\frakfamily\shorts}) are somewhat complex,
a summary can be found in the Unifraktur Maguntia Manual
(\file{Dokumentation\_en\_fraktur.pdf}, \cite{UF}).
@@ -131,21 +131,31 @@
fonts. It uses OpenType features (|ss11|), according to the authors it fails
in less than 1~\% of the occurences.
When the algorithm fails, it is possible to force a round s
-(coding |s=| or |\shorts|) or a long ſ (coding {\ColorVerb ſ}\,%
+(coding |s=| or |\shorts|) or a long~ſ (coding {\ColorVerb ſ}\,%
\footnote{On Unix systems the \opt{Compose} key can be used:
\opt{Compose f s}.}
or |\longs|).
-An alias is provided for this feature:
-|Style=longs| is the same as |StylisticSet=11| or |RawFeature=+ss11|.
+Loading the \pkg{yfonts-otf} package activates the |ss11|
+feature unless option \opt{gothvarlongs} is added, then the |ss01| is
+activated instead (together with |cv01|) for the \family{ygoth} family so that
+the long~ſ and its ligatures are printed as
+{\gothfamily\addfontfeature{CharacterVariant=1} ſ, ſi, ſſ, ſſi, ſt}
+instead of {\gothfamily ſ, ſi, ſſ, ſſi, ſt} (default).
-Experts might want to type {\ColorVerb\longs} (U+17F) or {\ColorVerb s}
+Aliases are provided for these features:
+|Style=longs| for |StylisticSet=11| (|+ss11|) and
+|Style=gothvarlongs| for |StylisticSet=1| (|+ss01|).
+
+Experts might want to type {\ColorVerb ſ} (U+17F) or {\ColorVerb s}
(U+073) to keep the full control of the {\ColorVerb s} form; this requires
-either to deactivate the |ss11| feature after loading the \pkg{yfonts-otf}
-package, or to use a direct
-|\setmainfont{}[]| or |\fontspec{}[]| call.
+either to deactivate the |ss11| feature after loading the \pkg{yfonts-otf}
+package, or to use a direct |\setmainfont{}[]| or |\fontspec{}[]| call.
+Feature |CharacterVariant=1| (|+cv01|) may be used for the \family{ygoth}
+family to get the long~ſ variant
+{\gothfamily\addfontfeature{CharacterVariant=1} ſ, ſi, ſſ, ſſi, ſt}
+instead of {\gothfamily ſ, ſi, ſſ, ſſi, ſt}.
-
%\newpage
\section{List of optional ligatures}
@@ -165,9 +175,9 @@
\hline
rlig & \ffam ch, ck, st, tz
&\ffam\addfontfeature{RawFeature=-rlig} ch, ck, st, tz \\
- liga &\ffam ff, fi, fl, ffi, ffl, sf, \longs\longs
+ liga &\ffam ff, fi, fl, ffi, ffl, sf, ſſ
&\ffam\addfontfeature{RawFeature=-liga}
- ff, fi, fl, ffi, ffl, sf, \longs\longs \\
+ ff, fi, fl, ffi, ffl, sf, ſſ \\
\hline
\end{tabular}
@@ -179,9 +189,9 @@
\hline
rlig &\ffam ch, ck, st, tz
&\ffam\addfontfeature{RawFeature=-rlig} ch, ck, st, tz \\
- liga &\ffam ff, fi, fl, ffi, ffl, sf, \longs\longs
+ liga &\ffam ff, fi, fl, ffi, ffl, sf, ſſ
&\ffam\addfontfeature{RawFeature=-liga}
- ff, fi, fl, ffi, ffl, sf, \longs\longs \\
+ ff, fi, fl, ffi, ffl, sf, ſſ \\
\hline
\end{tabular}
@@ -197,11 +207,10 @@
liga &\ffam ct, ff, fi, fl, ffi, ffl, ij, ll,
&\ffam\addfontfeature{RawFeature=-liga}
ct, ff, fi, fl, ffi, ffl, ij, ll,\\
- &\ffam \longs\longs, si, ssi,
- \addfontfeature{StylisticSet=1}\longs\longs, si, ssi,
- &\ffam\addfontfeature{RawFeature=-liga}
- \longs\longs, si, ssi,
- \addfontfeature{StylisticSet=1} \longs\longs, si, ssi,
+ &\ffam ſſ, ſi, ſſi,
+ \addfontfeature{RawFeature=+cv01}ſſ, ſi, ſſi,
+ &\ffam\addfontfeature{RawFeature=-liga} ſſ, ſi, ſſi,
+ \addfontfeature{RawFeature=-liga;+cv01} ſſ, ſi, ſſi,
\\
hlig &\ffam ba, be, bo, da, de, do, ha, he, ho,
&\ffam\addfontfeature{RawFeature=-hlig}
@@ -244,6 +253,7 @@
Great thanks to Keno Wehr for carefully testing the initial version and
making valuable suggestions for improvements.
+\enlargethispage*{\baselineskip}
\begin{thebibliography}{99}
\bibitem{YH} Typesetting Old German: Fraktur, Schwabacher, Gotisch and
Initials, \\ \textit{Yannis Haralambous},
Modified: trunk/Master/texmf-dist/doc/fonts/yfonts-otf/yfonts-otf.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/fonts/opentype/public/yfonts-otf/yfrak.otf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/fonts/opentype/public/yfonts-otf/ygoth.otf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/fonts/opentype/public/yfonts-otf/yswab.otf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/tex/latex/yfonts-otf/yfonts-otf.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/yfonts-otf/yfonts-otf.sty 2025-01-27 20:50:30 UTC (rev 73611)
+++ trunk/Master/texmf-dist/tex/latex/yfonts-otf/yfonts-otf.sty 2025-01-27 20:50:46 UTC (rev 73612)
@@ -1,6 +1,6 @@
\NeedsTeXFormat{LaTeX2e}[2019-01-01]
-\def\fileversion{0.43}
-\def\filedate{2022-11-16}
+\def\fileversion{0.50}
+\def\filedate{2025-01-23}
\ProvidesPackage{yfonts-otf}[\filedate\space\fileversion]
\RequirePackage{iftex}[2019-10-24]
\newif\ifYHf at oldumlaut
@@ -11,12 +11,11 @@
\ProcessOptions
\iftutex
\RequirePackage{fontspec}
+ \newopentypefeature{Style}{gothvarlongs}{+ss01}
\newopentypefeature{Style}{longs}{+ss11}
\ifYHf at gothvarlongs
\newfontfamily\gothfamily{ygoth.otf}%
- [Extension = .otf,
- Ligatures=TeX,
- RawFeature=+ss01;+ss11;+rlig;+liga;+hlig]
+ [Ligatures=TeX, RawFeature=+ss01;+cv01;+rlig;+liga;+hlig]
\else
\newfontfamily\gothfamily{ygoth.otf}%
[Ligatures=TeX, RawFeature=+ss11;+rlig;+liga;+hlig]
More information about the tex-live-commits
mailing list.