summaryrefslogtreecommitdiff
path: root/src/luaotfload-loaders.lua
Commit message (Collapse)AuthorAgeFilesLines
* [db,loaders] clarify support for PFBPhilipp Gesang2016-04-241-1/+9
| | | | | | | | | | The current PFB loader, although it is indeed completely independent of the FF libraries, is not yet feature complete. Only the loading of vectors is supported which suffices for font rendering given the AFM information. According to Hans, we have decent chance of it growing into a full-fledged reader for 1.0.
* [*] remove references to obsolete formats (PF{A,B}, DFONT, FEA)Philipp Gesang2016-04-201-0/+1
| | | | | | | 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.
* [loaders] remove support for PF{A,B}Philipp Gesang2016-04-201-2/+10
| | | | | | | | The Lua fontloader doesn’t support these formats and they’re very low priority. There is no “shortcut” like with the FF loader anymore which would parse such files into the same data structures as {O,T}TF. Support for postscript formats may come back at some point in the future if there is demand.
* [features,parsers] implement font fallbacksPhilipp Gesang2016-02-191-0/+1
| | | | | | | | | | | | | | | | | | | | | 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-9/+8
| | | | | | | | 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-4/+42
|
* [*] tidy up headers, attributionsv2.6-rc3Philipp Gesang2015-11-291-2/+3
|
* [loaders] customize define_font resetPhilipp Gesang2015-11-291-8/+17
| | | | | | 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.
* local reset_callback definition for ltluatexDavid Carlisle2015-11-211-1/+11
|
* [*] kill off file headersPhilipp Gesang2015-11-051-1/+0
| | | | We have the VCS info in the status file; these things are just silly.
* [loaders] fix call to missing localPhilipp Gesang2015-10-281-1/+1
|
* [main, *] convert for centralized initialization routinePhilipp Gesang2015-09-271-1/+1
|
* [main,loaders] adjust noise and check status of loader initPhilipp Gesang2015-08-271-13/+13
|
* [loaders] {re,un}-scope locals for economyPhilipp Gesang2015-08-271-21/+36
|
* [main,loaders] regroup callback handling code with loadersPhilipp Gesang2015-08-271-27/+120
| | | | | | | | | ... changing the meaning of the file’s designation instead of adding yet another file. All the callback manipulation is now contained inside that module which will inject most of its functionality only when its main ``.install()`` method is called.
* [loaders] map forced OFM files to match the TFM loaderPhilipp Gesang2015-06-131-0/+4
| | | | | | | | | This defines a loader for the recognized OFM format. Somehow more recent versions of Luaotfload (TL 2014) did not provide one, causing to OFM fonts to fail loading whilst not being an issue without Luaotfload loaded. Addresses https://github.com/lualatex/luaotfload/issues/273
* [*] move source files to ./srcPhilipp Gesang2014-02-121-0/+30