summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * [doc] clarify behavior of update-live in config manpagePhilipp Gesang2016-06-151-1/+2
| |
| * [db] fix initialization behavior to prevent crashPhilipp Gesang2016-06-151-5/+4
| | | | | | | | | | | | | | | | | | | | | | Reported by @dohyunkim: https://github.com/lualatex/luaotfload/pull/364#issuecomment-226059150 Under certain circumstances, update_names() was invoked with an empty table instead of a correctly initialized one, breaking the assumptions of the db populating code. This commit also guards more strongly against this kind of oversight and tidies up the db constructor.
* | Merge pull request #364 from phi-gamma/masterPhilipp Gesang2016-06-1535-2685/+4790
|\| | | | | fixes, 3rd edition
| * [fontloader] sync with Context as of 2016-06-14Philipp Gesang2016-06-143-21/+27
| |
| * [db] adapt error handling to new fontloader conventionsPhilipp Gesang2016-06-121-14/+21
| |
| * [db] fix crash with missing name dataPhilipp Gesang2016-06-121-2/+2
| |
| * [fontloader] import font-oclPhilipp Gesang2016-06-126-8/+315
| | | | | | | | | | Some of the more absurd aspects of fonts ;) This will fork inkscape for the actual SVG processing.
| * [fontloader] sync with Context as of 2016-06-12Philipp Gesang2016-06-1218-86/+1464
| |
| * [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
| * [init] adapt Context base path for file loaderPhilipp Gesang2016-06-101-10/+31
| | | | | | | | | | | | | | | | | | Fix issue #344 The paths changed a while ago making a change necessary. We can’t just replace the path because older versions of the tree would fail, rendering bisection unusable. We compensate by testing the candidate directories beforehand.
| * [fontloader] sync with Context as of 2016-05-31Philipp Gesang2016-06-105-78/+128
| | | | | | | | | | | | This corresponds to commit a274872832cd on the mirror repo. The changes since then were numerous but seem to introduce a couple new files we didn’t ask for =) Later.
| * [db] resolve symlinks when traversing the file systemPhilipp Gesang2016-06-081-31/+41
| | | | | | | | | | | | | | | | | | Addresses #359 and #325 To avoid duplicate entries, paths have to be resolved before collecting them. This necessitates loop detection of some sort, currently implemented naively as a flat table containing the directories already traversed.
| * [db] include values of missing fields in diagnosticPhilipp Gesang2016-06-071-2/+3
| |
| * [conf] fix malformed filePhilipp Gesang2016-06-071-1/+0
| | | | | | | | | | | | | | | | This was introduced with commit 67ad1263d032 during a code removal frenzy. Many thanks to @grizzilus for pointing that one out: https://github.com/phi-gamma/luaotfload/commit/67ad1263d0328fc74928a9a1d06ea9aa0ee9a116#commitcomment-17726875
| * [aux] remove double scaling of capheight from typoascenderPhilipp Gesang2016-06-031-3/+7
| | | | | | | | | | | | | | | | | | Fix #358 The typographic ascender value from the metrics (Windows metrics) table comes prescaled by the fontloader but we scaled it nevertheless. This is not true, however, for the value in the metrics table. Fix the access method to treat the values differently.
| * [db] fix name assignmentPhilipp Gesang2016-05-311-11/+34
| | | | | | | | | | | | | | | | | | Address issue #356 The DejaVu Family needs stricter handling of fallback choices so we take the font’s avertised width into consideration. This used to be easier with the old loader since it had some decent heuristics in place for the more or less reliable “fontstyle_name”.
| * [db] ditch fontforge compatibility codePhilipp Gesang2016-05-263-192/+119
| | | | | | | | | | | | | | | | Remove all the FF stuff and the config option. The transition is complete, no need to keep these things around any longer. Since we won’t be going back to the FF loader we might as well dispose of the junk identifiers and the translation layer as well.
| * [fontloader] import fix by Hans for crashes with ancient Linotype Palatino filesPhilipp Gesang2016-05-251-26/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | The crash happens with these broken files MS used to ship: beef66370e7124eb683514ad9ad07576 palabi.ttf 975972a205fd91a532d1b7433281af70 palab.ttf be4590eba976dace111b6686f6dade52 palai.ttf 96261bb90c9babbf8042ce7f43200d65 pala.ttf on account of a broken rule in the “s_s_l” lookup. The change removes the entire lookup in this case since otherwise the rest of the font behaves *very* strange.
| * [fontloader] sync with Context as of 2016-05-22Philipp Gesang2016-05-2416-101/+93
| |
| * [fontloader] include font-one.luaPhilipp Gesang2016-05-206-10/+424
| |
| * [featurs,loaders] adjust loader specifications to Context conventionsPhilipp Gesang2016-05-182-9/+7
| |
| * [fontloader] sync with Context as of 2016-05-18Philipp Gesang2016-05-184-569/+230
| |
| * [loaders] implement readable load failure messagePhilipp Gesang2016-05-131-4/+19
| | | | | | | | | | | | | | | | Add a message that includes the information relevant for troubleshooting. Due to the spammy nature of the message printed by Fontspec this is not exactly useful with Latex so disabled by default for now.
| * [loaders] make AFM wrappers more consistentPhilipp Gesang2016-05-131-9/+11
| |
| * [features] update addfeature()Philipp Gesang2016-05-121-146/+379
| |
| * [features,loaders] tidy up loading of afmPhilipp Gesang2016-05-122-8/+26
| |
| * [fontloader] import new AFM loader directly from HansPhilipp Gesang2016-05-121-166/+216
| |
| * [fontloader] sync with Context as of 2016-05-11Philipp Gesang2016-05-115-543/+457
| |
| * [tool] fix invocation of names.update()Philipp Gesang2016-05-091-1/+1
| |
| * [db] fix inclusion of AFM fontsPhilipp Gesang2016-05-091-14/+19
| | | | | | | | | | The assumption that the AFM/PFB pair will reside in the same directory together is wrong for TeX Live. Hence the new lookup against kpse.
| * [import,fontloader] pull new AFM/Type1 codePhilipp Gesang2016-05-097-187/+201
| |
| * [fontloader] sync with Context as of 2016-05-09Philipp Gesang2016-05-097-1184/+1226
| | | | | | | | | | | | Fixes #349 and #357. Also the new AFM code is due, let’s see what else we need to use it.
* | Merge pull request #355 from phi-gamma/masterPhilipp Gesang2016-05-045-69/+103
|\| | | | | bugfixes, part 2
| * [tool] include release tag in --versionv2.7-fix-2Philipp Gesang2016-05-041-0/+3
| | | | | | | | | | This info is indeed valuable on top of the commit hash, thanks to @jfbu who complained about its absence.
| * [letterspace] fix crash in kerning by keeping the default on failed lookupPhilipp Gesang2016-05-041-2/+2
| | | | | | | | | | | | | | With commit 8c0dd0ebbedd kern accesses were fixed but the results never tested for the lookup, which caused the default which is set up before to be nil’ed. Fix this by reusing the value we initialized the kern factor to.
| * [aux] fix units lookup prevent crash with AFM fontsPhilipp Gesang2016-05-041-10/+16
| | | | | | | | | | | | | | | | | | | | | | With the new loader, the ``units_per_em`` field resides under the toplevel TFM structure with the key ``units``. For AFM fonts, it is not fount under the metadata table too, which we are currently querying. Thus we prefer the main value, falling back on metadata only in case it is missing. At this occasion, tidy up our unit lookup helper and use that wherever we need access to the values ourselves.
| * [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.
| * [letterspace] fix double free with disc componentsPhilipp Gesang2016-05-031-4/+1
| | | | | | | | | | | | | | | | Adress issue #350 For some reason our stack copy of the current node gets double-freed. Since the “components” field will probably vanish soon, we can get by for now by skipping the explicit free.
| * [tool] check for version info in stats tablePhilipp Gesang2016-05-031-15/+28
| | | | | | | | This could become the common check eventually.
| * [main,tool] reintroduce lost version checkPhilipp Gesang2016-05-032-19/+34
| | | | | | | | | | | | | | | | | | | | The version check was removed by accident in commit 5ce60cc98a30. This isn’t normally a problem except when people start to run the Pretest version on ancient Luatex binaries … In any case, the check must be present. While we’re at it, make the error messages consistent between the tool and a live TeX run. This can’t cover the fact that there is no (direct) means of determining the Luatex version when not running in TeX mode, so the checks still aren’t equivalent.
* | Merge pull request #352 from phi-gamma/masterPhilipp Gesang2016-05-029-37/+69
|\| | | | | fixes
| * [letterspace] remove useless state variablePhilipp Gesang2016-05-021-8/+3
| |
| * [letterspace] fix crash with fonts with missing glyphsPhilipp Gesang2016-05-021-7/+25
| | | | | | | | | | | | | | | | | | | | | | Fix issue #351 The letterspace node handler dereferences kern values of non-existant character information under some circumstances, causing Luatex to crash. To avoid this crash, check more thoroughly for the presence of the fields accessed. Discovered by @schlcht
| * [fontloader] sync with Context as of 2016-05-02Philipp Gesang2016-05-027-23/+41
| |
| * [*] update newsPhilipp Gesang2016-04-281-0/+1
| |
* | Merge pull request #348 from phi-gamma/masterPhilipp Gesang2016-04-285-31/+129
|\| | | | | Implement #263
| * [doc] extend conf manpage for the inclusion of “my:” lookupsPhilipp Gesang2016-04-281-1/+3
| |
| * [resolvers,conf] allow “my:” lookups in anon sequencesPhilipp Gesang2016-04-282-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows to domesticate packages that quite disrespectfully only use “anon:” lookups. Example from the test repo: \documentclass{scrartcl} \usepackage{fontspec} \directlua{ config.luaotfload = config.actions.apply (config.luaotfload, { run = { anon_sequence = { "my" } } }) } \directlua{ luatexbase.add_to_callback( "luaotfload.resolve_font", function (spec) spec.name = "comic.ttf" end, "user.openbsd_style") } \setmainfont{Adobe Premier Deluxe Overpriced} \begin{document} There is no escape. \end{document}
| * [doc] document new “anon-sequence” optionPhilipp Gesang2016-04-282-5/+25
| |