summaryrefslogtreecommitdiff
path: root/luaotfload-database.lua
Commit message (Collapse)AuthorAgeFilesLines
* refactor optical size matchingPhilipp Gesang2013-06-231-27/+18
|
* treat subfamily style matches as second-ratePhilipp Gesang2013-06-231-8/+5
|
* prioritize exact matches over style synonymsPhilipp Gesang2013-06-231-15/+30
|
* move db version check to load timePhilipp Gesang2013-06-231-13/+12
|
* refine list of style synonymsPhilipp Gesang2013-06-231-8/+35
|
* treat *medium* as a synonym for *bold*Philipp Gesang2013-06-221-4/+6
| | | | | | | | | | | | | | | | | | | | | | | treating *medium* as *regular* weight leads to incorrect matches with Garamond Premier and likely other fonts as well. apparently, this also happened with other typographical programs, e. g. http://blogs.adobe.com/typblography/2008/05/indesign_font_conflicts.html note: the matching algorithm could be rewritten so as to resolve names in two passes: 1. collect a list of candidates. if there is a literal match, pick that one 2. test style synonyms against the candidates according to a precedence list so that “regular” always precedes “medium” to take this thought a bit further, the synonyms could also be ordered by weight according to some assumptions. then we could pick the closest weight present in the database. example: suppose *regular* is assigned a weight index of 3, *medium* gets *4* (i. e. just a tad heavier), and *bold* 7. then the synonym regular would be preferred for the request *regular* if present, but medium would be chosen over bold if there is no *regular* shape. this would probably be overkill, though.
* add extra safeguard against moved files to cached resolverPhilipp Gesang2013-06-221-22/+56
|
* fix input of cached resolverPhilipp Gesang2013-06-221-2/+20
|
* replace tfmdata.name with the quoted specPhilipp Gesang2013-06-021-2/+1
|
* used names.getfilename() to resolve system pathsPhilipp Gesang2013-06-021-7/+19
|
* add option ``--show-blacklist`` to luaotfload-toolPhilipp Gesang2013-05-311-2/+4
|
* redo blacklist buildingPhilipp Gesang2013-05-311-25/+95
| | | | allow blacklisting of directories
* differentiate more name fields when matchingPhilipp Gesang2013-05-311-44/+48
| | | | finally resolves “eb garamond 12” as *eb garamond 12 regular*
* fix name fallbackPhilipp Gesang2013-05-311-13/+29
|
* reorganize db record structurePhilipp Gesang2013-05-311-35/+50
|
* collect second-tier candidates when matching fontnamesPhilipp Gesang2013-05-301-2/+18
|
* copy old filenames table if now new fonts were foundPhilipp Gesang2013-05-301-0/+2
|
* rebuild filename lookup table upon --forcePhilipp Gesang2013-05-301-1/+1
|
* use unbuffered stdoutPhilipp Gesang2013-05-291-2/+3
|
* have file locator return the filename when known fonts are specified without ↵Philipp Gesang2013-05-281-3/+2
| | | | extension
* log duplicate fontsPhilipp Gesang2013-05-271-0/+12
|
* add option prefer-texmf to luaotfload-toolPhilipp Gesang2013-05-271-12/+8
|
* adapt file lookupsPhilipp Gesang2013-05-271-34/+57
|
* restructure dbPhilipp Gesang2013-05-271-10/+71
|
* prepare db structure for texmf prioritizationPhilipp Gesang2013-05-271-55/+77
|
* fix bug that erased the db when suppressing updatesPhilipp Gesang2013-05-271-1/+1
|
* use kpse for texmf lookups (again...)Philipp Gesang2013-05-261-34/+45
|
* apply patch by Ken Brown to preserve case of paths on cygwinPhilipp Gesang2013-05-221-21/+6
|
* fix inconsistency in fontname lookupPhilipp Gesang2013-05-211-2/+4
|
* rename ``make_names()`` -> ``make_savenames()``Philipp Gesang2013-05-141-4/+6
|
* move scan_external_dir() to auxlibPhilipp Gesang2013-05-121-18/+1
|
* implement ``--dry-run`` for filesystem tracingPhilipp Gesang2013-05-111-25/+46
|
* rename ``flush_cache`` -> ``flush_lookup_cache``Philipp Gesang2013-05-111-3/+3
|
* add controls for font cache to ``luaotfload-tool.lua``Philipp Gesang2013-05-111-2/+133
|
* comment unused ``names.scan()``Philipp Gesang2013-05-111-13/+14
|
* make ``save_names()`` and ``save_lookups()`` return a boolPhilipp Gesang2013-05-111-13/+22
|
* Merge commit '9f697f3c5f0e19ab3beab9a2891c42aa8cc8a325'Philipp Gesang2013-05-091-11/+11
|\
| * make file lookups return string instead of pairPhilipp Gesang2013-05-091-11/+11
| |
* | 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``.