summaryrefslogtreecommitdiff
path: root/otfl-font-dum.lua
diff options
context:
space:
mode:
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