texlive[67428] Master/texmf-dist: kpfonts-otf (21jun23)

commits+karl at tug.org commits+karl at tug.org
Wed Jun 21 22:06:52 CEST 2023


Revision: 67428
          http://tug.org/svn/texlive?view=revision&revision=67428
Author:   karl
Date:     2023-06-21 22:06:52 +0200 (Wed, 21 Jun 2023)
Log Message:
-----------
kpfonts-otf (21jun23)

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	2023-06-21 20:06:37 UTC (rev 67427)
+++ trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx	2023-06-21 20:06:52 UTC (rev 67428)
@@ -40,7 +40,7 @@
 
 \title{Kp-fonts: OpenType version}
 \author{\href{mailto:daniel.flipo at free.fr}{Daniel \textsc{Flipo}}}
-\newcommand*{\version}{0.53}
+\newcommand*{\version}{0.54}
 
 \begin{document}
 \selectlanguage{british}
@@ -136,8 +136,8 @@
   Please compare \famvar{regular} (left) and \famvar{light} fonts (right):
 
 \newcommand*{\test}{Normal or light? Just a matter of taste}
+
 \medskip
-
 \begin{minipage}{.45\textwidth}\test. $E=mc^2$\end{minipage}\hfill
 \begin{minipage}{.45\textwidth}\ltseries\test. \mathversion{light}$E=mc^2$
 \end{minipage}
@@ -155,6 +155,7 @@
 \begin{minipage}{.45\textwidth}\sbseries\itshape\test\end{minipage}
 
 \medskip
+\item[sans:] switches to \famvar{sans-serif} fonts for text and maths.
 
 \item[nomath:] load neither \pkg{unicode-math} nor \family{KpMath} fonts;
   useful for documents without maths, or to choose other maths fonts.
@@ -183,6 +184,8 @@
   |{\sbseries\itshape Foo}| or |\textsb{\textit{Foo}}| print
   {\sbseries\itshape Foo}.
 
+\item[sfstext:] switches to \famvar{sans-serif} text fonts.
+
 \item[oldstylenums:] provides lowercase digits as a default.
 
   To get uppercase digits locally: |{\addfontfeature{Numbers=Lining} 123}|.
@@ -257,6 +260,8 @@
 
 \item[lightmath:] uses \famvar{light} maths fonts.
 
+\item[sfmath:] uses \famvar{sans-serif} maths fonts.
+
 \item[bbsans:] command |\mathbb| prints Sans-Serif Blackboard Bold capitals
   with Serif fonts too: compare
   \mathversion{full}

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	2023-06-21 20:06:37 UTC (rev 67427)
+++ trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.ltx	2023-06-21 20:06:52 UTC (rev 67428)
@@ -39,7 +39,7 @@
 
 \title{Kp-fonts version OpenType}
 \author{\href{mailto:daniel.flipo at free.fr}{Daniel \textsc{Flipo}}}
-\newcommand*{\version}{0.53}
+\newcommand*{\version}{0.54}
 
 \begin{document}
 \maketitle
@@ -158,6 +158,9 @@
 
 \medskip
 
+\item[sans :] pour utiliser la version \famvar{sans-serif} des polices texte
+  et math.
+
 \item[nomath :] ne charge ni \pkg{unicode-math} ni les fontes \family{KpMath} ;
   utile pour les documents sans maths ou pour faire appel à d’autres fontes
   pour les maths.
@@ -189,6 +192,8 @@
   |{\sbseries\itshape Foo}| ou |\textsb{\textit{Foo}}| donne
   {\sbseries\itshape Foo}.
 
+\item[sftext :] le texte est composé en utilisant les polices sans-serif.
+
 \item[oldstylenums :] Les polices fournissent ici les nombres elzéviriens par
   défaut.
 
@@ -268,14 +273,15 @@
 \item[lightmath :] les mathématiques sont composées avec les polices
       « light ».
 
-\item[bbsans :] dans tous les cas, la commande |\mathbb| produit du
-  sans-serif :
+\item[sfmath :] les mathématiques sont composées avec les polices sans-serif.
+
+\item[bbsans :] la commande |\mathbb| produit du sans-serif :
   \mathversion{full}
   $\mathbb{C}$, $\mathbb{K}$, $\mathbb{N}$, $\mathbb{Q}$, $\mathbb{R}$,
   $\mathbb{Z}$, à comparer à
   \mathversion{base}
   $\mathbb{C}$, $\mathbb{K}$, $\mathbb{N}$, $\mathbb{Q}$, $\mathbb{R}$,
