summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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