summaryrefslogtreecommitdiff
path: root/src/luaotfload-parsers.lua
Commit message (Collapse)AuthorAgeFilesLines
* [features,parsers] implement font fallbacksPhilipp Gesang2016-02-191-4/+5
| | | | | | | | | | | | | | | | | | | | | 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.
* [parsers] rework combo syntaxPhilipp Gesang2016-02-191-17/+27
| | | | | | | | | | | Use arrows to emphasise what’s mapped. Allow whitespace to visually separate items. Also allow optional grouping with parentheses. Now it’s possible to define a combination as follows: \font \f = "combo: 1 -> 42; 2 -> 1337, U+0042-U+0084; 3 -> (55, 0x54 * 0x45 * 0x58)"
* [parsers] allow whitespace around combo elementsPhilipp Gesang2016-02-191-7/+10
| | | | | | | | | | This gives more leeway to the notation, allowing font definitions to become more readable: \font \f = "combo: 1 / \fontid\one, 2 / \fontid\two / 0x41-0x5a, 3 / \fontid\three / 0x42, 4 / \fontid\three / 0x54 * 69 * U+58"
* [parsers,features] parse combo requestsPhilipp Gesang2016-02-151-0/+30
| | | | | | | Highly experimental at this point. The font request parser has been extended to handle combinations of already defined fonts. Nothing else has been implemented yet, so the request handler will simply error out with a message.
* [*] kill off file headersPhilipp Gesang2015-11-051-3/+1
| | | | We have the VCS info in the status file; these things are just silly.
* [main, parsers] prepare for deferred initializationPhilipp Gesang2015-09-271-27/+22
|
* [parsers] check fontconfig includes at another part of the scanner and add ↵Philipp Gesang2015-06-181-11/+20
| | | | more verbose messages
* [parsers] set hard limit on fontconfig scanner recursion depthPhilipp Gesang2015-06-181-11/+30
|
* [parsers] fix tracking of included fontconfig filesPhilipp Gesang2015-06-181-11/+14
| | | | | | | | Addresses issue https://github.com/lualatex/luaotfload/issues/275 There indeed was a check missing for included files. Since a corresponding check for included directories was in effect it probably masked the potential stack blowthrough.
* [parsers] at higher log levels, display information about fontconfig files ↵Philipp Gesang2015-06-181-0/+6
| | | | being read
* [parsers] indent consistentlyPhilipp Gesang2014-07-191-47/+49
| | | | | Gets rid of even more ugliness caused by the recent unification of the parsers.
* [parsers] fix damage to indentation caused by refactoringPhilipp Gesang2014-07-181-31/+31
|
* [parsers] fix missing argument to fontconfig scannerPhilipp Gesang2014-07-181-17/+45
| | | | | | | The reference to ``find_files`` didn’t get passed on to recursive calls which caused an error if multiple directories are searched. Reported by Norbert Preining.
* [parsers] convert dashes to underscores in ini parserPhilipp Gesang2014-07-131-2/+2
|
* parsers: remove obsolete commentPhilipp Gesang2014-06-091-3/+0
|
* Merge branch 'texlive2014' of github:lualatex/luaotfload into texlive2014Philipp Gesang2014-06-071-17/+24
|\
| * Fix issue #218: support XDG_DATA_HOME for <dir> nodesReuben Thomas2014-06-061-17/+24
| |
* | [tests] add test for config file syntaxPhilipp Gesang2014-04-211-2/+2
| |
* | [parsers] add INI file parserPhilipp Gesang2014-04-211-1/+120
| |
* | [parsers] use less ambiguous identifier for localsPhilipp Gesang2014-04-211-10/+10
|/
* [*] move source files to ./srcPhilipp Gesang2014-02-121-0/+578