summaryrefslogtreecommitdiff
path: root/tex/context/base/font-gds.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2010-09-23 01:03:00 +0200
committerHans Hagen <pragma@wxs.nl>2010-09-23 01:03:00 +0200
commitc1f0465c97636a4874e0d230c2e61cdf28ac3532 (patch)
treee08df069cc2a5bb88134b13ebbbcc301e930114c /tex/context/base/font-gds.lua
parent9357c597be3b099500d1ab60ef3e70c572088b0b (diff)
downloadcontext-c1f0465c97636a4874e0d230c2e61cdf28ac3532.tar.gz
beta 2010.09.23 01:03
Diffstat (limited to 'tex/context/base/font-gds.lua')
-rw-r--r--tex/context/base/font-gds.lua23
1 files changed, 23 insertions, 0 deletions
diff --git a/tex/context/base/font-gds.lua b/tex/context/base/font-gds.lua
index ce1184292..f515d2b33 100644
--- a/tex/context/base/font-gds.lua
+++ b/tex/context/base/font-gds.lua
@@ -297,6 +297,29 @@ end
fontgoodies.register("mathematics", initialize)
+-- the following takes care of explicit file specifications
+--
+-- files = {
+-- name = "antykwapoltawskiego",
+-- list = {
+-- ["AntPoltLtCond-Regular.otf"] = {
+-- -- name = "antykwapoltawskiego",
+-- style = "regular",
+-- weight = "light",
+-- width = "condensed",
+-- },
+-- },
+-- }
+
+local function initialize(goodies)
+ local files = goodies.files
+ if files then
+ fonts.names.register(files)
+ end
+end
+
+fonts.goodies.register("files", 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: