summaryrefslogtreecommitdiff
path: root/luaotfload-database.lua
Commit message (Collapse)AuthorAgeFilesLines
...
* remove exceptional handling of texmf fonts (``name:`` always resolves to ↵Philipp Gesang2013-04-291-20/+13
| | | | absolute paths)
* merge newsyntax branch into masterPhilipp Gesang2013-04-291-101/+84
|\
| * only cache ``name:`` lookupsPhilipp Gesang2013-04-291-46/+26
| |
| * add handler for XeTeX slashed notationPhilipp Gesang2013-04-291-2/+0
| |
| * test for file existence again, but try with ``lfs.isfile()`` firstPhilipp Gesang2013-04-281-13/+20
| |
| * catch tfm/ofm before db update; remove ``kpse.lookup()`` as criterion for ↵Philipp Gesang2013-04-281-46/+38
| | | | | | | | resolved font
| * add lookups ``file:``, ``path:``, ``name:``, and ``anon:``Philipp Gesang2013-04-281-2/+2
| |
| * add fallback for specification namePhilipp Gesang2013-04-281-6/+6
| |
| * install the new file: lookup in luaotfload.luaPhilipp Gesang2013-04-261-14/+21
| |
* | update fontconfig testPhilipp Gesang2013-04-271-5/+12
| |
* | reworked fonts.conf parserPhilipp Gesang2013-04-271-93/+217
| | | | | | | | | | | | | | | | | | | | | | improvements: * works without ``io.popen()`` * scans attributes (like ``prefix``) as well * abides by xdg config rules * no line-based parsing * parsing and interpreting the results are now distinct steps (-> less files open at one time) * LPeg instead of string pattern matching
* | Revert to old fonts.conf scanner because of ``io.popen`` restrictionsPhilipp Gesang2013-04-271-45/+95
| | | | | | | | | | | | Apparently ``fc-cat`` would have to be whitelisted in TeX Live if we want to rebuild the database during document compilation. Thanks Élie, FOR POINTing that out to me.
* | drop scanning fonts.conf in favor of `fc-cat`Philipp Gesang2013-04-271-95/+45
|/
* have flush_cache operate on names.dataPhilipp Gesang2013-04-261-6/+6
|
* add ``flush-cache`` option to fontdbutilPhilipp Gesang2013-04-261-14/+19
|
* improve request cachingPhilipp Gesang2013-04-261-87/+115
|
* add draft lookup cachePhilipp Gesang2013-04-261-6/+111
|
* scan fontconfig dirs even though ``$OSFONTDIR`` is setPhilipp Gesang2013-04-251-11/+8
| | | | | | | This is essentially what this change to the TL2011 version does: https://github.com/lualatex/luaotfload/commit/31530badb2681ff3423fe31f5eccf3d05fab1956#L2R657 in response to this issue: https://github.com/lualatex/luaotfload/issues/11
* store preprocessed font names with dbPhilipp Gesang2013-04-251-35/+47
|
* [db] map filenames to db indices instead of pathsPhilipp Gesang2013-04-251-44/+93
|
* add ``--alias`` option to fontdbutilPhilipp Gesang2013-04-251-9/+9
|
* more reliable guard for Libertine MonoPhilipp Gesang2013-04-251-1/+5
|
* accommodate weird subfamily type of Libertine MonoPhilipp Gesang2013-04-251-1/+5
|
* make db reloading require a reason; decrease nesting depth of conditionalsPhilipp Gesang2013-04-241-179/+194
|
* catch irregular ``file:`` lookupsPhilipp Gesang2013-04-241-43/+101
| | | | | | | we now index base names and extensionless base names of font files as well so as to work around quirks of the Xetex compatibility layer. this will probably get removed after the syntax parser is redone.
* collect stats about new additionsPhilipp Gesang2013-04-241-79/+114
|
* pick path normalizer only once per runPhilipp Gesang2013-04-241-48/+75
|
* eliminate loop in db updaterPhilipp Gesang2013-04-241-53/+62
|
* move to human-readable names 1Philipp Gesang2013-04-231-0/+1049