texlive[71153] Master/texmf-dist: kpfonts-otf (2may24)

commits+karl at tug.org commits+karl at tug.org
Thu May 2 21:42:47 CEST 2024


Revision: 71153
          https://tug.org/svn/texlive?view=revision&revision=71153
Author:   karl
Date:     2024-05-02 21:42:47 +0200 (Thu, 02 May 2024)
Log Message:
-----------
kpfonts-otf (2may24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx
    trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.pdf
    trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.ltx
    trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.pdf
    trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/README.md
    trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/unimath-kpfonts.pdf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Bold.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Light.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Regular.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Sans.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-SansBold.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Semibold.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Bold.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-BoldItalic.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Italic.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Regular.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Bold.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-BoldItalic.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Italic.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Light.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-LightItalic.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Regular.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Semibold.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-SemiboldItalic.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Bold.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-BoldItalic.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Italic.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Regular.otf
    trunk/Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty

Modified: trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx	2024-05-02 17:03:11 UTC (rev 71152)
+++ trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx	2024-05-02 19:42:47 UTC (rev 71153)
@@ -40,7 +40,7 @@
 
 \title{Kp-fonts: OpenType version}
 \author{\href{mailto:daniel.flipo at free.fr}{Daniel \textsc{Flipo}}}
-\newcommand*{\version}{0.62}
+\newcommand*{\version}{0.63}
 
 \begin{document}
 \selectlanguage{british}
@@ -117,7 +117,8 @@
 For users of the original \pkg{kpfonts.sty} package, the easiest way to
 try the OpenType version is to load \pkg{kpfonts-otf.sty}:\\[.5\baselineskip]
 |\usepackage[ |\optit{options}| ]{kpfonts-otf}|\\[.5\baselineskip]
-this loads \pkg{unicode-math}, \pkg{fontspec} and \pkg{realscripts}, and defines
+this loads \pkg{unicode-math}, \pkg{fontspec} and usually \pkg{realscripts}%
+\footnote{See option \opt{fakedscripts} below.}, and defines
 \family{KpRoman} (\family{Regular} or \family{Light} depending on options),
 \family{KpSans} and \family{KpMono} as Text fonts, \family{KpMath}
 (\family{Regular} or \family{Light} depending on options) as maths fonts.
@@ -186,6 +187,19 @@
 
 \item[sfstext:] switches to \famvar{sans-serif} text fonts.
 
+\item[fakedscripts :] prevents \pkg{realscripts} to be loaded, super-
+  and sub-scripts will be produced by scaling (this is the way pdflatex works)
+  which gives access to all characters available in the font but produces too
+  tall and too thin glyphs. On the other hand \pkg{realscripts} gives access
+  to the super/sub-scripts available in the font (a reduced set made of
+  digits, lowercase latin letters, parentheses, etc. for the Kpfonts) which are
+  better looking. I would recommend to keep \pkg{realscripts} loaded and to
+  use the starred variants \verb+\textsuperscript*+, \verb+\textsubscript*+,
+  to produce faked super/sub-scripts when needed, coding
+  \verb+H\textsuperscript*{\#}+ to get H\textsuperscript*{\#} while
+  \verb+H\textsuperscript{\#}+ would output H\textsuperscript{\#} (\# missing
+  as superscript).
+
 \item[oldstylenums:] provides lowercase digits as a default.
 
   To get uppercase digits locally: |{\addfontfeature{Numbers=Lining} 123}|.
@@ -749,7 +763,7 @@
 then, it is easy to switch from one version to another one with
 |\mathversion{|\optit{name}|}|.
 
-\pagebreak[4]
+%\pagebreak[4]
 Example\footnote{\mathversion{full}Option \opt{CharacterVariant=3} changes
 $\epsilon$ into $\varepsilon$.} :
 \begin{verbatim}
@@ -761,7 +775,7 @@
 \end{verbatim}
 
 Here is the same equation in three versions, normal, bold and Sans-Serif:
-\mathversion{base}
+\setmathfont{KpMath-Regular.otf}[Style=leqslant, CharacterVariant=3]
 
 \[ \mathbb{E}_i(N_i) = \sum_{n\ge1} P_i(N_i\ge n)
                      = \frac{\epsilon_i}{1-\epsilon_i}<+\infty \]
@@ -773,6 +787,10 @@
 |\mathversion{sans}| \mathversion{sans}
 \[ \mathbb{E}_i(N_i) = \sum_{n\ge1} P_i(N_i\ge n)
                      = \frac{\epsilon_i}{1-\epsilon_i}<+\infty \]
+
+To get bold formulas you do not need to define |\mathversion{bold}|, you can
+just use the |\boldmath| command:
+f.i. |{\boldmath $E=mc^2$}| prints {\boldmath $E=mc^2$}.
 \end{document}
 
 %%% Local Variables:

Modified: trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.ltx
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.ltx	2024-05-02 17:03:11 UTC (rev 71152)
+++ trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.ltx	2024-05-02 19:42:47 UTC (rev 71153)
@@ -39,7 +39,7 @@
 
 \title{Kp-fonts version OpenType}
 \author{\href{mailto:daniel.flipo at free.fr}{Daniel \textsc{Flipo}}}
-\newcommand*{\version}{0.62}
+\newcommand*{\version}{0.63}
 
 \begin{document}
 \maketitle
@@ -115,7 +115,8 @@
 Les utilisateurs de la version originale des Kp-fonts préfèreront probablement
 charger \pkg{kpfonts-otf.sty} comme ceci :\\[.5\baselineskip]
 |\usepackage[ |\optit{options}| ]{kpfonts-otf}|\\[.5\baselineskip]
-ceci charge \pkg{unicode-math}, \pkg{fontspec} et \pkg{realscripts} et
+ceci charge \pkg{unicode-math}, \pkg{fontspec} et normalement \pkg{realscripts}%
+\footnote{Sauf option \opt{fakedscripts}, voir ci-dessous.} et
 définit \family{KpRoman} (\family{Regular} ou \family{Light} selon les options),
 \family{KpSans} et \family{KpMono} comme polices de texte et \family{KpMath}
 (\family{Regular} ou \family{Light} selon les options) comme police
@@ -194,6 +195,21 @@
 
 \item[sftext :] le texte est composé en utilisant les polices sans-serif.
 
+\item[fakedscripts :] empêche le chargement de l’extension \pkg{realscripts}
+  qui donne accès aux vraies lettres supérieures et inférieures disponibles
+  dans la police (chiffres, lettres minuscules latines non accentuées,
+  parenthèses, etc. pour les Kpfonts) ; avec l’option \opt{fakedscripts} les
+  lettres supérieures et inférieures sont obtenues par simple réduction des
+  lettres de base correspondantes (comme le fait pdflatex), ce qui permet de
+  placer en exposant ou en indice n’importe quel glyphe présent dans la
+  police au prix d’une perte de qualité (résultat trop haut et trop maigre)
+  comparer M\up{me} à M\up*{me} ou M\up{lle} à M\up*{lle}.
+  Noter que la commande \cmd{up} de \pkg{babel-french} utilise les vraies
+  supérieures lorsque \pkg{realscripts} est chargé et que sa variante \cmd{up*}
+  permet d’accéder aux supérieures simulées en cas de besoin :
+  le caractère \# n’étant pas disponible en lettre supérieure \verb+H\up{\#}+
+  produit H\up{\#} tandis que \verb+H\up*{\#}+ produit H\up*{\#}.
+
 \item[oldstylenums :] Les polices fournissent ici les nombres elzéviriens par
   défaut.
 
@@ -788,6 +804,7 @@
 et ensuite on passe d’une version  à l’autre grâce à la commande
 |\mathversion{|\optit{nom}|}|.
 
+\pagebreak[4]
 Exemple\footnote{\mathversion{full}L’option \opt{CharacterVariant=3} remplace le
 $\epsilon$ par $\varepsilon$.} :
 \begin{verbatim}
@@ -798,7 +815,7 @@
 \end{verbatim}
 
 Voici la même équation en trois versions, normale, grasse et sans empattement :
-\mathversion{base}
+\setmathfont{KpMath-Regular.otf}[Style=leqslant, CharacterVariant=3]
 
 \[ \mathbb{E}_i(N_i) = \sum_{n\ge1} P_i(N_i\ge n)
                      = \frac{\epsilon_i}{1-\epsilon_i}<+\infty \]
@@ -810,6 +827,11 @@
 |\mathversion{sans}|\mathversion{sans}
 \[ \mathbb{E}_i(N_i) = \sum_{n\ge1} P_i(N_i\ge n)
                      = \frac{\epsilon_i}{1-\epsilon_i}<+\infty \]
+
+Noter que la commande |\boldmath| peut également être utilisée sans avoir
+à définir |\mathversion{bold}| : |{\boldmath $E=mc^2$}| produit
+{\boldmath $E=mc^2$}.
+
 \end{document}
 
 %%% Local Variables:

Modified: trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/README.md	2024-05-02 17:03:11 UTC (rev 71152)
+++ trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/README.md	2024-05-02 19:42:47 UTC (rev 71153)
@@ -244,6 +244,12 @@
 
 * v. 0.62:
    - Math fonts: vertical delimiters redesigned (sizes and boldness). 
+
+* v. 0.63:
+   Text fonts: 
+   - Super/Sub-scripts added: punctuation, brackets, braces, dashes, etc.
+   - Option 'fakedscripts' added to kpfonts-otf.sty; it prevents loading
+     of package realscripts.
   
 ---
 Copyright 2020-2024  Daniel Flipo  

Modified: trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/unimath-kpfonts.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Bold.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Light.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Regular.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Sans.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-SansBold.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Semibold.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Bold.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-BoldItalic.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Italic.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Regular.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Bold.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-BoldItalic.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Italic.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Light.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-LightItalic.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Regular.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Semibold.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-SemiboldItalic.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Bold.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-BoldItalic.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Italic.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Regular.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty	2024-05-02 17:03:11 UTC (rev 71152)
+++ trunk/Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty	2024-05-02 19:42:47 UTC (rev 71153)
@@ -1,6 +1,6 @@
 \NeedsTeXFormat{LaTeX2e}[2019-01-01]
-\def\fileversion{0.62}
-\def\filedate{2024-01-30}
+\def\fileversion{0.63}
+\def\filedate{2024-05-02}
 \ProvidesPackage{kpfonts-otf}[\filedate\space\fileversion]
 
 % Ensure luatex or xetex engine
@@ -15,6 +15,7 @@
 \newif\ifkp at lighttext
 \newif\ifkp at sftext
 \newif\ifkp at sans
+\newif\ifkp at fakedscripts
 \newif\ifkp at largesmallcaps
 \newif\ifkp at altfligs
 \newif\ifkp at eurosym
@@ -52,6 +53,7 @@
 % Text options
 \DeclareOption{lighttext}        {\kp at lighttexttrue}
 \DeclareOption{sftext}           {\kp at sftexttrue}
+\DeclareOption{fakedscripts}     {\kp at fakedscriptstrue}
 \DeclareOption{oldstylenums}     {\kp at osntrue}
 \DeclareOption{oldstyle}         {\kp at ostrue\kp at osntrue\kp at Qtailtrue}
 \DeclareOption{veryoldstyle}     {\kp at vostrue\kp at osntrue\kp at Qtailtrue}
@@ -86,7 +88,7 @@
   \RequirePackage{fontspec}[2019/01/01]
   % Style alias (text only)
   \newopentypefeature{Style}{autolongs}{+ss12}
-  \RequirePackage{realscripts}
+  \ifkp at fakedscripts \else \RequirePackage{realscripts}\fi
   % Two candidates for \rmfamily:
   \newfontfamily\KpRoman{KpRoman}
   \newfontfamily\KpLight{KpLight}



More information about the tex-live-commits mailing list.