| 1 |
Change history |
| 2 |
============== |
| 3 |
|
| 4 |
## v2.9g (2025/09/29) |
| 5 |
|
| 6 |
* Update internals, keep the lights on. |
| 7 |
|
| 8 |
|
| 9 |
## v2.9f (2024/05/11) |
| 10 |
|
| 11 |
* Update Scripts supported to OpenType specification 1.9.1 / Unicode 16.0. Many thanks to Werner Lemberg. (#521) |
| 12 |
* Many documentation typo fixes (included in this file!). Many thanks mbertucci47. (#522) |
| 13 |
* Add prerelease PDF to the online documentation. Thanks Yukai Chou for fixing the workflow. (#523) |
| 14 |
|
| 15 |
|
| 16 |
## v2.9e (2024/05/11) |
| 17 |
|
| 18 |
* Fix regression with automatic detection and selection of small caps when the font |
| 19 |
script or language was requested but not found. (#517) |
| 20 |
|
| 21 |
* Add additional tests to check against regressions. (#516, #518) |
| 22 |
|
| 23 |
* Improve message in log file when defining a font without small caps. |
| 24 |
|
| 25 |
* Demote warnings when Script or Language are requested but not found to the log file |
| 26 |
instead of the console. (#421) |
| 27 |
|
| 28 |
|
| 29 |
## v2.9d (2024/05/07) |
| 30 |
|
| 31 |
* Now that `Script` and `Language` are retained even if the font doesn't support them, |
| 32 |
we can no longer check for font feature existence before applying the OpenType tags. |
| 33 |
This release removes checking. (#515) |
| 34 |
|
| 35 |
* Fix bug/regression in loading font families constructed from fonts with different file |
| 36 |
extensions; e.g.: (#514) |
| 37 |
|
| 38 |
\setmainfont{MyLato} |
| 39 |
[ |
| 40 |
UprightFont = Lato-Regular.ttf , |
| 41 |
BoldFont = FiraSans-Bold.otf , |
| 42 |
] |
| 43 |
|
| 44 |
|
| 45 |
## v2.9c (2024/05/03) |
| 46 |
|
| 47 |
* Fix copy/paste regression bug with the `Language` feature (primarily exposed through `babel` package). (#513) |
| 48 |
* Re-sync with `expl3` for deprecated commands. |
| 49 |
|
| 50 |
|
| 51 |
## v2.9b (2024/04/27) |
| 52 |
|
| 53 |
* Add new `Letters=Uppercase` (LuaLaTeX only) as an interface to `luaotfload` |
| 54 |
feature which automatically performs case-changing at the font level |
| 55 |
(i.e., not using macros to process the text tokens). (#461) |
| 56 |
* Fix long-standing bug when loading fonts which only have extensions specified internally to the font |
| 57 |
shape (#504). E.g.: |
| 58 |
|
| 59 |
\setmainfont{pagella}[ UprightFont = texgyrepagella-regular.otf ] |
| 60 |
|
| 61 |
* If a font is loaded with a specific script (e.g. `Script=CJK`) and it is not |
| 62 |
available within the font, `fontspec` previously would fall back on a default script. |
| 63 |
This is now changed to always pass through the requested script so the renderer can |
| 64 |
make use of that information regardless of whether the font itself supports the script. |
| 65 |
(#507) |
| 66 |
* Remove LuaTeX code that resets various `hypenchar` settings seemingly erroneously. (#344) |
| 67 |
* Rework documentation to remove reference to local and non-free fonts. This allows |
| 68 |
compilation via Github Actions, which will aid streamlining/automating releases in the future. (#157, #465) |
| 69 |
* Adjust approach to removing spaces from font names internally. This may have unintended |
| 70 |
consequences, please write if so. (#484) |
| 71 |
* Work around clash if a class defines an option of (say) `math=foo`, where `fontspec` |
| 72 |
is expecting `math=true`. Now, the global option will be ignored. (#501) |
| 73 |
|
| 74 |
|
| 75 |
## v2.9a (2024/02/13) |
| 76 |
|
| 77 |
* Added a `Scale=MatchAveragecase` parameter which averages `Scale=MatchLowercase` and `Scale=MatchUppercase`. |
| 78 |
* Switched options to LaTeX keyval handler. |
| 79 |
* Added option `verbose` to undo silent/quiet. |
| 80 |
* `euenc`/`tuenc` options are now obsolete (TU is the only encoding). |
| 81 |
* Support variable fonts under LuaLaTeX. |
| 82 |
* Skip scanning for filenames when loading fonts by name on LuaLaTeX. |
| 83 |
* Allow restricting filename lookup to kpathsea lookups using `KpseOnly`. |
| 84 |
* Added support for named colors from l3color. |
| 85 |
* Support with lualatex spotcolors and cmyk colors in the pdf. |
| 86 |
|
| 87 |
|
| 88 |
## v2.8a (2022/01/15) |
| 89 |
|
| 90 |
* Add `SwashFont` and `BoldSwashFont` features to support LaTeX's now-builtin `\textsw` |
| 91 |
and `\swshape` commands, with matching `SwashFeatures` and `BoldSwashFeatures`. |
| 92 |
A simple implementation that has scope to get more complex if need be. |
| 93 |
* Remove some legacy code that extended the NFSS in ways that are now handled by |
| 94 |
LaTeX2e natively. |
| 95 |
* Long neglected updates through various Github Issues and pull requests. |
| 96 |
Thanks for your patience with the delays. |
| 97 |
|
| 98 |
|
| 99 |
## v2.7i (2020/02/21) |
| 100 |
|
| 101 |
* Define both `b` and `bx` font series by default to avoid spurious warnings in some |
| 102 |
cases, and broken behaviour in pathological cases. |
| 103 |
|
| 104 |
|
| 105 |
## v2.7h (2020/02/03) |
| 106 |
|
| 107 |
* Erroneous uses of `language=DFLT` changed to `language=dflt`. |
| 108 |
* Fix spurious error in some cases of `SlantedFont` and `BoldSlantedFont` |
| 109 |
being specified in a `.fontspec` file. |
| 110 |
* Fix regression with `unicode-math` related log files showing the wrong |
| 111 |
NFSS-based font ‘identifier’. |
| 112 |
|
| 113 |
|
| 114 |
## v2.7g (2020/01/26) |
| 115 |
|
| 116 |
* Fix regression that broke changing the default encoding after `fontspec` was loaded |
| 117 |
(e.g., to use legacy fonts by default but use a `fontspec` font occasionally). |
| 118 |
* Fix bug exhibited in `polyglossia` and perhaps elsewhere when `Script` is set without |
| 119 |
a corresponding `Language`. |
| 120 |
* Use `\familydefault` instead of `\rmdefault` when calculating scaling parameters in |
| 121 |
`Scale=MatchLowercase` and `Scale=MatchUppercase`. |
| 122 |
|
| 123 |
|
| 124 |
## v2.7f (2020/01/24) |
| 125 |
|
| 126 |
* Rename font feature `Letters=Uppercase` to `Style=Uppercase`, as this feature does |
| 127 |
not generally affect the letters themselves, only symbols and accents. |
| 128 |
The old name will be retained for the time being. |
| 129 |
* Rename `Style=TitlingCaps` to `Style=Titling`. |
| 130 |
* Track changes in both LaTeX2e and `expl3`. |
| 131 |
* Fix long-standing (but never noticed?) bug that successive `\addfontfeatures` |
| 132 |
would overwrite previous ones when using `UprightFeatures={...}` or similar. |
| 133 |
Now the ‘`UprightFeatures`’ are accumulated. |
| 134 |
* Remove AAT font examples from the documentation — support for many AAT fonts now |
| 135 |
appears broken with latest versions of macOS. |
| 136 |
|
| 137 |
|
| 138 |
## v2.7e (2020/01/09) |
| 139 |
|
| 140 |
* Rename for `Renderer=HarfBuzz` (the old `Harfbuzz` name is kept for compatibility) |
| 141 |
* Track upcoming changes in LaTeX2e release for 2020. |
| 142 |
* Remove/reword some out-of-date documentation. |
| 143 |
* Remove entirely the patches for 3rd party verbatim packages as `\verbvisiblespace` |
| 144 |
has now been offered by the kernel for a year. |
| 145 |
|
| 146 |
|
| 147 |
## v2.7d (2019/10/19) |
| 148 |
|
| 149 |
* Allow the user to manually change `\rmdefault`, `\sfdefault`, `\ttdefault` |
| 150 |
if desired. Note this could cause problems if the `fontspec` encoding does not |
| 151 |
match the encoding of the specified families. |
| 152 |
* Additional optional argument for `\EncodingCommand`. |
| 153 |
* Suppress spurious warnings for `HyphenChar` feature in XeLaTeX. |
| 154 |
* Add `Ligatures=TeXOff` even though it's not a real OpenType feature. |
| 155 |
(Functionally equivalent to `Ligatures=TeXReset`.) |
| 156 |
* New scripts definitions to match OpenType 1.8.3 (thanks Werner!). |
| 157 |
* Documentation changes for `Numbers=Arabic`, `HypenChar=None` for `\ttfamily`. |
| 158 |
* Documentation fixes (thanks `muzimuzhi`!). |
| 159 |
* Prepare for `FakeBold` being available in `luaotfload` (thanks Khaled!). |
| 160 |
* Bug fix for doubled + symbol when setting `tlig` feature in LuaTeX. |
| 161 |
* Bug fix for Harfbuzz use. (Support still very minimal I'm afraid.) |
| 162 |
|
| 163 |
|
| 164 |
## v2.7c (2019/03/15) |
| 165 |
|
| 166 |
* Two optimisations reduce time for font definitions with a large number of |
| 167 |
`FontFace` options. Thanks to Bob Tennent for the test file and bringing |
| 168 |
the problem to my attention. |
| 169 |
|
| 170 |
|
| 171 |
## v2.7b (2019/02/12) |
| 172 |
|
| 173 |
* Fix regression in loading `Language=Turkish`. This now allows users to define more |
| 174 |
than one OpenType tag when defining a language name, where the first tag found is |
| 175 |
the one selected for the font. E.g., |
| 176 |
|
| 177 |
\newfontlanguage{Turkish}{TRK,TUR} |
| 178 |
|
| 179 |
when selected, this first checks for the existence of the TRK language tag, and if |
| 180 |
not found then checks for the TUR language tag to use if available. |
| 181 |
|
| 182 |
* Add new `Renderer` options for LuaTeX that enable the HarfBuzz engine. These only |
| 183 |
work running under `luahbtex` and are currently experimental. The new options are |
| 184 |
`Harfbuzz`, `OpenType`, `AAT`, and `Graphite`. |
| 185 |
|
| 186 |
* Always try to remove ‘clashing’ font features inside `\addfontfeatures` even in |
| 187 |
cases when the requested font feature doesn't exist. E.g., now if a font is loaded |
| 188 |
with `Numbers=OldStyle` and *doesn't have* `Numbers=Lining`, requesting the latter |
| 189 |
will still reset the former. |
| 190 |
|
| 191 |
* Add `pxfonts`, `txfonts`, `newpxmath`, `newtxmath`, `mtpro2` to the list |
| 192 |
of packages that automatically invoke `no-math`. |
| 193 |
|
| 194 |
* Add `\providefontfamily`, `\setfontface`, `\renewfontface`, and `\providefontface`. |
| 195 |
|
| 196 |
* Add local/global distinction with `\fontspec_(g)set_family:Nnn` and `\fontspec_(g)set_fontface:NNnn`. |
| 197 |
|
| 198 |
|
| 199 |
## v2.7a (2019/01/25) |
| 200 |
|
| 201 |
* One last (?!) fix for recent regression (!!). I am not getting enough sleep at the moment and it is too hot. |
| 202 |
* Add `LocalForms=On/Off/Reset` to control the `locl` OpenType tag. |
| 203 |
* Reorganise some documentation. |
| 204 |
* Remove redundant redefinition of `\-` which is nowadays defined correctly by the LaTeX2e kernel. |
| 205 |
* Add code to remove the patching of verbatim commands and environments when the new |
| 206 |
`\verbvisiblespace` command is defined in a future version of LaTeX2e. |
| 207 |
|
| 208 |
|
| 209 |
## v2.7 (2019/01/24) |
| 210 |
|
| 211 |
* Add new `ScaleAgain` feature for compounding scale factors. |
| 212 |
(This is largely to support `unicode-math` but may be useful by others.) |
| 213 |
* `\oldstylenums` no longer overwritten if `textcomp` loaded after `fontspec`. |
| 214 |
* More fixes for recent regressions (sorry!). |
| 215 |
|
| 216 |
|
| 217 |
## v2.6l (2019/01/18) |
| 218 |
|
| 219 |
* REALLY fix crash when loading fonts that are missing a requested script. |
| 220 |
* Lots of internal logic changes for what should have been an easy fix :( |
| 221 |
|
| 222 |
|
| 223 |
## v2.6k (2019/01/16) |
| 224 |
|
| 225 |
* Fix crash when loading fonts that are missing a requested script. |
| 226 |
|
| 227 |
|
| 228 |
## v2.6j (2019/01/10) |
| 229 |
|
| 230 |
* Re-sync with `expl3` for deprecated commands. |
| 231 |
* Added support for `\hbar` if anyone is relying on `fontspec` to emulate legacy maths. |
| 232 |
|
| 233 |
|
| 234 |
## v2.6i (2018/08/02) |
| 235 |
|
| 236 |
* Emergency bug-fix -- a one-char typo broke loading of bold fonts! |
| 237 |
* Some minor updates to the docs regarding “family names” of fonts. |
| 238 |
* Using `\defaultfontfeatures` to specify a font face by a custom name can now use |
| 239 |
`Font=` to specify the filename. |
| 240 |
|
| 241 |
|
| 242 |
## v2.6h (2018/07/30) |
| 243 |
|
| 244 |
* `expl3` internals updated so loading `expl3` with the `check-declarations` option will run without error. |
| 245 |
* Fix bug with `FontFace` in which spaces weren't being ignored. |
| 246 |
|
| 247 |
|
| 248 |
## v2.6g (2017-11-09) |
| 249 |
|
| 250 |
* Bugfix for clash introduced with last version. When loading `babel` |
| 251 |
before `fontspec` the following error arose: |
| 252 |
|
| 253 |
! Control sequence \latinencoding already defined. |
| 254 |
|
| 255 |
|
| 256 |
## v2.6f (2017-11-05) |
| 257 |
|
| 258 |
* Fix loading of Graphite fonts and add a little documentation (a better interface is needed, though) |
| 259 |
* Correct and simplify some internal code that fixes a bug in the way some fonts are displayed in `\tracingoutput` mode. |
| 260 |
* This also fixes an obscure bug using the API in which a query for a selected font feature |
| 261 |
would test against the upright font in the current family regardless of the face/shape actually in use. |
| 262 |
* This package now complies with the `expl3` option `check-declarations`. |
| 263 |
|
| 264 |
|
| 265 |
## v2.6e (2017/09/22) |
| 266 |
|
| 267 |
* Re-enable use of `HyphenChar=None` in LuaLaTeX. (Hyphenation and font choice are |
| 268 |
decoupled in LuaTeX, except for this one setting.) |
| 269 |
* Some internal changes needed by `unicode-math` to fix some cross-over code. |
| 270 |
|
| 271 |
|
| 272 |
## v2.6d (2017/08/14) |
| 273 |
|
| 274 |
* Update Scripts to Unicode 1.8.2 (thanks Werner) |
| 275 |
* Remove `HyphenChar` feature when running LuaTeX — use `\prehyphenchar` LuaTeX primitive instead. |
| 276 |
* Rewrite test suite so that automated testing actually functions correctly and automatically. Thanks to Joseph for introducing me to Travis CI. |
| 277 |
|
| 278 |
|
| 279 |
## v2.6c (2017/07/23) |
| 280 |
|
| 281 |
* Emergency bug-fix. |
| 282 |
|
| 283 |
|
| 284 |
## v2.6b (2017/07/16) |
| 285 |
|
| 286 |
* Fix conflict with Polyglossia and `Scale=MatchLowercase`. |
| 287 |
* New feature `IgnoreFontspecFile` to avoid loading the `.fontspec` file for a font. |
| 288 |
* Fix regression with `\fontspec_if_feature:nTF` |
| 289 |
(which broke `realscripts`, oops — must improve my test suite) |
| 290 |
|
| 291 |
|
| 292 |
## v2.6a (2017/03/31) |
| 293 |
|
| 294 |
* Fix crashing bug with `..Reset` and `ResetAll` keys. |
| 295 |
* Fix crashing bug with `\newfontface`. |
| 296 |
|
| 297 |
## v2.6 (2017/02/12) |
| 298 |
|
| 299 |
* Change the new behaviour of `\emph` (and `\emfontdeclare`) to act only on the NFSS font shape; using the series as well was too fragile. |
| 300 |
* Add `\strong` as the "weight" analogy to `\emph`. This will need some extra syntactic sugar from `fontspec` before it becomes truly useful. |
| 301 |
* Add `Numbers=Tabular` alias for `Numbers=Monospaced`. |
| 302 |
* Fix occasional bug with "chained" keyval choices such as `Numbers={Lining,Proportional}` in which only the first choice would be recognised. |
| 303 |
* Fix interaction with `RawFeature` and "proper" `fontspec` features. |
| 304 |
* Fix regression in which `C:\...` file paths in Windows couldn't be used. |
| 305 |
* Fix regression in XeTeX in which `Ligatures=TeX` overrode `Mapping=..` regardless of where the former was declared in the feature list. |
| 306 |
* Fix bug (sorry!) in `\newopentypefeature`. |
| 307 |
* Improve monospace font in documentation. |
| 308 |
|
| 309 |
* N.B. There is currently a known issue with TTC fonts and LuaTeX; currently they cannot be loaded through the `fontspec` interface, but this issue should soon be addressed by the `luaotfload` package. |
| 310 |
|
| 311 |
## v2.5d (2017/01/24) "oops" |
| 312 |
|
| 313 |
* Add `\fontspec_if_small_caps:TF` |
| 314 |
* Fix bug in `\emph` (!!) |
| 315 |
|
| 316 |
## v2.5c (2017/01/20) "Christmas 2016 release" |
| 317 |
|
| 318 |
* `TU` font encoding now default, with encoding files provided by the kernel. |
| 319 |
* Experimental interface added for customising encodings. |
| 320 |
* Add feature `Ornament=`*n* corresponding to OpenType feature `+ornm=`*n*. |
| 321 |
* Add feature `FontIndex=`*n* to support TrueType Collection (TTC) files. |
| 322 |
* Nested `\emph` is now much smarter and will cleverly nest even if manual font changes are made. |
| 323 |
* Tries to resolve situations when font features clash. |
| 324 |
E.g., `Numbers={Uppercase,Lowercase}` will define only `+onum` rather than the previous behaviour of `+lnum;+onum` to let the engine sort things out. Coverage may still be preliminary. |
| 325 |
* Add API function `\fontspec_if_current_feature:nTF` for querying selected features based on their OpenType tag. |
| 326 |
* Add user function `\IfFontFeatureActiveTF` for querying selected features based on their `fontspec` specification. |
| 327 |
* All "tag-based" OpenType features are now provided in `Feat`/`FeatOff`/`FeatReset` forms to disable and reset them. |
| 328 |
* `ResetAll` provided for all "tag-based" OpenType feature keys. (E.g., `Ligatures=ResetAll`.) |
| 329 |
* Big table of OpenType feature tags to help cross-reference which fontspec feature (if any) corresponds to which OpenType feature. |
| 330 |
* Bug fixed for `Script` selection. |
| 331 |
|
| 332 |
## v2.5b (2016/05/14) "More bugs" (somehow never released) |
| 333 |
|
| 334 |
* Fixed bug with garbage text printed in certain "verbatim" situations under LuaTeX. |
| 335 |
* Improve interaction between optical sizes and small caps. |
| 336 |
* Remove documentation for `FeatureFile`, since this is no longer supported under LuaLaTeX |
| 337 |
(there are other methods to perform the same thing, but no "easy" user interface that `fontspec` can provide at this stage). |
| 338 |
* Fix regression causing an error message if `fontspec` loaded before `\documentclass'. |
| 339 |
|
| 340 |
## v2.5a (2016/02/01) "Bugs fixed" |
| 341 |
|
| 342 |
* Rather embarrassing bug fix! (`unicode-math` was broken.) |
| 343 |
* Remember to add the `fontspec.cfg` file to the distribution. |
| 344 |
* Remove `+trep` from `Ligatures=TeX` (no longer necessary). |
| 345 |
* Add some basic tests using `l3build`; more to come. |
| 346 |
* Simplify some internal Lua code and package loading code. |
| 347 |
|
| 348 |
## v2.5 (2016/01/30) "TL2016 release" |
| 349 |
|
| 350 |
* Provide a new Unicode font encoding ("TU") to replace EU1/EU2 and xunicode. |
| 351 |
* Activate with package option `[tuenc]'; once it becomes the default (later this year), `[euenc]` option will revert to the old behaviour. |
| 352 |
* New command `\emfontdeclare` for defining font shapes when arbitrarily nesting the `\emph` command. |
| 353 |
* Allow slanted small caps and better internal methods for "combining" font shapes; this fixes a few bugs. |
| 354 |
* Incorporate "new" font script tags for Indic fonts. E.g., when selecting `Script=Bengali`, fontspec will first query the font for the `bng2` OpenType script, and if not found select `beng`. |
| 355 |
* Restrict some font features from being able to be used within `\addfontfeatures` that were causing some font-loading confusion. |
| 356 |
* Fixed behaviour in which `\baselineskip` and `\f@size` would (possibly) change values after loading the package. |
| 357 |
* Remove copy of `fixltx2e`'s code for footnote symbols; handled by LaTeX2e now. |
| 358 |
* Deprecate `ExternalLocation` for the simpler (and identical) `Path` option. |
| 359 |
* Improvement to some warnings/info messages. |
| 360 |
* Improve structure of code. |
| 361 |
|
| 362 |
## v2.4e (2015/09/24) |
| 363 |
|
| 364 |
* Allow `[Path=...]` to be specified for individual font faces. |
| 365 |
* Continue to normalise naming with expl3. (Ongoing.) |
| 366 |
|
| 367 |
## v2.4d (2015/07/22) |
| 368 |
|
| 369 |
* Rename an internal expl3 function or two. |
| 370 |
|
| 371 |
## v2.4c (2015/03/14) |
| 372 |
|
| 373 |
* v2.4b was never released, sorry! |
| 374 |
* This time *really* fix `\@fnsymbol` and avoid overwriting it if already fixed. |
| 375 |
* Fix "`Renderer=Graphite`" (off-by-one error). |
| 376 |
* Fix some edge cases for `\aliasfontfeature`. |
| 377 |
|
| 378 |
## v2.4b (2014/08/23) |
| 379 |
|
| 380 |
* Improve backwards compatibility w.r.t. recent argument order change; |
| 381 |
specifically, if an optional argument is presented before the font name |
| 382 |
then avoid looking for one afterwards. |
| 383 |
* Fix \@fnsymbol; it was defined as a \protected macro, where in fact its internal text-or-math switch needed to be instead. |
| 384 |
* No longer lowercase fontnames internally; this fixes a bug with loading |
| 385 |
mixed-case ".fontspec" files. |
| 386 |
* Fixed some documentation typos/inconsistencies related to recent changes. |
| 387 |
|
| 388 |
## v2.4a (2014/06/21) |
| 389 |
|
| 390 |
* No longer load fixltx2e.sty -- this package should really be loaded before \documentclass. |
| 391 |
* Avoid deprecated l3fp code. |
| 392 |
* A couple of bugs introduced with v2.4 fixed. |
| 393 |
|
| 394 |
## v2.4 (2014/06/01) |
| 395 |
|
| 396 |
* Significant change to the user interface: instead of `\setmainfont[features]{font}`, you now write `\setmainfont{font}[features]`. |
| 397 |
Backwards compatibility is of course preserved. |
| 398 |
|
| 399 |
The reason for this change is to improve the visual comprehension of the font loading syntax with large numbers of font features. |
| 400 |
|
| 401 |
* Defaults for symbolic font families like this can now be specified with |
| 402 |
|
| 403 |
\defaultfontfeatures[\rmfamily]{...} |
| 404 |
|
| 405 |
or |
| 406 |
|
| 407 |
\defaultfontfeatures[\headingsfont]{...} |
| 408 |
\newfontfamily\headingsfont{...} |
| 409 |
|
| 410 |
* New `PunctuationSpace=WordSpace` and `PunctuationSpace=TwiceWordSpace` settings, intended for monospaced fonts; these force the space after a period to be exactly one or two spaces wide, respectively, which preserves character alignment across lines. |
| 411 |
|
| 412 |
* The features above now allow changes to the default settings: |
| 413 |
|
| 414 |
* `Ligatures=TeX` is enabled by default with `\setmainfont` and `\setsansfont`. |
| 415 |
* `WordSpace={1,0,0}` and `PunctuationSpace=WordSpace` are now enabled by default for `\setmonofont` to produce better monospaced results. |
| 416 |
* (These can be adjusted by created your own `fontspec.cfg` file.) |
| 417 |
|
| 418 |
* `SizeFeatures` can now be nested inside `ItalicFeatures` (etc.) and behaves correctly. This has been a very long overdue bug! |
| 419 |
|
| 420 |
* New feature `NFSSFamily=ABC` to set the NFSS family of a font to “`ABC`”. Useful |
| 421 |
when other packages use the `\fontfamily{ABC}\selectfont` interface. |
| 422 |
|
| 423 |
* New feature `FontFace = {series}{shape}{font}` allows a font face to be loaded with a specific NFSS font series and font shape. |
| 424 |
A more verbose syntax allows arbitrary font features as well (and this also plays nicely with `SizeFeatures`): |
| 425 |
|
| 426 |
\fontspec{myfont.otf}[ |
| 427 |
FontFace = {b}{ui}{Font = myfont-bui.otf, <features>} , |
| 428 |
] |
| 429 |
|
| 430 |
The code above, for example, will allow a bold upright italic font to be selected using the standard NFSS interface: `\fontseries{b}\fontshape{ui}\selectfont`. |
| 431 |
|
| 432 |
* `\defaultfontfeatures+` (note the `+`) can now be used to append to the default font feature set. |
| 433 |
|
| 434 |
* Setting the `SmallCapsFont` using the `*`-replacement notation has been improved/fixed. |
| 435 |
|
| 436 |
## v2.3c (2013/05/20) |
| 437 |
|
| 438 |
* Compatibility with luaotfload 2013/05/20 2.2c, support for older version |
| 439 |
removed. |
| 440 |
|
| 441 |
## v2.3b (2013/05/12) |
| 442 |
|
| 443 |
* Compatibility with new (and future) version of luaotfload |
| 444 |
|
| 445 |
## v2.3a (2013/03/16) |
| 446 |
|
| 447 |
* Bug fix update to retain compatibility with new expl3 |
| 448 |
|
| 449 |
## v2.3 (2013/02/25) |
| 450 |
|
| 451 |
* Add support for per-font options in `\defaultfontfeatures` |
| 452 |
* Add support for `<fontname>.fontspec` per-font configuration files |
| 453 |
* Keep up-to-date with expl3 changes |
| 454 |
|
| 455 |
## v2.2b (2012/05/06) "TL2012 version" |
| 456 |
|
| 457 |
* Fix error with AutoFakeSlant/Bold (#113) and when used with external fonts (#128) |
| 458 |
* Add warning when using FakeBold in LuaLaTeX, where it's not supported |
| 459 |
* Fix slshape misassignment introduced in v2.2 |
| 460 |
* Allow fontspec to be loaded before \documentclass |
| 461 |
(or rather fix the regression that broke this) |
| 462 |
* Avoid using the calc package now that it's no longer loaded by expl3 |
| 463 |
* Allow multiple values to StylisticSet and Alternate font options |
| 464 |
|
| 465 |
## v2.2a (2011/09/14) |
| 466 |
|
| 467 |
* Bug fix: improve backwards compatibility for packages that use old |
| 468 |
fontspec internals such as mathspec. |
| 469 |
|
| 470 |
## v2.2 (2011/09/13) |
| 471 |
|
| 472 |
* Support alternate selections in CharacterVariant (cvxx in OpenType) |
| 473 |
using new syntax `[CharacterVariant=5:2]`. |
| 474 |
* Add `fontspec`-compatible `\oldstylenums` and `\liningnums` commands. |
| 475 |
* New programmer's function `\fontspec_set_fontface:NNnn` (for use when |
| 476 |
`\zf@basefont` might previously have been queried). |
| 477 |
* Log file output is slightly tidier. |
| 478 |
* Some old lingering bugs squashed: |
| 479 |
- Small caps font selection was broken in some cases. |
| 480 |
(Thanks Enrico Gregorio.) |
| 481 |
- Fonts loaded by filename with under-specified shapes threw an error |
| 482 |
(e.g., asking explicitly for bold but not italic). |
| 483 |
(Thanks Vafa Khalighi.) |
| 484 |
* Documentation improvements largely due to Markus Böhning. |
| 485 |
* Many internal changes, among which: |
| 486 |
- `xkeyval` package no longer used for option processing; |
| 487 |
`expl3`'s `l3keys` used instead. |
| 488 |
This allows `fontspec` to be loaded before `\documentclass` |
| 489 |
(thanks Heiko Oberdiek for reporting the issue) |
| 490 |
and fixes a potential conflict with the `preview` package |
| 491 |
(thanks again Vafa). |
| 492 |
- Internal names changed; avoid "\zf@basefont", "\zf@family", etc. |
| 493 |
from now on -- there are public interfaces now to get access to the |
| 494 |
same information |
| 495 |
- Update `expl3` support to latest CTAN version. |
| 496 |
|
| 497 |
## v2.1g (2011/08/02) |
| 498 |
|
| 499 |
* No longer uses the binhex package, avoiding some name clashes with TIPA |
| 500 |
|
| 501 |
## v2.1f (2011/02/26) |
| 502 |
|
| 503 |
* Finally add a real error message when a font cannot be found! |
| 504 |
* Add "Letters=Random" feature. |
| 505 |
* Fix bug in which "Unknown feature `'..." warnings |
| 506 |
were shown in the log file. |
| 507 |
* Some small documentation improvements. |
| 508 |
|
| 509 |
## v2.1e (2010/11/17) |
| 510 |
|
| 511 |
* Internal changes for luatexbase v0.3. |
| 512 |
|
| 513 |
## v2.1d (2010/11/07) |
| 514 |
|
| 515 |
* Bug fix when \itdefault is "sl" rather than "it". |
| 516 |
E.g., when using the "slides" class. |
| 517 |
* Minor internal changes, including merging some code from unicode-math. |
| 518 |
|
| 519 |
## v2.1c (2010/10/13) |
| 520 |
|
| 521 |
* New documentation for defining custom kerning and ligatures |
| 522 |
when using LuaLaTeX. |
| 523 |
* Fix bug when defining bold italic fonts by filename. |
| 524 |
* Avoid infinite loop when the Latin script is requested for a font |
| 525 |
that does not contain it. TODO: a suitable fallback script should be |
| 526 |
chosen; right now we just ignore the script selection. |
| 527 |
|
| 528 |
## v2.1b (2010/09/29) |
| 529 |
|
| 530 |
* Fix for bug introduced in the last release: |
| 531 |
small caps weren't being automatically selected correctly |
| 532 |
|
| 533 |
## v2.1a (2010/09/27) |
| 534 |
|
| 535 |
* Fix for colours bug introduced in the last update |
| 536 |
* Fix for for bad interaction with LuaLaTeX and fallback fonts |
| 537 |
(such as using \slshape when no slanted font specified) |
| 538 |
* Behaviour/messaging improvement when scripts/languages are requested |
| 539 |
that do not exist in the font |
| 540 |
* Fix bug with detecting font features/scripts in some cases with: |
| 541 |
|
| 542 |
- `\fontspec_if_feature:n(TF)` |
| 543 |
- `\fontspec_if_language:n(TF)` |
| 544 |
- `\fontspec_if_current_script:n(TF)` |
| 545 |
- `\fontspec_if_current_language:n(TF)` |
| 546 |
|
| 547 |
* Some messages in the log file are improved |
| 548 |
* Code for "visible space" fixed for LuaLaTeX use |
| 549 |
* Lots of internal changes to bring the implementation closer |
| 550 |
to being "native expl3". |
| 551 |
|
| 552 |
## v2.1 (2010/09/19) |
| 553 |
|
| 554 |
* Now load xunicode internally for consistent behaviour in |
| 555 |
XeLaTeX and LuaLaTeX. |
| 556 |
* Font commands now include \fontencoding internally, easing their |
| 557 |
use together with legacy TeX fonts. |
| 558 |
* Colour & Opacity now behave a little better. |
| 559 |
* Nested emphasis with \emph now also occurs inside a "slanted" shape. |
| 560 |
* Some compatibility commands/options added that were removed. |
| 561 |
in the transition to v2. |
| 562 |
* Bug fix for a problem triggered after counters got too high. |
| 563 |
|
| 564 |
## v2.0c (2010/08/01) |
| 565 |
Bug fix and documentation tune-up. |
| 566 |
|
| 567 |
* Significant bug fix reported simultaneously by Enrico Gregorio and |
| 568 |
Don Hosek. |
| 569 |
* Many documentation improvements and additions due to David Perry. |
| 570 |
* Documentation typo thanks to John McChesney-Young |
| 571 |
|
| 572 |
## v2.0b (2010/07/14) |
| 573 |
*Actually* the final release before TeX Live 2010. |
| 574 |
|
| 575 |
* Improved examples in the documentation, with fewer proprietary fonts |
| 576 |
* All font examples are included as separate images on CTAN, so the |
| 577 |
manual can be compiled (with pdfLaTeX) by anyone, anywhere |
| 578 |
* LuaLaTeX fixes for the StylisticSet and Annotation features |
| 579 |
* New OpenType feature `CharacterVariant` now supported |
| 580 |
* Minor change: `Ligatures=Historical` is now `Ligatures=Historic` for consistency |
| 581 |
|
| 582 |
## v2.0a (2010/07/11) |
| 583 |
Final release before TeX Live 2010. |
| 584 |
|
| 585 |
* Bug fix for the Language setting being ignored |
| 586 |
* Add programmer's command `\fontspec_glyph_if_exist:NnTF` |
| 587 |
* Many documentation improvements, especially for LuaTeX features |
| 588 |
`FeatureFile=...` and `Numbers=Arabic`. |
| 589 |
* Add `Parsi` and `Persian` synonyms for `Language=Farsi` |