-  $\mathbb{Z}$.
+  $\mathbb{Z}$ obtenus par défaut.
 
 %\item[mathcal :] cette option modifie l’effet des commandes
 %  |\mathcal| et |\mathscr|, elles produisent toutes les deux

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	2023-06-21 20:06:37 UTC (rev 67427)
+++ trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/README.md	2023-06-21 20:06:52 UTC (rev 67428)
@@ -212,7 +212,13 @@
 * v. 0.53:
    - Text fonts: added missing substitutions 'sups' and 'sinf' for 
      the minus sign.
-  
+
+* v. 0.54:
+   - Math Sans Serif fonts: \imath and \jmath corrected.
+   - Math Bold and Semibold fonts: missing glyphs added in range 
+     U+1D400-U+1D7F5 (SE#688363).
+   - File kpfonts-otf.sty: new options 'sftext', 'sfmath', 'sans'.
+   
 ---
 Copyright 2020-2023  Daniel Flipo  
 E-mail: daniel (dot) flipo (at) free (dot) fr

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	2023-06-21 20:06:37 UTC (rev 67427)
+++ trunk/Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty	2023-06-21 20:06:52 UTC (rev 67428)
@@ -1,6 +1,6 @@
 \NeedsTeXFormat{LaTeX2e}[2019-01-01]
-\def\fileversion{0.53}
-\def\filedate{2023-05-27}
+\def\fileversion{0.54}
+\def\filedate{2023-06-21}
 \ProvidesPackage{kpfonts-otf}[\filedate\space\fileversion]
 
 % Ensure luatex or xetex engine
@@ -13,6 +13,8 @@
 \newif\ifkp at tt      \kp at tttrue
 %
 \newif\ifkp at lighttext
+\newif\ifkp at sftext
+\newif\ifkp at sans
 \newif\ifkp at largesmallcaps
 \newif\ifkp at altfligs
 \newif\ifkp at eurosym
@@ -24,6 +26,7 @@
 \newif\ifkp at Qtail
 %
 \newif\ifkp at lightmath
+\newif\ifkp at sfmath
 \newif\ifkp at osnm
 \newif\ifkp at narrowiints
 \newif\ifkp at partialup
@@ -39,6 +42,7 @@
 \DeclareOption{light}            {\kp at lighttexttrue\kp at lightmathtrue}
 \DeclareOption{nomath}           {\kp at mathfalse\kp at symbolsfalse}
 \DeclareOption{notext}           {\kp at textfalse}
+\DeclareOption{sans}             {\kp at sftexttrue\kp at sfmathtrue}
 \DeclareOption{nosf}             {\kp at sffalse}
 \DeclareOption{nott}             {\kp at ttfalse}
 \DeclareOption{onlyrm}           {\kp at ttfalse\kp at sffalse}
@@ -47,6 +51,7 @@
                                   \kp at osnmtrue}
 % Text options
 \DeclareOption{lighttext}        {\kp at lighttexttrue}
+\DeclareOption{sftext}           {\kp at sftexttrue}
 \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}
@@ -57,6 +62,7 @@
 \DeclareOption{harfbuzz}         {\kp at harfbuzztrue}
 % Math options
 \DeclareOption{lightmath}        {\kp at lightmathtrue}
+\DeclareOption{sfmath}           {\kp at sfmathtrue}
 \DeclareOption{bbsans}           {\kp at sfmathbbtrue}
 \DeclareOption{mathcal}          {\kp at calasscrtrue}
 \DeclareOption{narrowiints}      {\kp at narrowiintstrue}
@@ -146,22 +152,26 @@
     \defaultfontfeatures+[KpRoman,KpLight,\sffamily]{StylisticSet=3}
   \fi
   % Loading Text Serif fonts:
-  \ifkp at lighttext
-    \setmainfont{KpLight}
-    \renewfontfamily\KpLight{KpLight}
-    \renewfontfamily\KpRoman{KpRoman}
-    \newcommand*{\sbseries}{\KpRoman}
-    \newcommand*{\ebseries}{\KpRoman\bfseries}
-    \DeclareTextFontCommand{\textsb}{\sbseries}
-    \DeclareTextFontCommand{\texteb}{\ebseries}
+  \ifkp at sftext
+    \setmainfont{KpSans}
   \else
-    \setmainfont{KpRoman}
-    \renewfontfamily\KpRoman{KpRoman}
-    \renewfontfamily\KpLight{KpLight}
-    \newcommand*{\sbseries}{\KpLight\bfseries}
-    \newcommand*{\ltseries}{\KpLight}
-    \DeclareTextFontCommand{\textsb}{\sbseries}
-    \DeclareTextFontCommand{\textlt}{\ltseries}
+    \ifkp at lighttext
+      \setmainfont{KpLight}
+      \renewfontfamily\KpLight{KpLight}
+      \renewfontfamily\KpRoman{KpRoman}
+      \newcommand*{\sbseries}{\KpRoman}
+      \newcommand*{\ebseries}{\KpRoman\bfseries}
+      \DeclareTextFontCommand{\textsb}{\sbseries}
+      \DeclareTextFontCommand{\texteb}{\ebseries}
+    \else
+      \setmainfont{KpRoman}
+      \renewfontfamily\KpRoman{KpRoman}
+      \renewfontfamily\KpLight{KpLight}
+      \newcommand*{\sbseries}{\KpLight\bfseries}
+      \newcommand*{\ltseries}{\KpLight}
+      \DeclareTextFontCommand{\textsb}{\sbseries}
+      \DeclareTextFontCommand{\textlt}{\ltseries}
+    \fi
   \fi
   % Loading Text Sans Serif fonts:
   \ifkp at sf
@@ -220,25 +230,39 @@
   \ifkp at partialup
     \Store at KP@MOption{partial}{upright}
   \fi
-  \ifkp at lightmath
+  \ifkp at sfmath
+    \Store at KP@MOption{BoldFont}{KpMath-SansBold.otf}
     % Following Joseph Wright in https://tex.stackexchange.com/questions/451
     \begingroup
       \edef\temp{%
         \endgroup
-        \noexpand\setmathfont{KpMath-Light.otf}%
+        \noexpand\setmathfont{KpMath-Sans.otf}%
         [\unexpanded\expandafter{\the\KpMtoks}]%
       }
-      \temp
-    \setmathfont{KpMath-Light.otf}[range={cal,bfcal},RawFeature=+ss01]
+    \temp
+    \setmathfont{KpMath-Sans.otf}[range={cal,bfcal},RawFeature=+ss01]
   \else
-    % Following Joseph Wright in https://tex.stackexchange.com/questions/451
-    \begingroup
-      \edef\temp{%
-        \endgroup
-        \noexpand\setmathfont{KpMath-Regular.otf}%
-        [\unexpanded\expandafter{\the\KpMtoks}]%
-      }
+    \ifkp at lightmath
+      \Store at KP@MOption{BoldFont}{KpMath-Semibold.otf}
+      % Following Joseph Wright in https://tex.stackexchange.com/questions/451
+      \begingroup
+        \edef\temp{%
+          \endgroup
+          \noexpand\setmathfont{KpMath-Light.otf}%
+          [\unexpanded\expandafter{\the\KpMtoks}]%
+        }
       \temp
+      \setmathfont{KpMath-Light.otf}[range={cal,bfcal},RawFeature=+ss01]
+    \else
+      % Following Joseph Wright in https://tex.stackexchange.com/questions/451
+      \Store at KP@MOption{BoldFont}{KpMath-Bold.otf}
+        \begingroup
+        \edef\temp{%
+          \endgroup
+          \noexpand\setmathfont{KpMath-Regular.otf}%
+          [\unexpanded\expandafter{\the\KpMtoks}]%
+        }
+      \temp
     \setmathfont{KpMath-Regular.otf}[range={cal,bfcal},RawFeature=+ss01]
   \fi
 \fi
@@ -254,6 +278,8 @@
   \newopentypefeature{Style}{parallelslant}{ss07}
   \AtBeginDocument{%
     % Kpfonts specific math symbols
+    \Umathchardef\dotlessi =             0 0 "0131 \relax
+    \Umathchardef\dotlessj =             0 0 "0237 \relax
     \Umathchardef\mitsanswp =            0 0 "E015 \relax
     \Umathchardef\mitsansell =           0 0 "E019 \relax
     \Umathchardef\varemptyset =          0 0 "E021 \relax



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