summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-02-19*: bump version and datePhilipp Gesang
Now that we’re heading towards TL 2016, this seems necessary.
2016-02-19[features,parsers] implement font fallbacksPhilipp Gesang
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.
2016-02-19[parsers] rework combo syntaxPhilipp Gesang
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)"
2016-02-19[parsers] allow whitespace around combo elementsPhilipp Gesang
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"
2016-02-19[features,loaders] fix lookup conflicts via introduction of “evl” lookupPhilipp Gesang
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.
2016-02-18[features,loaders] allow for direct injection of tfmdata when defining fontsPhilipp Gesang
2016-02-16[features] handle combination definitionsPhilipp Gesang
2016-02-15[parsers,features] parse combo requestsPhilipp Gesang
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.
2016-02-12[fontloader] patch font-otn.lua to skip unusable contextpos featuresPhilipp Gesang
Address issue #322 The annotation says it all; reportedly this is fine with TL 2016, though.
2016-01-27[resolvers] allow arbitrary sequence lookupsPhilipp Gesang
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.
2016-01-22[init] fix Context module sequencev2.6-fix-5showPhilipp Gesang
2016-01-22[fontloader] revert features handler temporarilyPhilipp Gesang
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.
2016-01-21[init] always log final fontloader choicePhilipp Gesang
2016-01-11[fontloader] re-patch font-otn.lua to avoid crashPhilipp Gesang
See issue https://github.com/lualatex/luaotfload/issues/303
2016-01-11[features] import feature loading codePhilipp Gesang
2016-01-11[fontloader] sync with Context as of 2016-01-11Philipp Gesang
2016-01-09[features] update name tablesPhilipp Gesang
2016-01-08[letterspace] fix wrong construction of node list after spacing ligaturesPhilipp Gesang
2015-12-23[features] excise stray feature definitionv2.6-fix-4Philipp Gesang
Closing #309 Many thanks for @simifilm for the report!
2015-12-23[fontloader] sync reference loaderPhilipp Gesang
2015-12-23[auxiliary] move callback handling to initializationPhilipp Gesang
2015-12-22[aux] assimilate logger to conventionv2.6-fix-3Philipp Gesang
2015-12-22[fontloader] patch font-otn to preven calt crashPhilipp Gesang
2015-12-22[init] install some more accessors required by the fontloaderPhilipp Gesang
2015-12-22[features] improve font feature injectionPhilipp Gesang
2015-12-21[fontloader] sync with Context as of 2015-12-21Philipp Gesang
2015-12-21[init] set up stubs for pre-0.87 LuatexPhilipp Gesang
2015-12-21[features] import latest changes to the feature handlerPhilipp Gesang
2015-12-21[features] conditionally pull in old feature mechanismPhilipp Gesang
Pretty hackish and probably not supported forever, but this is required on account of the changes to the loader since TL 2014.
2015-12-21[letterspace] fix oversight in kern handlingPhilipp Gesang
2015-12-21[letterspace] employ dedicated accessors where appropriatePhilipp Gesang
2015-12-21[features] pull in upstream fixesPhilipp Gesang
Fixes the crash but apparently not the feature.
2015-12-18[letterspace] fix access of invalid node fieldPhilipp Gesang
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.
2015-12-18[features] clean up font feature handlingPhilipp Gesang
2015-12-18[features] output feature definition info at higher noise levelPhilipp Gesang
2015-12-18[features] update addfeatures() from upstream font-otc.luaPhilipp Gesang
2015-12-12[package] remove luaotfload-packagePhilipp Gesang
Not required since we now package the loader ourselves. Good riddance.
2015-12-09[*] bump version and datePhilipp Gesang
We still had some 2014 values lingering around dark corners. In theory this is all meaningless wrt. the Git repo.
2015-12-09[init] suppress one less useful messagePhilipp Gesang
2015-12-02[tool] fix path displayed in help messagePhilipp Gesang
This extends commit 78a1273715.. to the tool. Also fixes the wrong path being issued to the formatter. Luckily, this is not a functional defect since the path is used for display purposes only.
2015-11-30[init] typoDohyun Kim
2015-11-29[*] tidy up headers, attributionsv2.6-rc3Philipp Gesang
2015-11-29[main] refine very early loggingPhilipp Gesang
This kludge dumps the input arguments on one line each -- fix this by defining a dumb imitation of our real logger that is installed later on.
2015-11-29[conf] ensure correct fontloader is loaded without config filePhilipp Gesang
2015-11-29[loaders] customize define_font resetPhilipp Gesang
This function needn’t be as general for this kind of callback. The new implementation is simpler but also complains about irregularities like multiple registered functions.
2015-11-29[aux] fix typo in function namePhilipp Gesang
Doesn’t seem like anyone is using these since this would’ve exploded immediately …
2015-11-28[main] remove locals for provides_module() return valuesPhilipp Gesang
As of ltluatex, provides_module() has no return value any longer.
2015-11-28[tool,db] make cache directives work againPhilipp Gesang
These were rendered unusable due to the suspended initialization. Creating the directives mapping on the fly is just as good.
2015-11-28[diagnose] adapt invocation of getwritablepath()Philipp Gesang
Some upstream API change (possibly in file.join()) caused that function to emit relative paths. file.join("/foo", "bar") --> good file.join("/foo", "" ) --> good file.join("/foo" ) --> wtf‽
2015-11-28[colors] support pgf transparency in luatex v0.85Dohyun Kim
With tex.scantoks provided by luatex v0.85, now we can support color transparency in harmony with beamer/pgf/tikz. No hacking needed at tex macro level, all done in lua code.