summaryrefslogtreecommitdiff
path: root/src/luaotfload-configuration.lua
Commit message (Collapse)AuthorAgeFilesLines
* [conf,db] make design size dimension configurablePhilipp Gesang2017-01-291-7/+42
|
* [db,conf,doc] kill off references to FF loaderPhilipp Gesang2016-10-171-19/+0
| | | | | The config option must go since the FF based code was removed already some time ago.
* [conf] fix malformed filePhilipp Gesang2016-06-071-1/+0
| | | | | | | | This was introduced with commit 67ad1263d032 during a code removal frenzy. Many thanks to @grizzilus for pointing that one out: https://github.com/phi-gamma/luaotfload/commit/67ad1263d0328fc74928a9a1d06ea9aa0ee9a116#commitcomment-17726875
* [db] ditch fontforge compatibility codePhilipp Gesang2016-05-261-9/+1
| | | | | | | | Remove all the FF stuff and the config option. The transition is complete, no need to keep these things around any longer. Since we won’t be going back to the FF loader we might as well dispose of the junk identifiers and the translation layer as well.
* [resolvers,conf] allow “my:” lookups in anon sequencesPhilipp Gesang2016-04-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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-2/+4
| | | | | | | | 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] handle corner cases when assigning the lookup sequencePhilipp Gesang2016-04-281-4/+29
|
* [conf,resolvers] add config option to tweak anon lookup sequencePhilipp Gesang2016-04-281-0/+31
| | | | | | | | | 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.
* Revert "[db,conf] drop support for PS fonts"Philipp Gesang2016-04-211-1/+1
| | | | | | | | This reverts commit c4c250414a83cc8c4ae99d286ed69a3763510609. Partially, anyways: All mentions of the PFA format were stripped. Since the new loader adds back in support for PFB-flavored PS fonts without AFM we should support it from Luaotfload as well.
* [*] remove references to obsolete formats (PF{A,B}, DFONT, FEA)Philipp Gesang2016-04-201-2/+2
| | | | | | | Thanks to @dohyunkim for reminding me to be thorough! At least in our own files. A patch has been sent upstream to apply the same change to the generic loader.
* [db,conf] drop support for PS fontsPhilipp Gesang2016-04-201-1/+1
| | | | | The “AFM” code stays since PFB accompanied by an AFM file is still supported by the fontloader.
* [*] shred 2014 fontloaderPhilipp Gesang2016-04-191-1/+0
| | | | | | This one hasn’t been touched for ages. The will be no compatibility loader this year. For testing, creating a loader on the fly from the Git repos is sufficient.
* [conf] move “use-fontforge” option into section “[db]”Philipp Gesang2016-04-171-18/+18
| | | | | Only font indexing is affected by “use-fontforge”. The fontloader itself will always use the new code.
* [conf] rework logic ff/lua fontloader choicePhilipp Gesang2016-04-101-6/+17
|
* [conf,db] allow switching back to fontforgePhilipp Gesang2016-04-091-0/+16
| | | | | | There are some non-negligible differences in the reader output, especially concerning font names. Until this is sorted out we need a fast way to switch back to the old code for reference.
* [*] update dates, versionPhilipp Gesang2016-04-071-2/+2
|
* [features] import feature loading codePhilipp Gesang2016-01-111-1/+1
|
* [*] tidy up headers, attributionsv2.6-rc3Philipp Gesang2015-11-291-1/+1
|
* [conf] ensure correct fontloader is loaded without config filePhilipp Gesang2015-11-291-2/+6
|
* [conf] plug in the correct resolvers (fallout from db reorganization)Philipp Gesang2015-11-201-2/+2
|
* [conf] return path instead of pair to prevent type-mismatchPhilipp Gesang2015-11-171-2/+2
| | | | | | | The (fontloader, path) return value cannot pass the post-config validation because the value of ``run.fontloader`` is of type string. Since the path is always checked during configuration we can just forward it as-is and attempt a path load later on.
* [conf] correctly set default fontloaderPhilipp Gesang2015-11-171-1/+1
|
* [conf] implement path-based fontloader specificationPhilipp Gesang2015-11-121-3/+28
| | | | | | Makes the config test for paths specified as “context:/path/to/texmf” and return a ("context", path) pair that is intended for use as the base path of the fontloader files.
* [init,conf] enable direct loading of fontloader componentsPhilipp Gesang2015-11-091-3/+5
| | | | | | | | | | | | | | For now, this pertains only to the modules we ship in Luaotfload. For loading from Context we still need a step to distinguish between the namespaced versions of the files, the pure ones in texmf/…/base, and the Luatex-Fonts ones. But yeah, setting [run] fontloader = unpackaged in the luaotfloadrc now works splendidly.
* [*] kill off file headersPhilipp Gesang2015-11-051-1/+0
| | | | We have the VCS info in the status file; these things are just silly.
* [main, *] convert for centralized initialization routinePhilipp Gesang2015-09-271-0/+4
|
* [main, conf] prepare for deferred loadingPhilipp Gesang2015-09-271-28/+29
|
* [mkstatus,build,conf] default to packaged fontloader via status filePhilipp Gesang2015-07-211-3/+3
| | | | | | | | This adds an entry ``loader`` on the ``notes`` hash in the status table by means of which the fontloader can be specified. The status file is read when building the configuration table, and if it is present the entry in the ``loader`` table will be used as the default fontloader. Otherwise, Luaotfload falls back on the reference loader.
* [*] adapt credits to reflect latest mergePhilipp Gesang2015-05-051-3/+4
|
* conf: default_config.run.color_callback is now post_linebreak_filterDohyun Kim2015-05-011-1/+1
|
* [conf] move colorization to post_linebreak_filterPhilipp Gesang2015-04-201-2/+30
| | | | | | | | Addresses this behavior: http://tex.stackexchange.com/q/238539/14066 This is a breaking change but it hardly matters since font-based colorization is deprecated and the old behavior can be restored by means of a configuration setting.
* [*] bump version and datePhilipp Gesang2015-03-291-2/+2
|
* [conf] add option for switching fontloadersPhilipp Gesang2015-03-161-1/+32
|
* [conf, main] add support for and preliminary implementation of verbose font ↵Philipp Gesang2014-08-101-1/+8
| | | | | | | | definers The definers ``info_patch`` and ``info_generic`` wrap the two existing font definers in a function that emits verbose information about the definitions taking place.
* [conf] substitute underscores in section namesPhilipp Gesang2014-08-081-13/+13
|
* [db,tool,conf] fix thinko in db update suppressionPhilipp Gesang2014-07-261-0/+2
| | | | | The ``db.update-live`` option caused all db updates, even forced ones to fail due to a missing check for the kind of run.
* [conf] dump default features along with configPhilipp Gesang2014-07-241-0/+27
|
* [conf,tool] implement configuration writerPhilipp Gesang2014-07-241-6/+130
| | | | | Now ``luaotfload-tool --dumpconf`` can be used to output the current configuration to a file.
* [conf] use hash tables for default feature listsPhilipp Gesang2014-07-131-6/+6
|
* [features,conf] generalize feature option parsingPhilipp Gesang2014-07-131-27/+19
|
* [features,conf] configure default font features through configuration filePhilipp Gesang2014-07-131-11/+130
|
* [conf] warn about unknown variablesPhilipp Gesang2014-07-131-1/+6
|
* [conf] strip unused configuration variablePhilipp Gesang2014-07-121-2/+0
| | | | What the hell was that for?
* [conf] allow spaces in formats specificationPhilipp Gesang2014-07-121-2/+4
| | | | | List items are now stripped of leading and trailing spaces before building the formats list.
* [conf] validate config variable “formats”Philipp Gesang2014-07-121-1/+45
| | | | | | Adds a validation function that checks whether the value is indeed a list of comma-separated identifiers. Also, duplicate and invalid entries are dropped from the result.
* [conf] use actual XDG paths for configuration directoriesPhilipp Gesang2014-06-091-2/+10
|
* parsers: remove obsolete commentPhilipp Gesang2014-06-091-1/+1
|
* [conf] use default formats if variable emptyPhilipp Gesang2014-05-151-1/+5
|
* [conf,db,diagnose] reimplement runtime cache path handling as configuration taskPhilipp Gesang2014-05-141-8/+45
|
* [conf,tool] move status import to configurationPhilipp Gesang2014-05-141-0/+4
|