summaryrefslogtreecommitdiff
path: root/luaotfload-database.lua
Commit message (Collapse)AuthorAgeFilesLines
* set higher loglevels for database tracingPhilipp Gesang2013-05-091-4/+5
|
* [doc] mention manpage in manualPhilipp Gesang2013-05-091-1/+1
|
* add querying of font metadata to luaotfload-toolPhilipp Gesang2013-05-091-11/+15
|
* reduce verbosity of most db related tasksPhilipp Gesang2013-05-061-21/+12
|
* fix unsupported style modifiersPhilipp Gesang2013-05-061-1/+1
|
* activate lookup cache by defaultPhilipp Gesang2013-05-051-22/+4
|
* bump version; add/update attributionsPhilipp Gesang2013-05-041-1/+1
|
* make cache flushing work with new cache filePhilipp Gesang2013-05-031-0/+2
|
* perform match on other font names if family but not subfamily matchesPhilipp Gesang2013-05-011-50/+52
| | | | | | | | | | | | | | | | | | | | | preliminary fix for issue #26 here’s an example that works now but either broke (pre-v1.3) or retrieved the wrong shape with ``/B``: \ifdefined\directlua\input luaotfload.sty\fi %% this should be mono bold \font\libertinemono="Linux Libertine Mono O" at 42pt foo {\libertinemono bar} baz\endgraf %% this should be bold, but isn’t \font\myriadbold="Myriad Pro/B" at 42pt foo {\myriadbold bar} baz\endgraf %% this is bold \font\minionbold="Minion Pro/B" at 42pt foo {\minionbold bar} baz\endgraf \bye also, I refactored parts of the matching function for more clarity
* move lookup cache to separate filePhilipp Gesang2013-04-301-34/+82
|
* add option to disable live db updatesPhilipp Gesang2013-04-291-7/+18
|
* use ``fullname`` in status entriesPhilipp Gesang2013-04-291-24/+24
| | | | | | | This suppresses redundand database updates in the case where a font is found in multiple directories with different timestamps. Also removed references to ``fontdbutil``.
* 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