summaryrefslogtreecommitdiff
path: root/tex/context/fonts
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2013-10-30 15:00:27 +0200
committerMarius <mariausol@gmail.com>2013-10-30 15:00:27 +0200
commit77a7df55ac29ffdb0abe2f136406b06c0f8c3577 (patch)
treeda9c7a4eb6d4db3704aba4f9591276a83355fab7 /tex/context/fonts
parentb8ac6d7b7fdb16293c28034c349efd5b0b7b20b3 (diff)
downloadcontext-77a7df55ac29ffdb0abe2f136406b06c0f8c3577.tar.gz
beta 2013.10.30 13:30
Diffstat (limited to 'tex/context/fonts')
-rw-r--r--tex/context/fonts/hanbatanglvt.lfg30
-rw-r--r--tex/context/fonts/treatments.lfg4
2 files changed, 34 insertions, 0 deletions
diff --git a/tex/context/fonts/hanbatanglvt.lfg b/tex/context/fonts/hanbatanglvt.lfg
new file mode 100644
index 000000000..0e3eaf5ed
--- /dev/null
+++ b/tex/context/fonts/hanbatanglvt.lfg
@@ -0,0 +1,30 @@
+-- Maybe some day I will do this more efficient but for the moment it's okay. (We need
+-- access to the names table then.)
+
+local f_uni_base = string.formatters["uni%04X"]
+local f_uni_plus = string.formatters["uni%04X.y%s"]
+
+local function range(first,last)
+ local t = { }
+ for i=first,last do
+ t[#t+1] = f_uni_base(i)
+ for j=0,19 do
+ t[#t+1] = f_uni_plus(i,j)
+ end
+ end
+ return t
+end
+
+return {
+ name = "hanbatanglvt",
+ version = "1.00",
+ comment = "Goodies that complement the hanbatanglvt fonts.",
+ author = "Hans Hagen",
+ colorschemes = {
+ default = {
+ range(0x01100,0x0115F), -- jamo_initial
+ range(0x01160,0x011A7), -- jamo_medial
+ range(0x011A8,0x011FF), -- jamo_final
+ }
+ }
+}
diff --git a/tex/context/fonts/treatments.lfg b/tex/context/fonts/treatments.lfg
index b973906c3..44d24da22 100644
--- a/tex/context/fonts/treatments.lfg
+++ b/tex/context/fonts/treatments.lfg
@@ -64,6 +64,10 @@ return {
comment = "a text file with suffix ttf", -- used in test file
ignored = true,
},
+ ["lingoes.ttf"] = {
+ comment = "bugged file",
+ ignored = true,
+ },
-- harmless example
-- ["copperplatethirtythreebc.ttf"] = {
-- comment = "hangs and has no hyphen",