texlive[67427] Master/texmf-dist: xcharter-math (21jun23)

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


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

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/fonts/xcharter-math/README.md
    trunk/Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.ltx
    trunk/Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.pdf
    trunk/Master/texmf-dist/doc/fonts/xcharter-math/unimath-xcharter.pdf
    trunk/Master/texmf-dist/fonts/opentype/public/xcharter-math/XCharter-Math-Bold.otf
    trunk/Master/texmf-dist/fonts/opentype/public/xcharter-math/XCharter-Math.otf
    trunk/Master/texmf-dist/tex/latex/xcharter-math/xcharter-otf.sty

Modified: trunk/Master/texmf-dist/doc/fonts/xcharter-math/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/xcharter-math/README.md	2023-06-21 20:06:20 UTC (rev 67426)
+++ trunk/Master/texmf-dist/doc/fonts/xcharter-math/README.md	2023-06-21 20:06:37 UTC (rev 67427)
@@ -71,6 +71,12 @@
   - Metrics of all "over" arrows and harpoons corrected.
   - Metrics of all "under" arrows and harpoons corrected.
   - Most horizontal arrows and harpoons are now stretchable.
+* v0.41:
+  - radicals corrected.
+  - xcharter-otf.sty: options handled by `l3keys` instead of `xkeyval` 
+    (requires a LaTeX kernel not older than 2022-06-01).
+  - XCharter-Math-Bold.otf: missing glyphs added in range 
+    U+1D400-U+1D7F5 (SE#688363 for KP-fonts).
   
 ---
 Copyright 2022-2023  Daniel Flipo  

Modified: trunk/Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.ltx
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.ltx	2023-06-21 20:06:20 UTC (rev 67426)
+++ trunk/Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.ltx	2023-06-21 20:06:37 UTC (rev 67427)
@@ -34,7 +34,7 @@
 \title{\decofourleft\,\XCotf\,\decofourright}
 \author{Daniel Flipo \\ \texttt{daniel.flipo at free.fr}}
 
-\newcommand*{\version}{0.40}
+\newcommand*{\version}{0.41}
 
 \begin{document}
 \maketitle
@@ -413,7 +413,7 @@
 To get oldstyle numbers in maths, the feature \texttt{+onum} is available:
 \begin{verbatim}
 \setmathfont{XCharter-Math.otf}[Numbers=OldStyle]  or
-\usepackage[Style={fulloldstyle]{xcharter-otf}
+\usepackage[Style=fulloldstyle]{xcharter-otf}
 \end{verbatim}
 
 \setmathfont{XCharter-Math.otf}[Numbers=OldStyle]
@@ -595,6 +595,10 @@
 \verb+\setmathfont{XCharter-Math-Bold.otf}[version=bold, +\textit{options}\verb+]+\\
 \verb+\section{\mathversion{bold} Einstein’s equation $E=mc^2$}+
 
+It is also possible to use the \verb+\boldmath+ command:\\
+\verb+\setmathfont{XCharter-Math-Regular.otf}[BoldFont=XCharter-Math-Bold.otf]+\\
+\verb+\section{\boldmath Einstein’s equation $E=mc^2$}+
+
 \subsection{Missing symbols}
 
 \XCotf{} does not aim at being as complete as \file{STIXTwoMath-Regular} or

Modified: trunk/Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.pdf
===================================================================
(Binary files differ)

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

Modified: trunk/Master/texmf-dist/fonts/opentype/public/xcharter-math/XCharter-Math-Bold.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/xcharter-math/XCharter-Math.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/xcharter-math/xcharter-otf.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/xcharter-math/xcharter-otf.sty	2023-06-21 20:06:20 UTC (rev 67426)
+++ trunk/Master/texmf-dist/tex/latex/xcharter-math/xcharter-otf.sty	2023-06-21 20:06:37 UTC (rev 67427)
@@ -1,6 +1,6 @@
-\NeedsTeXFormat{LaTeX2e}[2018/01/01]
-\def\fileversion{0.40}
-\def\filedate{2023-03-29}
+\NeedsTeXFormat{LaTeX2e}[2022/06/01]
+\def\fileversion{0.41}
+\def\filedate{2023-06-21}
 \ProvidesPackage{xcharter-otf}[\filedate\space\fileversion]
 
 % Ensure luatex or xetex engine
@@ -14,34 +14,36 @@
 \newopentypefeature{Style}{subsetneq}{+ss06}
 \newopentypefeature{Style}{parallelslant}{+ss07}
 
+\newtoks\XCottoksT
+\newtoks\XCottoksM
 \newcommand*{\XCstore at KV@Option}[2]{%
   \def\XCot at scale{Scale}\def\XCot at opt{#1}%
   \ifx\XCot at opt\XCot at scale\XCottoksT={Scale={#2}}\fi
   \XCottoksM=\expandafter{\the\XCottoksM #1={#2},}}
 
-% Options: forward them to \setmathfont except "tight", "loose" and "no-text".
-\RequirePackage{xkeyval}
-\newtoks\XCottoksT
-\newtoks\XCottoksM
-
-\newif\ifXCot at tight
-\newif\ifXCot at notext
-\DeclareOptionX{no-text}{\XCot at notexttrue}
-\DeclareOptionX{tight}{\XCot at tighttrue}
-\DeclareOptionX{loose}{\XCot at tightfalse}
-\DeclareOptionX{fulloldstyle}{\XCstore at KV@Option{Numbers}{OldStyle}}
-\DeclareOptionX{math-style}{\XCstore at KV@Option{math-style}{#1}}
-\DeclareOptionX{bold-style}{\XCstore at KV@Option{bold-style}{#1}}
-\DeclareOptionX{nabla}{\XCstore at KV@Option{nabla}{#1}}
-\DeclareOptionX{partial}{\XCstore at KV@Option{partial}{#1}}
-\DeclareOptionX{CharacterVariant}{\XCstore at KV@Option{CharacterVariant}{#1}}
-\DeclareOptionX{StylisticSet}{\XCstore at KV@Option{StylisticSet}{#1}}
-\DeclareOptionX{Style}{\XCstore at KV@Option{Style}{#1}}
-\DeclareOptionX{Scale}{\XCstore at KV@Option{Scale}{#1}}
-\ExecuteOptionsX{tight}
-\ProcessOptionsX
+% Package options:
+\DeclareKeys
+  {
+   no-text.if            = XCot at notext                              ,
+   tight.if              = XCot at tight                              ,
+   loose.code            = \XCot at tightfalse                         ,
+   fulloldstyle.code     = \XCstore at KV@Option{Numbers}{OldStyle}    ,
+   math-style.code       = \XCstore at KV@Option{math-style}{#1}       ,
+   bold-style.code       = \XCstore at KV@Option{bold-style}{#1}       ,
+   nabla.code            = \XCstore at KV@Option{nabla}{#1}            ,
+   partial.code          = \XCstore at KV@Option{partial}{#1}          ,
+   CharacterVariant.code = \XCstore at KV@Option{CharacterVariant}{#1} ,
+   StylisticSet.code     = \XCstore at KV@Option{StylisticSet}{#1}     ,
+   Style.code            = \XCstore at KV@Option{Style}{#1}            ,
+   Scale.code            = \XCstore at KV@Option{Scale}{#1}
+  }
+%
+\XCot at tighttrue
+\ProcessKeyOptions
+%
 % Math fonts: XCharter-Math.otf
 % Following Joseph Wright in https://tex.stackexchange.com/questions/451
+\XCstore at KV@Option{BoldFont}{XCharter-Math-Bold.otf}
 \begingroup
   \edef\temp{%
     \endgroup



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