diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2016-02-19 22:41:23 +0100 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2016-02-19 22:48:02 +0100 |
commit | 3447815896954281938500d49bedef715078a140 (patch) | |
tree | d41348716e437e223fcf30ae636c9bc32e645639 /.gitignore | |
parent | 9e04cce348b4de350b2e0612698c81311e6e6e9d (diff) | |
download | luaotfload-3447815896954281938500d49bedef715078a140.tar.gz |
[features,parsers] implement font fallbacks
Building on the combination mechanism, this allows defining fallback
fonts of which all glyphs are pulled that aren’t currently part of the
base font. Example:
\input luaotfload.sty
\font \lm = file:lmroman10-regular.otf:mode=base
\font \cmu = file:cmunrm.otf:mode=base
\font \lmu = "combo: 1->\fontid\lm; 2->\fontid\cmu,fallback"
\lmu Eh bien, mon prince. Gênes et Lueques ne sont plus que des
apanages, des поместья, de la famille Buonaparte.
\bye
This allows setting Latin Modern text that contains Cyrillic letters.
Note that -- as with the other combinations -- only glyphs are
considered, no other properties of the fallback font. So besides the
occasional letter in a different script this functionality is probably
useless.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions