summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-02-10[loaders] include file and subfont in diagnosticsPhilipp Gesang
2017-02-10[parsers] allow escapes and balanced brackets in path lookupsPhilipp Gesang
With that, the definition parser will accept anything except for unbalanced brackets -- unless backslash escaped -- as part of the font definition.
2017-02-10[parsers] extend definition grammar to allow for subfonts in path lookupsPhilipp Gesang
2017-02-07[features] v2: remove unneeded ligaturesPhilipp Gesang
V2 of 7250ac958d842f45d28220db87203506d3ae65c0 commit 7250ac958d842f45d28220db87203506d3ae65c0 Author: Philipp Gesang <phg@phi-gamma.net> Date: Thu Feb 2 07:38:03 2017 +0100 [features] remove unneeded tlig features Fix #397 These four features should not be inserted automatically. which was reverted in commit 9b70f2ee9e20830cfb39ca3b139e6f3aa04be1f1 Author: Philipp Gesang <phg@phi-gamma.net> Date: Mon Feb 6 21:21:48 2017 +0100 Revert "[features] remove unneeded tlig features" addressing issues #397, #405.
2017-02-07[features] elucidate default “ligatures”Philipp Gesang
2017-02-06[fontloader] informal patch by HansPhilipp Gesang
2017-02-06Revert "[features] remove unneeded tlig features"Philipp Gesang
This reverts commit 7250ac958d842f45d28220db87203506d3ae65c0. As per issue #405.
2017-02-04[fontloader] add ad-hoc patch by HansPhilipp Gesang
Fix attempt for issue #391
2017-02-03[db] increase versionPhilipp Gesang
2017-02-03[db] omit the extra funcall when converting unitsPhilipp Gesang
2017-02-03[db] fix dd conversion of asked sizePhilipp Gesang
Includes @zhouyan’s description of the conversion in case we’ll ever add further units. Reviewed-by: Yan Zhou <zhouyan@me.com>
2017-02-02Merge remote-tracking branch 'canonical/pr/402'Philipp Gesang
2017-02-02Merge remote-tracking branch 'canonical/pr/401'Philipp Gesang
2017-02-02[db] fix design size scalingPhilipp Gesang
As discussed in issue #398. Ad futuram rei memoriam the gist of it: - For the index, all values are scaled (decipoints * sp) / 10 * (7227 / 7200). - The ``bp`` case (the default, OT-standard), needs no conversion because it matches how values are stored in the index. - The ``pt`` case essentially reverts the bp→pt part of scaling done for the database by scaling the asked size by the same factor, i. e. by 7227 / 7200. - The ``dd`` needs an extra 1238 / 1157. Requesting a font at 10pt will then: - ask for a size of 655360 for ``bp`` / default; - ask for 657817 for ``pt``; - ask for 703870 for ``dd``.
2017-02-02use design size to calculate the distance for `inrange`Yan Zhou
2017-02-02Avoid more than one `inrange` when there’s no overlapYan Zhou
2017-02-02[features] remove unneeded tlig featuresPhilipp Gesang
Fix #397 These four features should not be inserted automatically.
2017-02-01Merge branch 'canonical-master'Philipp Gesang
2017-02-02Fix calculation of database optical sizesYan Zhou
The conversion from reported design size etc., to "true `sp` value" is actually converting from `bp` to `pt`.
2017-01-31[parsers] remove “experimental” flag from kpse, my lookupsPhilipp Gesang
These have stabilized a long time ago and will be supported.
2017-01-29[db] fix duplicate files in scan listPhilipp Gesang
Fix #394 Due to an oversight, all files except AFM got scanned twice.
2017-01-29[*] bump year and versionPhilipp Gesang
2017-01-29[db] move design size handling into lookupPhilipp Gesang
Store design sizes in sp in index. Lookups are performed using sp so the design size factor can be applied at runtime.
2017-01-29[conf] improve defaults handling of designsize-dimenPhilipp Gesang
2017-01-29[conf,db] make design size dimension configurablePhilipp Gesang
2017-01-29[db] scale optical sizes to ptPhilipp Gesang
Fix #389
2017-01-29[main] make main() no-op when called againPhilipp Gesang
Fix #390 Suggested by @davidcarlisle.
2017-01-29[fontloader] sync with Context as of 2017-01-29Philipp Gesang
2017-01-29[letterspace] address node deallocation issuesPhilipp Gesang
With 1.0.3 the test pln-letterspace-12-double-ligature-issue-350.tex causes a crash on account of a double free. Remove the code that calls nodedirect.free() on the removed nodes until this is better understood.
2017-01-29[log] handle logging more defensivelyPhilipp Gesang
2016-10-22[fontloader] sync with Context as of 2016-10-22Philipp Gesang
2016-10-20[fontloader] sync with Context as of 2016-10-20v2.8-rc3Philipp Gesang
2016-10-19[db] tentatively reintroduce fallback for italicPhilipp Gesang
Fix assignment of LM series fonts. Currently these are broken because of borked typosub identifiers like “8oblique” that prevent exact name matching and at the same time exclude matching the (usable) subfamily. Introduce a heuristic based on the italic angle value that assigns italic as a fallback in these cases. Test: https://bitbucket.org/phg/lua-la-tex-tests/src/857c83ca98cb35153979a0613d3a742bfd93f834/lua/tla-names-3-lm.lua
2016-10-17[db,conf,doc] kill off references to FF loaderPhilipp Gesang
The config option must go since the FF based code was removed already some time ago.
2016-10-17[fontloader] sync with Context as of 2016-10-17Philipp Gesang
2016-09-29[tool] fix crash in verbose error messagePhilipp Gesang
2016-09-29[features,tool] fix subfont handling in file loadingPhilipp Gesang
Subfont loading seems to have been broken for a while but no reports …
2016-09-29[tool] remove unnecessary modulesPhilipp Gesang
These only make the loader emit warnings because of the missing runtime environment. They weren’t needed to begin with.
2016-09-28[main,tool] fix version checkPhilipp Gesang
Fixes #382 Luaotfload will fail with an up to date Luatex on account on a buggy minimum version check. Many thanks to @davidcarlisle for the report.
2016-09-27[features,parsers] add extremely important featurePhilipp Gesang
Credits to Taco for the talk at Kalenberg that inspired the feature. Extending the parser is required so we can have proper name for the feature. Happy Luatex 1.0.0
2016-09-24[fontloader] sync with Context as of 2016-09-24Philipp Gesang
2016-09-23[fontloader] patch basics-gen to include missing convertersPhilipp Gesang
Fontloader crashes during loading. Hans is notified, let’s wait for him to fix it properly.
2016-09-23[fontloader] sync with Context as of 2016-09-23Philipp Gesang
This incorporates our patch for issue #377.
2016-09-20[fontloader] HACK hot-patch loader to fix crashv2.8-rc1Philipp Gesang
Patch has been upstreamed for a while but no response yet.
2016-09-20[db] install required functions from font-synPhilipp Gesang
The loader makes some assumptions about available lookup functions early on. Since fonts-syn.lua only installed dummies for most of these, we might as well do that too.
2016-09-15[fontloader] sync with Context as of 2016-09-15Philipp Gesang
2016-08-29[fontloader] sync with Context as of 2016-08-29Philipp Gesang
2016-08-15[features] drop code from font-otcPhilipp Gesang
addfeature() and the likes -- with less extensive logging -- is now provided directly by means of font-otc.lua so we don’t need to keep these parts around any longer. The loader installs anum features identical to ours and a slightly different “tlig” one which we override. Clean up locals and misleading comments while we’re at it.
2016-08-15[scripts, init] include font-otc at the appropriate placesPhilipp Gesang
2016-08-15[fontloader] sync with Context as of 2016-08-15Philipp Gesang
CAVEAT LECTOR This adds font-otc.lua part of which has already been included in our feature handler.