summaryrefslogtreecommitdiff
path: root/otfl-font-dum.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-05-09 18:19:57 +0300
committerKhaled Hosny <khaledhosny@eglug.org>2010-05-09 18:20:13 +0300
commit2d1908ff97890f3a0e7cae39dd99e7b97ff2d443 (patch)
treea9b1bfdb02f75b1af09fb3c057465e90f0b64ecc /otfl-font-dum.lua
parentf80559dee34d3e2c01f5793541e1c6fb4b6b641b (diff)
downloadluaotfload-2d1908ff97890f3a0e7cae39dd99e7b97ff2d443.tar.gz
Updating to latest ConTeXt stable (2010.05.08)
Diffstat (limited to 'otfl-font-dum.lua')
-rw-r--r--otfl-font-dum.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/otfl-font-dum.lua b/otfl-font-dum.lua
index 1d79ab1..5224ae1 100644
--- a/otfl-font-dum.lua
+++ b/otfl-font-dum.lua
@@ -346,3 +346,13 @@ fonts.protrusions.setups['default'] = {
[0x06D4] = { 0, 1 }, -- arabic full stop ۔
}
+
+-- normalizer
+
+fonts.otf.meanings = fonts.otf.meanings or { }
+
+fonts.otf.meanings.normalize = fonts.otf.meanings.normalize or function(t)
+ if t.rand then
+ t.rand = "random"
+ end
+end