summaryrefslogtreecommitdiff
path: root/src/luaotfload-letterspace.lua
Commit message (Collapse)AuthorAgeFilesLines
* [letterspace] address node deallocation issuesPhilipp Gesang2017-01-291-2/+6
| | | | | | 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.
* [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.
* [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.
* [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
* [*] update dates, versionPhilipp Gesang2016-04-071-1/+1
|
* [letterspace] fix wrong construction of node list after spacing ligaturesPhilipp Gesang2016-01-081-19/+28
|
* [letterspace] fix oversight in kern handlingPhilipp Gesang2015-12-211-0/+1
|
* [letterspace] employ dedicated accessors where appropriatePhilipp Gesang2015-12-211-35/+50
|
* [letterspace] fix access of invalid node fieldPhilipp Gesang2015-12-181-3/+3
| | | | | | | | 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.
* [letterspace] fix handling of interword spacePhilipp Gesang2015-11-261-23/+71
| | | | | | | | | Fix https://github.com/lualatex/luaotfload/issues/297 Interword glue hasn’t been considered yet. This again adapts the relevant logic from Context to our letterspacing method. The code is deliberately simplistic and will most likely not address all constellations of a glue preceding a character.
* [letterspace] pull in missing localv2.6-rc1Philipp Gesang2015-11-211-0/+1
|
* [letterspace] invoke spacing function on converted headPhilipp Gesang2015-07-221-3/+6
| | | | Letterspacing should be functional again.
* [letterspace] convert to node.directPhilipp Gesang2014-12-141-90/+127
| | | | | | | | | This is an experiment: The character kerning callback has been converted in its entirety to utilize the not-so-new direct node API. Since the translation was mechanical only to a certain extent, this may have introduced errors. On the other hand, the revised code resembles its distant ancestor in Context’s ``typo-krn.lua`` much more closely again, which may come in handy in the future.
* [letterspace] add extra checks for character tablePhilipp Gesang2014-12-071-2/+2
| | | | | | fix https://github.com/lualatex/luaotfload/issues/258 This fix was proposed by /u/saidai-no on Github.
* [*] move source files to ./srcPhilipp Gesang2014-02-121-0/+544