From e646dedf9c5e492e2598cdfd13cda820ad2f62a7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 13 Sep 2011 22:53:04 +0000 Subject: fontspec 2.2 (13sep11) git-svn-id: svn://tug.org/texlive/trunk@23936 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/fontspec/README | 84 ++++++++++++--------- .../doc/latex/fontspec/fontspec-example.tex | 2 +- .../doc/latex/fontspec/fontspec-testsuite.pdf | Bin 172238 -> 228089 bytes Master/texmf-dist/doc/latex/fontspec/fontspec.pdf | Bin 2759630 -> 2755297 bytes 4 files changed, 50 insertions(+), 36 deletions(-) (limited to 'Master/texmf-dist/doc/latex/fontspec') diff --git a/Master/texmf-dist/doc/latex/fontspec/README b/Master/texmf-dist/doc/latex/fontspec/README index 3d5f070338d..64e9c40beb1 100644 --- a/Master/texmf-dist/doc/latex/fontspec/README +++ b/Master/texmf-dist/doc/latex/fontspec/README @@ -2,9 +2,6 @@ THE FONTSPEC PACKAGE ==================== -This is the initial generation of the fontspec package with support for -LuaLaTeX. (Previously, fontspec was XeLaTeX-only.) - The fontspec package provides an automatic and unified interface for loading fonts in LaTeX. XeTeX and LuaTeX (the latter through the luaotfload package) allows a direct interface to fonts which may be loaded by their name rather @@ -17,25 +14,22 @@ others. See the documentation `fontspec.pdf` for full information. -Release versions of fontspec are available from CTAN: +Release versions of fontspec are available from CTAN: - -Development and historical versions are available from Github: + +Development and historical versions are available from Github: - -Please offer suggestions and file bug reports in the issue tracker: - +Please offer suggestions and file bug reports in the issue tracker: + -LuaTeX requirements -------------------- -TeXLive 2010 is recommended for running this package under LuaTeX. +Requirements +------------ -This package requires the luaotfload package in order to load fonts in LuaTeX. -Version 1.10 or greater is recommended for this release. Please see -instructions in that package for font setup. That package, in turn, requires -a version of LuaTeX greater than that shipped with TeX Live 2009. +The `fontspec` package requires an up-to-date TeX Live 2011 or MiKTeX 2.9, +including the most recent version of the `l3kernel` package which provides +the LaTeX3 programming interface known as `expl3`. Summary of user commands @@ -45,7 +39,7 @@ Font families may be selected individually with the command \fontspec[]{} -Commands for selecting fonts efficiently can be created with +Commands for selecting fonts efficiently through a document are created with \newfontfamily\myfamily[]{} \newfontface\myfont[]{} @@ -56,7 +50,7 @@ Default document fonts are selected with \setsansfont[]{} \setmonofont[]{} -Fonts to be used in maths are defined with +Fonts to be used in text strings in maths are defined with \setmathrm[]{} \setmathsf[]{} @@ -72,22 +66,42 @@ Features may be added to the font currently in use with \addfontfeatures{} \addfontfeature{<...>} does the same thing -Features not provided for out of the box may be defined with - - \newAATfeature{}{}{} - \newICUfeature{}{[+|-]<4 letter feature string>} - \newfontfeature{}{} - -Features can be renamed and feature options can be renamed with - - \aliasfontfeature{}{} - \aliasfontfeatureoption{}{}{} - Change history -------------- +- v2.2 (2011/09/13) + + * Support alternate selections in CharacterVariant (cvxx in OpenType) + using new syntax `[CharacterVariant=5:2]`. + * Add `fontspec`-compatible `\oldstylenums` and `\liningnums` commands. + * New programmer's function `\fontspec_set_fontface:NNnn` (for use when + `\zf@basefont` might previously have been queried). + * Log file output is slightly tidier. + * Some old lingering bugs squashed: + - Small caps font selection was broken in some cases. + (Thanks Enrico Gregorio.) + - Fonts loaded by filename with under-specified shapes threw an error + (e.g., asking explicitly for bold but not italic). + (Thanks Vafa Khalighi.) + * Documentation improvements largely due to Markus Böhning. + * Many internal changes, among which: + - `xkeyval` package no longer used for option processing; + `expl3`'s `l3keys` used instead. + This allows `fontspec` to be loaded before `\documentclass` + (thanks Heiko Oberdiek for reporting the issue) + and fixes a potential conflict with the `preview` package + (thanks again Vafa). + - Internal names changed; avoid "\zf@basefont", "\zf@family", etc. + from now on -- there are public interfaces now to get access to the + same information + - Update `expl3` support to latest CTAN version. + +- v2.1g (2011/08/02) + + * No longer uses the binhex package, avoiding some name clashes with TIPA + - v2.1f (2011/02/26) * Finally add a real error message when a font cannot be found! @@ -140,7 +154,7 @@ Change history to being "native expl3". - v2.1 (2010/09/19) - + * Now load xunicode internally for consistent behaviour in XeLaTeX and LuaLaTeX. * Font commands now include \fontencoding internally, easing their @@ -151,7 +165,7 @@ Change history in the transition to v2. * Bug fix for a problem triggered after counters got too high. -- v2.0c (2010/08/01) +- v2.0c (2010/08/01) Bug fix and documentation tune-up. * Significant bug fix reported simultaneously by Enrico Gregorio and @@ -159,7 +173,7 @@ Change history * Many documentation improvements and additions due to David Perry. * Documentation typo thanks to John McChesney-Young -- v2.0b (2010/07/14) +- v2.0b (2010/07/14) *Actually* the final release before TeX Live 2010. * Improved examples in the documentation, with fewer proprietary fonts @@ -169,9 +183,9 @@ Change history * New OpenType feature `CharacterVariant` now supported * Minor change: `Ligatures=Historical` is now `Ligatures=Historic` for consistency -- v2.0a (2010/07/11) +- v2.0a (2010/07/11) Final release before TeX Live 2010. - + * Bug fix for the Language setting being ignored * Add programmer's command `\fontspec_glyph_if_exist:NnTF` * Many documentation improvements, especially for LuaTeX features @@ -261,7 +275,7 @@ Test suite: (within testsuite/) F*.ltx Test file for both engines Documentation sources: - doc/*.pdf These are pre-generated example outputs for + doc/*.pdf These are pre-generated example outputs for direct inclusion in the documentation License diff --git a/Master/texmf-dist/doc/latex/fontspec/fontspec-example.tex b/Master/texmf-dist/doc/latex/fontspec/fontspec-example.tex index 8f1eb4da52e..7db95ae551d 100644 --- a/Master/texmf-dist/doc/latex/fontspec/fontspec-example.tex +++ b/Master/texmf-dist/doc/latex/fontspec/fontspec-example.tex @@ -14,7 +14,7 @@ \section*{The basics of the \textsf{fontspec} package} The \textsf{fontspec} package enables automatic font selection -for \LaTeX{} documents typeset with Xe\TeX{} or \LuaTeX. +for \LaTeX{} documents typeset with Xe\TeX{} or Lua\TeX. The basic command is {\centering \verb|\fontspec[font features]{font display name}|.\par} diff --git a/Master/texmf-dist/doc/latex/fontspec/fontspec-testsuite.pdf b/Master/texmf-dist/doc/latex/fontspec/fontspec-testsuite.pdf index 7bc955273b6..4f84fa2aab6 100644 Binary files a/Master/texmf-dist/doc/latex/fontspec/fontspec-testsuite.pdf and b/Master/texmf-dist/doc/latex/fontspec/fontspec-testsuite.pdf differ diff --git a/Master/texmf-dist/doc/latex/fontspec/fontspec.pdf b/Master/texmf-dist/doc/latex/fontspec/fontspec.pdf index 5b7392d96b5..2e2bf44b92e 100644 Binary files a/Master/texmf-dist/doc/latex/fontspec/fontspec.pdf and b/Master/texmf-dist/doc/latex/fontspec/fontspec.pdf differ -- cgit v1.2.3