| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix #342
Due to the reassigned fontname fields, certain values designating styles
ended up being interpreted wrongly and members of the font families
ended up in the wrong table.
Thanks to @dohyunkim for spotting the issue.
|
| |
| |
| |
| |
| | |
Forward the errors received from require() in a readable manner and exit
on the spot.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fix #341
Hironori Kitagawa pointed out that the patch for the other math
parameters doesn’t work. Turns out Hans relocated the “mathconstants”
table …
|
| | |
|
| |
| |
| |
| |
| | |
Provide fallbacks in case no ‘X’ character is available for capheight
measurement.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Addresses #341
This cleans up the font patching code we inherited from Fontspec. In
addition to treating the bitrot with an extra dose of fungicide, we also
make the process in which the final values are chosen more transparent.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Fix #337
This amends the apparent failure of luaotfload-tool as reported by @eg9
and others.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix #338
Due to the new loader, certain tables were relocated inside the fontdata
structure. This would cause a crash with certain kinds of fonts, most
notably those for which TeX metrics exist.
Many thanks to @aminophen and @u-fischer for their help in tracking this
down.
|
| |
| |
| |
| | |
Reported by @u-fisher on Github.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
Hans fixed a couple issues due to our reports. Also, brand new Lua based
PFB loader.
|
|\|
| |
| | |
2.7
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
It’s sort of official now ;)
|
| |
| |
| |
| |
| | |
The “AFM” code stays since PFB accompanied by an AFM file is still
supported by the fontloader.
|
|\|
| |
| | |
format and feature handling, fixes for 2.7
|
| | |
|
| |
| |
| |
| |
| | |
Unsupported as of now. They were only ever supported by accident and
very incompletely, which was misleading.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Another take on https://github.com/lualatex/luaotfload/issues/334
The parsing issues we aim to prevent occur with spaces because Luatex
treats them as argument separators. Hence apply quoting only if
necessary. Also use the appropriate format string as a defense against
garbage inputs.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Fixes https://github.com/lualatex/luaotfload/issues/334
Old-style font definitions only need a font name, so the extra quotes
aren’t necessary to feed the \fontname string back into \font.
|
| | |
|
| | |
|
|\|
| |
| | |
latest 2.7 progress
|
| | |
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| |
| | |
TTC subfonts must be considered if there is at least one subfont.
Discovered and fixed by @dohyunkim; the fix for ``font-otr.lua`` goes
upstream.
|
|\|
| |
| | |
current progress on 2.7
|
| | |
|
| |
| |
| |
| |
| | |
The option has become redundant with the new loader so we might as well
get rid of it.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
No such warnings with the new loader. Instead we need to test for the
``fontname`` / ``fullname`` fields.
Thanks to @dohyunkim for reporting.
|
| |
| |
| |
| |
| | |
Only font indexing is affected by “use-fontforge”. The fontloader itself
will always use the new code.
|
| | |
|
| |
| |
| |
| |
| |
| | |
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.
|