summaryrefslogtreecommitdiff
path: root/tex/context/base/font-pat.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2012-10-19 01:20:13 +0300
committerMarius <mariausol@gmail.com>2012-10-19 01:20:13 +0300
commit69d2352af4b60929b37fc49f3bdb263977016244 (patch)
treedb5eb11398e345dfa23b4c4500fb93575d2afb7c /tex/context/base/font-pat.lua
parentc18f7cbe51449a611ea1819fedd9a4ff18529b7d (diff)
downloadcontext-69d2352af4b60929b37fc49f3bdb263977016244.tar.gz
stable 2012.05.30 11:26
Diffstat (limited to 'tex/context/base/font-pat.lua')
-rw-r--r--tex/context/base/font-pat.lua14
1 files changed, 6 insertions, 8 deletions
diff --git a/tex/context/base/font-pat.lua b/tex/context/base/font-pat.lua
index 50d99f668..b91502c74 100644
--- a/tex/context/base/font-pat.lua
+++ b/tex/context/base/font-pat.lua
@@ -6,13 +6,11 @@ if not modules then modules = { } end modules ['font-pat'] = {
license = "see context related readme files"
}
--- This functiononality is nowadays provided via lfg files so what you see here
--- is more an example.
-
local match, lower = string.match, string.lower
--- Older versions of latin modern didn't have the designsize set so for them we
--- get it from the name reporter moved to elsewhere.
+-- older versions of latin modern didn't have the designsize set
+-- so for them we get it from the name
+-- reporter moved to elsewhere
local fonts = fonts
local otf = fonts.handlers.otf
@@ -34,9 +32,9 @@ register("after","migrate metadata","^lmroman", patch)
register("after","migrate metadata","^lmsans", patch)
register("after","migrate metadata","^lmtypewriter",patch)
--- For some reason (either it's a bug in the font, or it's a problem in the
--- library) the palatino arabic fonts don't have the mkmk features properly
--- set up.
+-- for some reason (either it's a bug in the font, or it's
+-- a problem in the library) the palatino arabic fonts don't
+-- have the mkmk features properly set up
local function patch(data,filename)
local gpos = data.gpos