summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2017-02-04 13:55:17 +0100
committerGitHub <noreply@github.com>2017-02-04 13:55:17 +0100
commit3094feb28d13a7ab5efec213ee31807db1976e98 (patch)
treeefffc2c64162a288aa787734772fc9399be46dca
parentd0e3bd07b868aefe12a88704bf2dbb35b5da2190 (diff)
parent0842c371132e76fbe67c357b61207e6d5730f553 (diff)
downloadluaotfload-3094feb28d13a7ab5efec213ee31807db1976e98.tar.gz
Merge pull request #404 from phi-gamma/master
v2.8-1
-rw-r--r--doc/luaotfload.conf.rst7
-rw-r--r--src/fontloader/misc/fontloader-font-dsp.lua1
-rw-r--r--src/luaotfload-database.lua2
3 files changed, 7 insertions, 3 deletions
diff --git a/doc/luaotfload.conf.rst b/doc/luaotfload.conf.rst
index fbef8ec..63472cf 100644
--- a/doc/luaotfload.conf.rst
+++ b/doc/luaotfload.conf.rst
@@ -153,8 +153,11 @@ and has no effect on the runtime behavior of Luaotfload, the flag
should remain set. Most editors come with zlib support anyways.
The setting ``designsize-dimen`` applies when looking up fonts from
-families with design sizes. The default of DTP-style “big points”
-can be changed for ``pt`` or even ``dd``.
+families with design sizes. In Opentype, these are specified as
+“decipoints” where one decipoint equals ten DTP style “big points”.
+When indexing fonts these values are converted to ``sp``. In order to
+treat the values as though they were specified in TeX points or Didot
+points, set ``designsize-dimen`` to ``pt`` or ``dd``.
The list of ``formats`` must be a comma separated sequence of strings
containing one or more of these elements:
diff --git a/src/fontloader/misc/fontloader-font-dsp.lua b/src/fontloader/misc/fontloader-font-dsp.lua
index 14e3a1d..13095f7 100644
--- a/src/fontloader/misc/fontloader-font-dsp.lua
+++ b/src/fontloader/misc/fontloader-font-dsp.lua
@@ -1733,6 +1733,7 @@ do
sublookuplist[nofsublookups] = copy(h) -- we repack later
sublookuphash[lookupid] = nofsublookups
sublookupcheck[lookupid] = 1
+ h = nofsublookups --- patch by Hans
else
report_issue(i,what,sequence,"missing")
rule.lookups = nil
diff --git a/src/luaotfload-database.lua b/src/luaotfload-database.lua
index 950d126..9c8c298 100644
--- a/src/luaotfload-database.lua
+++ b/src/luaotfload-database.lua
@@ -3680,7 +3680,7 @@ return {
fonts.definers = fonts.definers or { resolvers = { } }
names.blacklist = blacklist
- names.version = 4 --- increase monotonically
+ names.version = 5 --- increase monotonically
names.data = nil --- contains the loaded database
names.lookups = nil --- contains the lookup cache