summaryrefslogtreecommitdiff log msg author committer range
Commit message (Collapse)AuthorAgeFilesLines
| | | | | | | | | | This makes our own features work with otf.addfeature(). However, for TFM it’s still not functional out of the box since the enhancer is installed at a time when it has not been defined yet. An answer from Hans is pending. In the meantime, we put a crude hack into our font-tfm.lua to allow injecting the enhancer retroactively on Luaotfload init.
* [resolvers,conf] allow “my:” lookups in anon sequencesPhilipp Gesang2016-04-281-10/+9
| | | | | | | | | | | | | | | | | | | | | | This allows to domesticate packages that quite disrespectfully only use “anon:” lookups. Example from the test repo: \documentclass{scrartcl} \usepackage{fontspec} \directlua{ config.luaotfload = config.actions.apply (config.luaotfload, { run = { anon_sequence = { "my" } } }) } \directlua{ luatexbase.add_to_callback( "luaotfload.resolve_font", function (spec) spec.name = "comic.ttf" end, "user.openbsd_style") } \setmainfont{Adobe Premier Deluxe Overpriced} \begin{document} There is no escape. \end{document}
* [tool,resolvers,conf] switch --find lookups to the actual resolversPhilipp Gesang2016-04-281-8/+14
| | | | | | | | The arguments to “--find” on the command line avoided calling the real index API functions and used crude approximations instead. In order to make “--find” obey the new “anon-sequence” configuration item, it needs to access the normal resolvers instead. This requires certain adaptations to allow for a fallback on the “file:” lookup.
* [conf,resolvers] add config option to tweak anon lookup sequencePhilipp Gesang2016-04-281-1/+9
| | | | | | | | | Implements #263 The resolvers have already been decoupled a while ago but the goal of allowing the sequence to be reordered at will was still outstanding. Add a config option “anon-sequence” that is parsed as a comma-delimited list of sequence components.
* [loaders,resolvers] tone down default log noisePhilipp Gesang2016-04-251-7/+5
|
* [resolvers] allow arbitrary sequence lookupsPhilipp Gesang2016-01-271-42/+84
| | | | | | | | This primarily affects the “anon” lookup. However, since we cannot any longer determine the lookup success by crude means, the resolver signature had to be modified to indicate success or failure via the return value. This does no longer match the resolver implementation of Context but the interface has become much cleaner.
* [*] kill off file headersPhilipp Gesang2015-11-051-2/+0
| | | | We have the VCS info in the status file; these things are just silly.
* [tool,resolvers,db] fix references to the fonts tablePhilipp Gesang2015-10-291-16/+16
| | | | This makes the --find option to luaotfload-too work again.
* [main,init,db,resolvers] separate resolvers from main into separate filePhilipp Gesang2015-07-231-0/+256