summaryrefslogtreecommitdiff
path: root/src/luaotfload-features.lua
Commit message (Collapse)AuthorAgeFilesLines
* [features,tool] fix subfont handling in file loadingPhilipp Gesang2016-09-291-1/+1
| | | | Subfont loading seems to have been broken for a while but no reports …
* [features,parsers] add extremely important featurePhilipp Gesang2016-09-271-0/+6
| | | | | | | | | Credits to Taco for the talk at Kalenberg that inspired the feature. Extending the parser is required so we can have proper name for the feature. Happy Luatex 1.0.0
* [features] drop code from font-otcPhilipp Gesang2016-08-151-778/+8
| | | | | | | | | addfeature() and the likes -- with less extensive logging -- is now provided directly by means of font-otc.lua so we don’t need to keep these parts around any longer. The loader installs anum features identical to ours and a slightly different “tlig” one which we override. Clean up locals and misleading comments while we’re at it.
* [features] use the new feature registry for TFMPhilipp Gesang2016-07-301-30/+30
| | | | No need for patching font-tfm.lua any longer.
* [features,fontloader] fix adding featuresPhilipp Gesang2016-07-271-11/+48
| | | | | | | | | | 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.
* [features] remove check preventing application of features to TFM filesPhilipp Gesang2016-07-271-3/+4
|
* [features] correctly unset subfontPhilipp Gesang2016-07-151-0/+2
| | | | | Even though it works fine as it was, the loader actually expects “false” as the value to indicate that no subfont was requested.
* [features] include feature spec validationPhilipp Gesang2016-07-081-0/+36
|
* [features] update otf.enhancers.addfeature()Philipp Gesang2016-07-071-15/+75
|
* [features] fix missing localPhilipp Gesang2016-06-111-2/+3
| | | | | | | The new addfeature() as of 499160de78a1 accesses utf8.len() which wasn’t imported at this point. Another import, utf8.char(), became irrelevant. Spotted by @doyunkim
* [featurs,loaders] adjust loader specifications to Context conventionsPhilipp Gesang2016-05-181-3/+4
|
* [features] update addfeature()Philipp Gesang2016-05-121-146/+379
|
* [features,loaders] tidy up loading of afmPhilipp Gesang2016-05-121-4/+14
|
* [features] prevent database reload upon referencing a combinationPhilipp Gesang2016-05-041-0/+1
| | | | | | | Defining a combination did not override the default file: lookup so every font defined that way will at font embedding time trigger a reload of the index on account of a missing file. Setting the ``combo:`` lookup will prevent the issue.
* [features] straighten out logspamPhilipp Gesang2016-05-041-19/+18
| | | | | | | Due to the origin in other parts of Luatex, some messages in this file were logged under the “load” facility; corrected. Also, the combo mechanism still spits debug levels of noise at log level zero; raised to two.
* [features] cull legacy feature handlerPhilipp Gesang2016-04-191-145/+1
|
* [features] do not attempt to add features on incomplete fontsPhilipp Gesang2016-04-191-8/+18
|
* [*] shred 2014 fontloaderPhilipp Gesang2016-04-191-1/+1
| | | | | | 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.
* [features] account for subfont indexing changesPhilipp Gesang2016-04-171-0/+4
| | | | | | The new Lua based loader consistently numbers subfonts from one, not zero like the Fontforge one. We correct the value immediately before passing a handled font request on to the loader.
* [features] adjust feature processor to new data structuresPhilipp Gesang2016-04-171-4/+10
|
* [features] fix buggy state checkPhilipp Gesang2016-04-171-2/+1
|
* [features] rely on config to detect runtime modePhilipp Gesang2016-04-161-6/+7
|
* [*] update dates, versionPhilipp Gesang2016-04-071-1/+1
|
* [features,parsers] implement font fallbacksPhilipp Gesang2016-02-191-21/+35
| | | | | | | | | | | | | | | | | | | | | Building on the combination mechanism, this allows defining fallback fonts of which all glyphs are pulled that aren’t currently part of the base font. Example: \input luaotfload.sty \font \lm = file:lmroman10-regular.otf:mode=base \font \cmu = file:cmunrm.otf:mode=base \font \lmu = "combo: 1->\fontid\lm; 2->\fontid\cmu,fallback" \lmu Eh bien, mon prince. Gênes et Lueques ne sont plus que des apanages, des поместья, de la famille Buonaparte. \bye This allows setting Latin Modern text that contains Cyrillic letters. Note that -- as with the other combinations -- only glyphs are considered, no other properties of the fallback font. So besides the occasional letter in a different script this functionality is probably useless.
* [features,loaders] fix lookup conflicts via introduction of “evl” lookupPhilipp Gesang2016-02-191-10/+16
| | | | | | | | This introduces a forced lookup type “evl” that bypasses the other methods. The specification is extended with the correct values including a more meaningful hash string. As a result, the loader no longer attempts to interpret the specification as a “file:” request but the backend can still resolve the necessary files.
* [features,loaders] allow for direct injection of tfmdata when defining fontsPhilipp Gesang2016-02-181-3/+14
|
* [features] handle combination definitionsPhilipp Gesang2016-02-161-7/+106
|
* [parsers,features] parse combo requestsPhilipp Gesang2016-02-151-2/+12
| | | | | | | Highly experimental at this point. The font request parser has been extended to handle combinations of already defined fonts. Nothing else has been implemented yet, so the request handler will simply error out with a message.
* [features] import feature loading codePhilipp Gesang2016-01-111-12/+18
|
* [features] update name tablesPhilipp Gesang2016-01-091-607/+808
|
* [features] excise stray feature definitionv2.6-fix-4Philipp Gesang2015-12-231-13/+0
| | | | | | Closing #309 Many thanks for @simifilm for the report!
* [features] improve font feature injectionPhilipp Gesang2015-12-221-37/+77
|
* [features] import latest changes to the feature handlerPhilipp Gesang2015-12-211-8/+6
|
* [features] conditionally pull in old feature mechanismPhilipp Gesang2015-12-211-1/+145
| | | | | Pretty hackish and probably not supported forever, but this is required on account of the changes to the loader since TL 2014.
* [features] pull in upstream fixesPhilipp Gesang2015-12-211-6/+10
| | | | Fixes the crash but apparently not the feature.
* [features] clean up font feature handlingPhilipp Gesang2015-12-181-11/+7
|
* [features] output feature definition info at higher noise levelPhilipp Gesang2015-12-181-10/+18
|
* [features] update addfeatures() from upstream font-otc.luaPhilipp Gesang2015-12-181-126/+253
|
* [*] bump version and datePhilipp Gesang2015-12-091-1/+1
| | | | | We still had some 2014 values lingering around dark corners. In theory this is all meaningless wrt. the Git repo.
* [main, *] convert for centralized initialization routinePhilipp Gesang2015-09-271-39/+42
|
* [features] fix test for missing default feature (Thanks, Kim!)Philipp Gesang2014-08-081-2/+2
| | | | | | This is a partial revert of 3cf26fc.. -- The test must be for features not specified in the font definition. Also applies in the same manner to the global defaults.
* [features] apply negated featurePhilipp Gesang2014-08-071-3/+3
| | | | | | | Closing https://github.com/lualatex/luaotfload/issues/243 The behavior was introduced with commit d84ce4e.. when non-boolean default feature values were introduced as part of the configuration.
* [features,conf] generalize feature option parsingPhilipp Gesang2014-07-131-6/+7
|
* [features,conf] configure default font features through configuration filePhilipp Gesang2014-07-131-59/+7
|
* [main] log name: requests independent of fontloaderPhilipp Gesang2014-05-181-2/+2
|
* [features] adapt tlig feature to extended ligature specPhilipp Gesang2014-05-121-5/+18
|
* [features] respect feature orderPhilipp Gesang2014-04-261-11/+11
|
* [*] move source files to ./srcPhilipp Gesang2014-02-121-0/+1276