summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #324 from phi-gamma/masterPhilipp Gesang2016-02-198-61/+325
|\ | | | | lookups, combos, fallbacks
| * [features,parsers] implement font fallbacksPhilipp Gesang2016-02-193-25/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * [parsers] rework combo syntaxPhilipp Gesang2016-02-191-17/+27
| | | | | | | | | | | | | | | | | | | | | | Use arrows to emphasise what’s mapped. Allow whitespace to visually separate items. Also allow optional grouping with parentheses. Now it’s possible to define a combination as follows: \font \f = "combo: 1 -> 42; 2 -> 1337, U+0042-U+0084; 3 -> (55, 0x54 * 0x45 * 0x58)"
| * [parsers] allow whitespace around combo elementsPhilipp Gesang2016-02-191-7/+10
| | | | | | | | | | | | | | | | | | | | This gives more leeway to the notation, allowing font definitions to become more readable: \font \f = "combo: 1 / \fontid\one, 2 / \fontid\two / 0x41-0x5a, 3 / \fontid\three / 0x42, 4 / \fontid\three / 0x54 * 69 * U+58"
| * [features,loaders] fix lookup conflicts via introduction of “evl” lookupPhilipp Gesang2016-02-193-21/+26
| | | | | | | | | | | | | | | | 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-182-7/+56
| |
| * [features] handle combination definitionsPhilipp Gesang2016-02-161-7/+106
| |
| * [parsers,features] parse combo requestsPhilipp Gesang2016-02-152-2/+42
| | | | | | | | | | | | | | 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.
| * [fontloader] patch font-otn.lua to skip unusable contextpos featuresPhilipp Gesang2016-02-122-3/+3
| | | | | | | | | | | | | | Address issue #322 The annotation says it all; reportedly this is fine with TL 2016, though.
| * [doc] fix typo and formatting in man pagePhilipp Gesang2016-02-041-4/+4
| | | | | | | | Spacing is off in the ``.5``, we didn’t account for markup.
| * [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.
* | Merge pull request #320 from phi-gamma/masterPhilipp Gesang2016-01-229-680/+952
|\| | | | | fixes
| * [init] fix Context module sequencev2.6-fix-5showPhilipp Gesang2016-01-221-3/+3
| |
| * [fontloader] revert features handler temporarilyPhilipp Gesang2016-01-222-8/+68
| | | | | | | | | | | | | | | | | | | | | | | | Address issue #318 This reverts the changes made to font-otn.lua with commit adc43c3c24.. Certain features related to directionality are not handled correctly with the most recent fontloader. As a temporary measure, revert the handling code in font-otn.lua and restore the values it references. While this appears to suppress the issue, we’ll switch back to the upstream code once we have an actual solution.
| * [init] always log final fontloader choicePhilipp Gesang2016-01-211-14/+14
| |
| * [fontloader] re-patch font-otn.lua to avoid crashPhilipp Gesang2016-01-111-1/+1
| | | | | | | | See issue https://github.com/lualatex/luaotfload/issues/303
| * [features] import feature loading codePhilipp Gesang2016-01-112-13/+19
| |
| * [fontloader] sync with Context as of 2016-01-11Philipp Gesang2016-01-114-16/+12
| |
| * [features] update name tablesPhilipp Gesang2016-01-091-607/+808
| |
| * [letterspace] fix wrong construction of node list after spacing ligaturesPhilipp Gesang2016-01-081-19/+28
| |
* | Merge pull request #316 from phi-gamma/masterPhilipp Gesang2015-12-234-39/+61
|\| | | | | fix tex ligatures
| * [features] excise stray feature definitionv2.6-fix-4Philipp Gesang2015-12-231-13/+0
| | | | | | | | | | | | Closing #309 Many thanks for @simifilm for the report!
| * [fontloader] sync reference loaderPhilipp Gesang2015-12-231-2/+2
| |
| * [auxiliary] move callback handling to initializationPhilipp Gesang2015-12-232-24/+59
| |
* | Merge pull request #315 from phi-gamma/masterPhilipp Gesang2015-12-2318-465/+1059
|\| | | | | third round of fixes
| * [mkstatus] safer parsing of git-describe(1) outputPhilipp Gesang2015-12-231-1/+3
| |
| * [aux] assimilate logger to conventionv2.6-fix-3Philipp Gesang2015-12-221-32/+32
| |
| * [fontloader] patch font-otn to preven calt crashPhilipp Gesang2015-12-221-0/+3
| |
| * [init] install some more accessors required by the fontloaderPhilipp Gesang2015-12-222-2/+12
| |
| * [features] improve font feature injectionPhilipp Gesang2015-12-221-37/+77
| |
| * [fontloader] sync with Context as of 2015-12-21Philipp Gesang2015-12-2113-215/+5724
| |
| * [init] set up stubs for pre-0.87 LuatexPhilipp Gesang2015-12-215-5012/+44
| |
| * [features] import latest changes to the feature handlerPhilipp Gesang2015-12-211-8/+6
| |
* | Merge pull request #312 from phi-gamma/masterPhilipp Gesang2015-12-212-49/+344
|\| | | | | improve letterspacing, synthetic features
| * [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.
| * [letterspace] fix oversight in kern handlingPhilipp Gesang2015-12-211-0/+1
| |
| * [letterspace] employ dedicated accessors where appropriatePhilipp Gesang2015-12-211-35/+50
| |
| * [features] pull in upstream fixesPhilipp Gesang2015-12-211-6/+10
| | | | | | | | Fixes the crash but apparently not the feature.
| * [letterspace] fix access of invalid node fieldPhilipp Gesang2015-12-181-3/+3
| | | | | | | | | | | | | | | | This addresses one error reported by u/priyadarshan: https://github.com/lualatex/luaotfload/issues/310 Some chained node field access got garbled during the update to nuts.
| * [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
| |
* | Merge pull request #307 from phi-gamma/masterPhilipp Gesang2015-12-121-7/+23
|\| | | | | [mkstatus] include git tag in status table
| * [mkstatus] include git tag in status tablev2.6-fix-2Philipp Gesang2015-12-121-7/+23
| | | | | | | | Please ignore, the tag is included to accommodate the CTAN workflow.
* | Merge pull request #306 from phi-gamma/masterPhilipp Gesang2015-12-126-188/+210
|\| | | | | improved packaging
| * [mkstatus,doc] eliminate references to luaotfload-package.luav2.6-fix-1Philipp Gesang2015-12-123-27/+13
| |
| * [mkimport,build] integrate with main makefilePhilipp Gesang2015-12-122-8/+3
| |
| * [package] remove luaotfload-packagePhilipp Gesang2015-12-121-99/+0
| | | | | | | | Not required since we now package the loader ourselves. Good riddance.
| * [mkimport] include MD5 hash with file scope infoPhilipp Gesang2015-12-121-6/+7
| |
| * [mkimport] directly package fontloaderPhilipp Gesang2015-12-121-54/+193
| | | | | | | | | | | | | | | | | | | | Fix issue #305 No round-trip through mtx-package is required anymore. This assumes “util-mrg.lua” which comes with Context is present in the path. As as side-effect we can inject custom annotations into the file that reduce possible confusion for users.