summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/xcharter
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-09-21 20:57:10 +0000
committerKarl Berry <karl@freefriends.org>2017-09-21 20:57:10 +0000
commitbc6b2d9b5bc8514cdd075cb5ba3182b1c4c16d78 (patch)
tree87126e5c450bea6c9da8408fc120340cbc398a25 /Master/texmf-dist/doc/fonts/xcharter
parentaaf7eb239e9b4102e871ead46d9c4adbff184b42 (diff)
xcharter (21sep17)
git-svn-id: svn://tug.org/texlive/trunk@45369 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/xcharter')
-rw-r--r--Master/texmf-dist/doc/fonts/xcharter/README5
-rw-r--r--Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.pdfbin234817 -> 274853 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex55
3 files changed, 58 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/fonts/xcharter/README b/Master/texmf-dist/doc/fonts/xcharter/README
index 96a1b8cf69c..24d6e82ad9b 100644
--- a/Master/texmf-dist/doc/fonts/xcharter/README
+++ b/Master/texmf-dist/doc/fonts/xcharter/README
@@ -22,7 +22,10 @@ Original Bitstream Free font license:
The font modifications are Copyright (c) 2009--2012, Andrey Panov; Copyright (c) 2013--2017, Michael Sharpe.
-Current version: 1.094 2017-08-09
+Current version: 1.1 2017-09-21
+
+Changes in version 1.1
+Added support for Serbian Cyrillic typesetting in XeLaTeX, LuaLaTeX and pdflatex.
Changes in version 1.093
1. Modified handling of the sups option when using KOMA classes.
diff --git a/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.pdf b/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.pdf
index 74403233506..7ec702e1a54 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 fc58b04be04..096561708a2 100644
--- a/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex
+++ b/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex
@@ -13,6 +13,7 @@
\font\osfIfnt=XCharter-Roman-tosf-t1 at 11pt
\font\osffnt=XCharter1-Roman-tosf-t1 at 11pt
\usepackage{fonttable}
+\usepackage{booktabs}
\usepackage{url}
\newcommand\cyrtext{\fontfamily{XCharter-TLF}\fontencoding{OT2}\selectfont} % declaration
\DeclareTextFontCommand{\textcyr}{\cyrtext} %macro with argument
@@ -30,7 +31,9 @@ The \emph{XCharter} fonts are extensions of the Bitstream Charter fonts, adding
As of version 1.09 (2017-06-25) there is a new collection of Cyrillic glyphs in \emph{XCharter}, copied from Andrey Panov's \emph{Khartiya}, an extension of the free Charter fonts, with small caps included. Some new figure styles were also copied from \emph{Khartiya}---inferiors, numerators and denominators. Along with these additions, there are now slanted versions for those who wish to have both slanted and italic text available to meet distinct semantic purposes. Note that figures and uppercase slanted and italic are almost identical (except for slanted \textsl{Q} and italic \textit{Q}) but lower-case forms are distinct.
-Support files are provided for T$1$, TS$1$, LY$1$, T$2$A and OT$2$ encodings, the latter being to support the Cyrillic component of \emph{XCharter}. The package has a number of options:
+Starting with version 1.1, support has been added for typesetting in the Serbian variant of Cyrillic, with some changes to the Italic and BoldItalic Cyrillic glyphs and a new option in the main package. These are described more fully below.
+
+Support files are provided for T$1$, TS$1$, LY$1$, T$2$A and OT$2$ encodings, the last two being to support the Cyrillic component of \emph{XCharter}. The package has a number of options:
\begin{itemize}
\item
{\tt scaled=.98}, for example, scales all text to 98\% of specified size;
@@ -39,6 +42,8 @@ Support files are provided for T$1$, TS$1$, LY$1$, T$2$A and OT$2$ encodings, th
\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. This option has no effect if a KOMA class is in force.
\item {\tt scosf} makes oldstyle figures the default in small cap text, no matter what the global figure setting may be.
+\item {\tt serbianc} is useful only with the T$2$A encoding. It modifies
+one slot in upright and slanted shapes and five slots in italic shapes, as expected in Serbian Cyrillic. See the last section for examples.
\end{itemize}
@@ -170,7 +175,55 @@ Any {\tt utf8}-encoded text typed outside of a \verb|\foreignlanguage{}{}| block
\newpage
\textsc{XCharter-Roman-tlf-t2a.tfm}:\\
\fonttable{XCharter-Roman-tlf-t2a.tfm}
+\newpage
+\textsc{XCharter-Italic-tlf-t2a.tfm}:\\
+\fonttable{XCharter-Italic-tlf-t2a.tfm}
\textsc{Note:} Currently, the \LaTeX\ support files for T$2$A encoded \emph{XCharter} cover only the figure styles {\tt lining}, {\tt oldstyle} and {\tt superiors}.
+\section{Serbian Cyrillic}
+Serbian and Russian Cyrillic differ in the following ways.
+
+\font\russc=XCharter-Roman-tlf-t2a at 11pt
+\font\serbc=XCharter-Roman-tlf-t2asrb at 11pt
+\font\russci=XCharter-Italic-tlf-t2a at 11pt
+\font\serbci=XCharter-Italic-tlf-t2asrb at 11pt
+\begin{center}
+ \begin{tabular}{@{} cccc @{}}
+ \toprule
+ Character & Shape & Russian & Serbian \\
+ \midrule
+ U+0431 & Upright & {\russc\char"E1} & {\serbc\char"E1} \\
+ U+0431 & Italic & {\russci\char"E1} & {\serbci\char"E1} \\
+ U+0433 & Italic & {\russci\char"E3} & {\serbci\char"E3} \\
+ U+0434 & Italic & {\russci\char"E4} & {\serbci\char"E4} \\
+ U+043F & Italic & {\russci\char"EF} & {\serbci\char"EF} \\
+ U+0442 & Italic & {\russci\char"F2} & {\serbci\char"F2} \\
+ \bottomrule
+ \end{tabular}
+\end{center}
+
+Usage under XeLaTeX and XeLaTeX is simple. Your preamble should include
+\begin{verbatim}
+\usepackage{polyglossia}
+\usepackage{fontspec}
+\setmainfont{XCharter}[%
+Language=Serbian,
+Script=Cyrillic
+]
+\end{verbatim}
+Then all (unicode) input characters will be typeset using the above substitution table.
+
+The story is a bit more complicated with \LaTeX\ processing.
+
+\textsc{Example 1: Serbian Cyrillic as default text.}
+\begin{verbatim}
+\usepackage[utf8x]{inputenc}
+\usepackage[serbianc]{babel}
+\usepackage[serbianc]{XCharter}
+\usepackage[T2A]{fontenc}
+\end{verbatim}
+This will produce essentially the same output as the {\tt fontspec} example above, with unicode input.
+It may be be possible to work out a scheme that would allow multiple scripts and languages to be used with {\tt serbianc} as the main or as a secondary language in {\tt babel}, but I have not succeeded in doing this with XCharter, and know of no other example that I might crib from.
+%\textsc{Example 2:
\end{document} \ No newline at end of file