summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/xcharter
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-07-07 23:29:25 +0000
committerKarl Berry <karl@freefriends.org>2014-07-07 23:29:25 +0000
commitdf1900a7553cfb5bcb961d34002ba055e4cfcff9 (patch)
tree579c6688302c04ee3f0d28f9722a664d11bcb5de /Master/texmf-dist/doc/fonts/xcharter
parent55703b1ac018841dbc6dc656b650d3be81856df9 (diff)
xcharter (7jul14)
git-svn-id: svn://tug.org/texlive/trunk@34543 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/xcharter')
-rw-r--r--Master/texmf-dist/doc/fonts/xcharter/README16
-rwxr-xr-xMaster/texmf-dist/doc/fonts/xcharter/altone.py9
-rw-r--r--Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.pdfbin212969 -> 70695 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex21
4 files changed, 28 insertions, 18 deletions
diff --git a/Master/texmf-dist/doc/fonts/xcharter/README b/Master/texmf-dist/doc/fonts/xcharter/README
index f10945b9295..a34e1625b59 100644
--- a/Master/texmf-dist/doc/fonts/xcharter/README
+++ b/Master/texmf-dist/doc/fonts/xcharter/README
@@ -1,6 +1,6 @@
XCharter Fonts
Michael Sharpe
- 2013-12-01
+ 2014-07-04
This package is an extension of Bitstream Charter, whose original license is reproduced below, as required under the terms of that license. The extension provides small caps, oldstyle figures and superior figures in all four styles, accompanied by LaTeX font support files. The font files themselves are in otf and pfb formats. The fonts are licensed as Free fonts under the same terms as the original from Bitstream. All other support files are subject to the LaTeX Project Public License. See
http://www.ctan.org/license/lppl1.3
@@ -22,7 +22,15 @@ Original Bitstream Free font license:
The font modifications are Copyright (c) 2013, Michael Sharpe.
-Current version: 1.04
+Current version: 1.05
+
+Changes in version 1.05
+1. Slight modifications of control points of some oldstyle figures.
+2. Modified kerning tables for P-period, P-comma and P-hyphen in all styles, all existing ones appearing much too tight.
+3. Modified documentation to reflect updated usage of osf and osfI.
+
+Changes in version 1.041
+Corrected definitions of \useosf and \useosfI.
Changes in version 1.04
Substantial reworking of kerning tables in small caps.
@@ -39,9 +47,9 @@ Corrected the code so that there no longer an unwanted space following the footn
Changes in version 1.01
The method of generating the support files has changed from version 1.00, and is outlined below. The result is that the problem in version 1.00, where under the option oldstyle (or the macro \useosf) the resulting oldstyle 1 (like a short 1) failed to behave as the character 1 when copied from a pdf file, is now rectified.
-The otf fonts contain all the kerning and other tables. Should you wish to modify these yourself, the following outline of the method should be followed.
+The otf fonts contain all the kerning and other tables. Should you wish to modify these yourself, the following outline of the method should be followed.
-Place the 4 otf files in a new folder along with a subfolder named texmf. Then run the command
+Place the 4 otf files and the 4 afm files in a new folder along with a subfolder named texmf. Then run the command
/usr/texbin/autoinst --noupdmap --noswash --notitling --noornaments --target=./texmf --encoding=TS1,T1,LY1 --vendor=public --typeface=xcharter *.otf
diff --git a/Master/texmf-dist/doc/fonts/xcharter/altone.py b/Master/texmf-dist/doc/fonts/xcharter/altone.py
index 48de0bf4f4c..954c763ae66 100755
--- a/Master/texmf-dist/doc/fonts/xcharter/altone.py
+++ b/Master/texmf-dist/doc/fonts/xcharter/altone.py
@@ -3,6 +3,8 @@
import os, sys
# Run this in the root directory containing afm files and a texmf branch
+# Before running, all encoding files a_* should be renamed to xch_*
+# and the corresponding changes applied to xcharter.map
encfiles=set()
enclst=[]
newlines=[]
@@ -47,9 +49,10 @@ for j in range(len(vflst)):
print s
if os.system(s)==0:
if os.system("/usr/texbin/vptovf "+a)==0:
- os.system("/bin/cp -fp "+a+".tfm texmf/fonts/tfm/public/xcharter")
- os.system("/bin/cp -fp "+a+".vf texmf/fonts/vf/public/xcharter")
-
+ os.system("/bin/mv -f "+a+".tfm texmf/fonts/tfm/public/xcharter")
+ os.system("/bin/mv -f "+a+"--base.tfm texmf/fonts/tfm/public/xcharter")
+ os.system("/bin/mv -f "+a+".vf texmf/fonts/vf/public/xcharter")
+
with open("texmf/fonts/map/dvips/xcharter/XCharter.map",'a+') as f:
for s in newlines:
f.write(s+'\n') \ No newline at end of file
diff --git a/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.pdf b/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.pdf
index e472738b894..d79d4a7dc0e 100644
--- a/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.pdf
+++ b/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex b/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex
index e8ab5b6218d..22effa51f0f 100644
--- a/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex
+++ b/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex
@@ -7,8 +7,8 @@
\usepackage[scaled=.98]{XCharter}
\usepackage[T1]{fontenc}
\linespread{1.04}
-\usepackage[libertine,scaled=1.07]{newtxmath}
-\usepackage[cal=boondoxo,bb=boondox,frak=boondox]{mathalfa}
+\usepackage[libertine,bigdelims,vvarbb,scaled=1.07]{newtxmath}
+\usepackage[cal=boondoxo]{mathalfa}
\useosf
\font\osfIfnt=XCharter-Roman-tosf-t1 at 11pt
\font\osffnt=XCharter1-Roman-tosf-t1 at 11pt
@@ -30,15 +30,15 @@ Support files are provided for T$1$, TS$1$ and LY$1$ encodings. The package has
\item
{\tt scaled=.98}, for example, scales all text to 98\% of specified size;
\item {\tt lining} (or just {\tt lf}) makes lining figures ($0123456789$) the default for text---this is set automatically and does not need to be entered explicitly;
-\item {\tt oldstyle} (or {\tt osf}) sets the figure style to oldstyle (\textosf{0123456789}) with numeral one like a shortened $1$;
-\item {\tt oldstyleI} (or {\tt osfI}) sets the figure style to oldstyle (\textosfI{0123456789}) with numeral one like a shortened I;
+\item {\tt oldstyle} (or {\tt osf}) sets the figure style in text mode to oldstyle (\textosf{0123456789}) with numeral one like a shortened $1$, but math mode will always use lining figures;
+\item {\tt oldstyleI} (or {\tt osfI}) sets the figure style in text mode to oldstyle (\textosfI{0123456789}) with numeral one like a shortened I, but math mode will always use lining figures;
\item {\tt sups} sets the style for superscript figures (eg, footnote markers) to XCharter's superior figures rather than using the default text inserts in mathematical superscripts.
\end{itemize}
\textsc{Special Macros:}
\begin{itemize}
\item
-\verb|\useosf| (usable only in the preamble) is handy for changing the text figure style to {\tt osf}---see example 2 below. It must be loaded after {\tt newtxmath} so that math mode doesn't use oldstyle figures.
-\item \verb|\useosfI| (usable only in the preamble) is handy for changing the text figure style to {\tt osfI}. It must be loaded after {\tt newtxmath} so that math mode doesn't use oldstyle figures.
+\verb|\useosf| (usable only in the preamble) may be used for changing the text figure style to {\tt osf} though math mode will use lining figures.
+\item \verb|\useosfI| (usable only in the preamble) may ne used for changing the text figure style to {\tt osfI} though math mode will use lining figures.
\item \verb|\textsu| prints its argument in superior figures, eg \verb|\textsu{12}| results in \textsu{12}. The effect is the same with \verb|{\sustyle 12}|.
\item \verb|\textlf| prints its argument in lining figures, eg \verb|\textlf{12}| results in \textlf{12}. The effect is the same with \verb|{\lfstyle 12}|.
\item \verb|{\osfstyle 23}| prints \textosf{23} using whatever oldstyle option is in force.
@@ -56,13 +56,12 @@ Two math packages seem to provide reasonable companions for \textsf{XCharter}. T
\textsc{Example 2:}
\begin{verbatim}
-\usepackage[scaled=.98,sups]{XCharter}% lining figures in math
+\usepackage[scaled=.98,sups,osf]{XCharter}% lining figures in math, osf in text
\usepackage[scaled=1.04,varqu,varl]{zi4}% inconsolata typewriter
\usepackage[type1]{cabin}% sans serif
-\usepackage[libertine,bigdelims,scaled=1.07]{newtxmath}
-\usepackage[cal=boondoxo,bb=boondox,frak=boondox]{mathalfa}
+\usepackage[libertine,bigdelims,vvarbb,scaled=1.07]{newtxmath}
+\usepackage[cal=boondoxo]{mathalfa}
\linespread{1.04}
-\useosf % oldstyle figures in text
\end{verbatim}
Here is a short sample based on the preamble of \textsc{Example 2}:\\[4pt]
\def\Pr{\ensuremath{\mathbb{P}}}
@@ -80,7 +79,7 @@ and variance $1$ on a probability space $(\Omega,\mathcal{F},\Pr)$. Then}
\int_{-\infty}^y \frac{\mathrm{e}^{-t^2/2}}{\sqrt{2\uppi}}\,
\mathrm{d}t\quad\mbox{as $n\to\infty$,}\]
\textit{or, equivalently, letting} $S_n\coloneq\sum_1^n X_k$,
-\[\mathbb{E} f(S_n/\sqrt{n})\to \int_{-\infty}^\infty f(t)
+\[\mathbb{E} f\left(S_n/\sqrt{n}\right)\to \int_{-\infty}^\infty f(t)
\frac{\mathrm{e}^{-t^2/2}}{\sqrt{2\uppi}}\,\mathrm{d}t
\quad\mbox{as $n\to\infty$, for every $f\in\mathrm{b}
\mathcal{C}(\mathbb{R})$.}\]