From 4e1e2b4bcf187a47e22d08ef3ca1cf869ea42cf7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 16 Mar 2021 22:08:21 +0000 Subject: kpfonts-otf (16mar21) git-svn-id: svn://tug.org/texlive/trunk@58435 c570f23f-e606-0410-a88d-b1316a301751 --- .../fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx | 28 +++++-- .../fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.pdf | Bin 186140 -> 187084 bytes .../fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.ltx | 74 +++++++++-------- .../fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.pdf | Bin 187563 -> 188514 bytes Master/texmf-dist/doc/fonts/kpfonts-otf/README.md | 89 ++++++++++++--------- 5 files changed, 112 insertions(+), 79 deletions(-) (limited to 'Master/texmf-dist/doc/fonts') diff --git a/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx b/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx index fac99bd7ea2..dfb1f39439e 100644 --- a/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx +++ b/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx @@ -16,6 +16,7 @@ \usepackage[british,french]{babel} % french layout (lists, …) \usepackage[english]{varioref} + \usepackage{realscripts} \usepackage{microtype} \usepackage{hyperref} @@ -40,7 +41,7 @@ \title{Kp-fonts: OpenType version} \author{\href{mailto:daniel.flipo@free.fr}{Daniel \textsc{Flipo}}} -\newcommand*{\version}{0.34} +\newcommand*{\version}{0.35} \begin{document} \selectlanguage{british} @@ -96,7 +97,8 @@ A style file \file{kpfont-otf.sty} is provided to load Kp-fonts easily. It is derived from \file{kpfont.sty} but options differ. - Please beware that the current version (\version) is \emph{experimental}. + Please beware of the \emph{experimental} status of the current + version~(\version). All fonts are covered by OFL licence, style file and documentation are under LPPL-1.3 licence. @@ -218,6 +220,15 @@ and a bunch of Kp-fonts specifics symbols. \item[germandbls :] |\SS| prints {\addfontfeatures{StylisticSet=2}\SS} instead of {\char"1E9E} (capital \textit{Eszett}), ditto for small/petite caps. +\item[eurosym :] remplaces the Euro character (€) by the official symbol + {\addfontfeatures{StylisticSet=3}(€)} (available in regular, italic, + bold and et bolditalic) ; the |\KPeuro| command is also provided to print + the official symbol, it accepts an optionnal argument : |\kpeuro[1,50]{}| + prints \kpeuro[1,50] (with a nobreak space). + +\item[harfbuzz :] switches |Renderer=Harfbuzz| for HBLuaTeX engine; + up to version 0.34, this renderer was silently activated but seldom useful. + \end{description} \subsection{Options for Math fonts \emph{only}} @@ -342,6 +353,10 @@ Here are the options available for Text Kp-fonts: \item[StylisticSet=2 :] |\SS| prints {\addfontfeatures{StylisticSet=2}\SS} instead of {\char"1E9E} (capital \textit{Eszett}), ditto for small/petite caps. +\item[StylisticSet=3 :] remplaces the Euro character (€) by the official symbol + {\addfontfeatures{StylisticSet=3}(€)} (available in regular, italics, + bold and et bolditalic). + \end{description} Options may be are chosen for each font, say: @@ -409,8 +424,7 @@ Seven `Style Variants’ are available with Kp-fonts, here are the first three: \vspace{\baselineskip} The next four tables present the other Style Variants available: -\par\noindent -\begin{minipage}{\linewidth} +\\[-.5\baselineskip] \begin{minipage}[t]{0.45\linewidth}\centering \captionof{table}{Style=leqslant (\texttt{+ss04})}\label{ss04} \begin{tabular}{@{}lcc@{}} @@ -446,7 +460,8 @@ The next four tables present the other Style Variants available: \cmd{nparallelslant} & $\nparallelslant$ & $\nshortparallelslant$ \\ \hline \end{tabular} - \end{minipage}\\[\baselineskip] + \end{minipage} + \par\noindent \begin{minipage}[t]{0.45\linewidth}\centering \captionof{table}{Style=subsetneq (\texttt{+ss06})}\label{ss06} \begin{tabular}{@{}lcc@{}} @@ -473,7 +488,6 @@ The next four tables present the other Style Variants available: \hline \end{tabular} \end{minipage} -\end{minipage} \vspace{\baselineskip} Example: switching styles 4 (leqslant) and 6 (subsetneq) can be achieved @@ -610,7 +624,6 @@ are coded in Kp-fonts’ private zone. The full list of Unicode symbols available with Kp-fonts is shown in file \file{unimath-kpfonts.pdf}. -\newpage \subsection{Wide accents} \begin{itemize} @@ -676,7 +689,6 @@ then, it is easy to switch from one version to another one with |\mathversion{|\optit{name}|}|. -\newpage Example\footnote{Option \opt{CharacterVariant=3} changes $\epsilon$ into $\varepsilon$.} : \begin{verbatim} diff --git a/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.pdf b/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.pdf index d161984d42b..0c06d3fb9c4 100644 Binary files a/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.pdf and b/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.pdf differ diff --git a/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.ltx b/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.ltx index a7cebe36caf..dff014531e1 100644 --- a/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.ltx +++ b/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.ltx @@ -17,7 +17,8 @@ \usepackage{babel} \frenchsetup{og=«, fg=»,%ListItemsAsPar - } +} +\usepackage[All]{lua-typo} \usepackage{realscripts} \usepackage{microtype} \usepackage{hyperref} @@ -45,7 +46,7 @@ \title{Kp-fonts version OpenType} \author{\href{mailto:daniel.flipo@free.fr}{Daniel \textsc{Flipo}}} -\newcommand*{\version}{0.34} +\newcommand*{\version}{0.35} \begin{document} \maketitle @@ -247,6 +248,16 @@ Notez que ces options n'affectent que les polices de texte. \item[germandbls :] |\SS| affiche {\addfontfeatures{StylisticSet=2}\SS} au lieu de {\char"1E9E} (\textit{eszett} majuscule), idem en petites capitales. +\item[eurosym :] remplace le caractère Euro (€) par le symbole officiel + {\addfontfeatures{StylisticSet=3}(€)}, disponible également en italique, + gras et gras italique ; la commande |\kpeuro| produit également ce + symbole officiel, elle admet un argument optionnel : |\kpeuro[1,50]{}| + imprime \kpeuro[1,50] (espace-mot insécable). + +\item[harfbuzz :] active le moteur de rendu |Renderer=Harfbuzz| pour HBLuaTeX ; + depuis la version 0.35, il n’est plus activé par défaut + (il est rarement nécessaire). + \end{description} \subsection{Options des polices mathématiques} @@ -254,7 +265,7 @@ Notez que ces options n'affectent que les polices de texte. \begin{description} \item[lightmath :] les mathématiques sont composées avec les polices - « light » ; + « light ». \item[bbsans :] dans tous les cas, la commande |\mathbb| produit du sans-serif : @@ -263,19 +274,19 @@ Notez que ces options n'affectent que les polices de texte. $\mathbb{Z}$, à comparer à \mathversion{base} $\mathbb{C}$, $\mathbb{K}$, $\mathbb{N}$, $\mathbb{Q}$, $\mathbb{R}$, - $\mathbb{Z}$ ; + $\mathbb{Z}$. \item[mathcal :] cette option modifie l’effet des commandes |\mathcal| et |\mathscr|, elles produisent toutes les deux \mathversion{full}$\mathcal{ABCD}$ % $\mathscr{ABCD}$ - alors que par défaut \mathversion{base} on a $\mathcal{ABCD}$ ; + alors que par défaut \mathversion{base} on a $\mathcal{ABCD}$. \item[frenchstyle :] les majuscules romaines et toutes les lettres grecques (majuscules ou minuscules) sont droites, selon la tradition typographique - française, seules les minuscules romaines restent obliques ; + française, seules les minuscules romaines restent obliques. \item[oldstylenumsmath :] fournit les nombres elzéviriens en mode - mathématique ; + mathématique. \item[narrowiints :] fournit des intégrales multiples plus étroites, plus « françaises » : @@ -285,11 +296,11 @@ Notez que ces options n'affectent que les polices de texte. \mathversion{base}$\iiint$ et $\displaystyle\iiint$ \item[partialup :] le symbole |\partial| affiche $\symup{\partial}$ - (droit) au lieu de $\partial$ ; + (droit) au lieu de $\partial$. \item[fancyReIm :] les commandes |\Re| et |\Im| donnent normalement $\Re$ et $\Im$, avec cette option elles produisent respectivement $\RE$ et - $\IM$ ; + $\IM$. \item[tight :] les espaces horizontaux sont réduits en math (comme ceux de \pkg{fourier-otf}). @@ -333,7 +344,7 @@ la syntaxe classique\\[.5\baselineskip] Ceux qui veulent utiliser les KP-fonts pour des documents sans maths, peuvent évidemment charger uniquement \pkg{fontspec} et faire appel aux commandes -ci-dessus. +ci-dessous. \subsection{Options des polices de texte} @@ -341,30 +352,30 @@ Pour les polices de texte de Kp-fonts les options suivantes sont proposées : \begin{description} \item[Numbers=Lowercase :] pour avoir les chiffres minuscules ou elzéviriens {\addfontfeature{Numbers=Lowercase} 1,2,3} ou - \style{Numbers=Lining} (par défaut 1,2,3) ; + \style{Numbers=Lining} (par défaut 1,2,3). \item[SmallCapsFeatures = \{Letters=SmallCaps\} :] pour que la commande |\textsc{}| affiche les \textlsc{Grandes} petites capitales à la place des \textpsc{Petites} obtenues par défaut (option \style{SmallCapsFeatures = \{Letters=PetiteCaps\}}% - \footnote{Accolades indispensables à cause du signe \texttt{=} !}) ; + \footnote{Accolades indispensables à cause du signe \texttt{=} !}). \item[Ligatures=TeX :] (par défaut) |!`|\quad|?`|\quad|--|\quad |---| - affichent respectivement\quad !` \quad ?` -- et --- ; + affichent respectivement\quad !` \quad ?` -- et ---. -\item[Ligatures=Common :] (par défaut) ligatures automatiques ff ffi ffl fi fl ; +\item[Ligatures=Common :] (par défaut) ligatures automatiques ff ffi ffl fi fl. \item[StylisticSet=1] modifie l’aspect des ligatures - {\addfontfeature{StylisticSet=1} ffi ffl fi fl} (ff inchangé) ; + {\addfontfeature{StylisticSet=1} ffi ffl fi fl} (ff inchangé). \item[Ligatures=Required :] ajoute les ligatures - {\addfontfeature{Ligatures=Required} ft et tt} ; + {\addfontfeature{Ligatures=Required} ft et tt}. \item[Ligatures=Rare :] ajoute les ligatures - {\addfontfeature{Ligatures=Rare} ct et st} ; + {\addfontfeature{Ligatures=Rare} ct et st}. \item[Style=Swash :] pour le {\addfontfeature{Style=Swash}Q long également en - petites et grandes capitales \textpsc{Que} et \textlsc{Que}} ; + petites et grandes capitales \textpsc{Que} et \textlsc{Que}}. \item[Style=Historic :] pour remplacer systématiquement le « s » rond par un {\addfontfeature{Style=Historic}« s »} long, il reste possible de forcer un @@ -378,6 +389,10 @@ Pour les polices de texte de Kp-fonts les options suivantes sont proposées : \item[StylisticSet=2 :] |\SS| affiche {\addfontfeatures{StylisticSet=2}\SS} au lieu de {\char"1E9E} (\textit{eszett} majuscule), idem en petites capitales. +\item[StylisticSet=3 :] remplace le caractère Euro (€) par le symbole officiel + {\addfontfeatures{StylisticSet=3}(€)}, disponible également en italique, + gras et gras italique. + \end{description} Le choix parmi ces options se fait normalement globalement pour tout le @@ -445,12 +460,8 @@ trois premières : \mathversion{base}$\iiint$. \end{description} -\vspace{\baselineskip}\enlargethispage*{\baselineskip} -Les quatre tables suivantes recensent les autres variantes de style proposées : -\par\noindent -\begin{minipage}{\linewidth} - \setlength{\parindent}{0pt} - \centering +Les quatre tables suivantes recensent les autres variantes de style proposées. +\nopagebreak\par\noindent \begin{minipage}[t]{0.45\linewidth}\centering \captionof{table}{Style=leqslant (\texttt{+ss04})} \label{ss04} \begin{tabular}[t]{@{}lcc@{}} @@ -486,7 +497,8 @@ Les quatre tables suivantes recensent les autres variantes de style proposées : \cmd{nparallelslant} & $\nparallelslant$ & $\nshortparallelslant$ \\ \hline \end{tabular} - \end{minipage}\\ + \end{minipage} +\par\noindent \begin{minipage}[t]{0.45\linewidth}\centering \captionof{table}{Style=subsetneq (\texttt{+ss06})}\label{ss06} \begin{tabular}[t]{@{}lcc@{}} @@ -513,20 +525,18 @@ Les quatre tables suivantes recensent les autres variantes de style proposées : \hline \end{tabular} \end{minipage} -\end{minipage} - -\vspace{\baselineskip} +\vspace{2\baselineskip} Exemple : pour activer les styles 4 (leqslant) et 6 (subsetneq) on code\\ |\setmathfont{KpMath-Regular.otf}[StylisticSet={4,6}]|\quad ou bien\\ |\setmathfont{KpMath-Regular.otf}[Style={leqslant,subsetneq}]|\\ -ma cette variante plus parlante n’est disponible que si on a chargé -\pkg{kpfonts-otf.sty} (même avec l’option \opt{symbols}). +mais cette variante plus parlante n’est disponible que si +\pkg{kpfonts-otf.sty} a été chargé (éventuellement avec l’option \opt{symbols}). %\end{table} -La table~\vref{cv} recense les variantes de glyphes proposées : - \vspace{\baselineskip} +La table~\vref{cv} recense les variantes de glyphes proposées. + \begin{table}[ht] \centering \caption{Variantes de glyphes} diff --git a/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.pdf b/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.pdf index ecdc8f17e34..7e74e307feb 100644 Binary files a/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.pdf and b/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.pdf differ diff --git a/Master/texmf-dist/doc/fonts/kpfonts-otf/README.md b/Master/texmf-dist/doc/fonts/kpfonts-otf/README.md index 331171afac7..2267028da9e 100644 --- a/Master/texmf-dist/doc/fonts/kpfonts-otf/README.md +++ b/Master/texmf-dist/doc/fonts/kpfonts-otf/README.md @@ -51,49 +51,60 @@ Either version 1.3 or, at your option, any later version. = ≠ < ≤ > ≥ (all five Math fonts affected, original Type1 too). * v. 0.32: - 1) Text fonts: - kpfonts-otf.sty corrected: the "light" option didn't work properly. - kffonts-otf should now cover all glyphs in TS1 encoding (textcomp.sty). - The height of all diacritics has been reviewed and corrected - New combining diacritics added : U+0310, U+0323, U+0325, U+0327, U+0328. - New glyphs added: U+0110 (Dcroat), U+0111 (dcroat), U+0123 (gcircumflex), - U+0126 (Hbar), U+0127 (hbar), U+0129 (itilde), U+012B (imacron), - U+012D (ibreve), U+0135 (jcircumflex), U+0166 (Tbar), U+0167 (tbar) - and their counterparts in Petite Caps and Small Caps. - Corrected Petite Caps and Small Caps variant for U+00F0 (eth), - U+00FE (thorn), U+0111 (dcroat) and U+014B (eng). - Optional ft and tt ligatures added, see feature "Ligatures=Required". - Variants for ligatures fi ffi fl ffl added, see "Alternate=1". - (faked) slanted fonts added to match kpfonts T1 version. - - 2) Math fonts: - Corrected mismatch between mitl (U+1d459) and ell (U+2113). - Slanted versions for \shortparallel and \nshortparallel - and for \gtreqless, \lesseqgtr, \gtreqqless, \lesseqqgtr added. - Stretchy accents \wideoverbar, \widebreve, \widecheck added. - Reduced boldness for superscripts and supersuperscripts. - New option "tight" to reduce horizontal spaces in math mode - (same settings as \pkg{fourier} and \pkg{fourier-otf}). + 1. Text fonts: + kpfonts-otf.sty corrected: the "light" option didn't work properly. + kpfonts-otf should now cover all glyphs in TS1 encoding (textcomp.sty). + The height of all diacritics has been reviewed and corrected + New combining diacritics added : U+0310, U+0323, U+0325, U+0327, U+0328. + New glyphs added: U+0110 (Dcroat), U+0111 (dcroat), U+0123 (gcircumflex), + U+0126 (Hbar), U+0127 (hbar), U+0129 (itilde), U+012B (imacron), + U+012D (ibreve), U+0135 (jcircumflex), U+0166 (Tbar), U+0167 (tbar) + and their counterparts in Petite Caps and Small Caps. + Corrected Petite Caps and Small Caps variant for U+00F0 (eth), + U+00FE (thorn), U+0111 (dcroat) and U+014B (eng). + Optional ft and tt ligatures added, see feature "Ligatures=Required". + Variants for ligatures fi ffi fl ffl added, see "Alternate=1". + (faked) slanted fonts added to match kpfonts T1 version. + + 2. Math fonts: + Corrected mismatch between mitl (U+1d459) and ell (U+2113). + Slanted versions for \shortparallel and \nshortparallel + and for \gtreqless, \lesseqgtr, \gtreqqless, \lesseqqgtr added. + Stretchy accents \wideoverbar, \widebreve, \widecheck added. + Reduced boldness for superscripts and supersuperscripts. + New option "tight" to reduce horizontal spaces in math mode + (same settings as \pkg{fourier} and \pkg{fourier-otf}). * v. 0.33: - Roman Text fonts: - Added 54 glyphs in Latin-A range (mostly complete now). - Math fonts: - Fixed inconsistencies in superscripts and supersuperscripts metrics. + - Roman Text fonts: + Added 54 glyphs in Latin-ExtendedA range (mostly complete now). + - Math fonts: + Fixed inconsistencies in superscripts and supersuperscripts metrics. * v. 0.34: - Massive glyph cleaning: many spurious control points deleted in glyphs - for both Math and Text fonts. - Math fonts: - metrics (width, italic correction) reviewed; - accents ovhook (U+0309), candra (U+0310), vertoverlay (U+202D) added. - Text fonts: - kernings before and after quoteright improved; - German capital Eszet (U+1E9E) added, in Petite and Small caps too, - feature "StylisticSet=2" added to get SS instead of capital Eszet; - diacritics corrected in KpRoman-LightItalic (some were upright); - breaking change: feature "Alternate=1" changed to "StylisticSet=1" - as it didn't work with XeTeX. + Massive glyph cleaning: many spurious control points deleted in glyphs + for both Math and Text fonts. + - Text fonts: + kernings before and after quoteright improved; + German capital Eszet (U+1E9E) added, in Petite and Small caps too, + feature "StylisticSet=2" added to get SS instead of capital Eszet; + diacritics corrected in KpRoman-LightItalic (some were upright); + breaking change: feature "Alternate=1" changed to "StylisticSet=1" + as it didn't work with XeTeX. + - Math fonts: + metrics (width, italic correction) reviewed; + accents ovhook (U+0309), candra (U+0310), vertoverlay (U+202D) added. + +* v. 0.35: + - Text fonts: + Added 54 glyphs in Latin-ExtendedA range for KpSans fonts. + Euro symbol added in Roman, Sans and Mono, option StyleSet=3 to trigger it. + Added missing anchors for "dot below" on P, p, p.pc, p.sc, a.sc. + HarfBuzz renderer no longer loaded for HBLuaTeX engine, new option + "harfbuzz" to force loading it (kpfonts-otf.sty). + - Math fonts: + Extensible delimiters corrected in KpMath-Sans. + Options frenchstyle, partialup and fancyReIm now work as intended. --- Copyright 2020-2021 Daniel Flipo -- cgit v1.2.3