summaryrefslogtreecommitdiff
path: root/tex/context/base/font-gds.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2010-09-28 10:24:22 +0300
committerMarius <mariausol@gmail.com>2010-09-28 10:24:22 +0300
commit1daa5350b249e633033662735b5615e24a48377a (patch)
tree80292b8147f151fccc923eb69bb4343c6a8df2a5 /tex/context/base/font-gds.lua
parente0887f1cdaeb3298bbae543cba3ae07788fb4327 (diff)
downloadcontext-1daa5350b249e633033662735b5615e24a48377a.tar.gz
beta 2010.09.27 23:32
Diffstat (limited to 'tex/context/base/font-gds.lua')
-rw-r--r--tex/context/base/font-gds.lua27
1 files changed, 27 insertions, 0 deletions
diff --git a/tex/context/base/font-gds.lua b/tex/context/base/font-gds.lua
index f515d2b33..a0491a3cd 100644
--- a/tex/context/base/font-gds.lua
+++ b/tex/context/base/font-gds.lua
@@ -320,6 +320,33 @@ end
fonts.goodies.register("files", initialize)
+-- some day we will have a define command and then we can also do some
+-- proper tracing
+--
+-- fonts.typefaces["antykwapoltawskiego-condensed"] = {
+-- shortcut = "rm",
+-- shape = "serif",
+-- fontname = "antykwapoltawskiego",
+-- normalweight = "light",
+-- boldweight = "medium",
+-- width = "condensed",
+-- size = "default",
+-- features = "default",
+-- }
+
+local function initialize(goodies)
+ local typefaces = goodies.typefaces
+ if typefaces then
+ local ft = fonts.typefaces
+ for k, v in next, typefaces do
+ ft[k] = v
+ end
+ end
+end
+
+fonts.goodies.register("typefaces", initialize)
+
+
-- The following file (husayni.lfg) is the experimental setup that we used
-- for Idris font. For the moment we don't store this in the cache and quite
-- probably these files sit in one of the paths: