aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-05-14 13:19:53 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-05-14 13:19:53 +0200
commit371890022cc7a040fc5998db309337e06fc09db9 (patch)
treec77ad2daa32b3b7274722b5e8ea21b7a6a037bfd
parent7b31e2a1665cd8a71c662bce187d8d59f551503f (diff)
Move data files out of the way
-rw-r--r--data/cyrilc.hmp (renamed from cyrilc.hmp)0
-rw-r--r--data/gothgbt.hmp (renamed from gothgbt.hmp)0
-rw-r--r--data/gothgrt.hmp (renamed from gothgrt.hmp)0
-rw-r--r--data/gothitt.hmp (renamed from gothitt.hmp)0
-rw-r--r--data/greekc.hmp (renamed from greekc.hmp)0
-rw-r--r--data/greekcs.hmp (renamed from greekcs.hmp)0
-rw-r--r--data/greekp.hmp (renamed from greekp.hmp)0
-rw-r--r--data/greeks.hmp (renamed from greeks.hmp)0
-rw-r--r--data/hershey (renamed from hershey.txt)0
-rw-r--r--data/italicc.hmp (renamed from italicc.hmp)0
-rw-r--r--data/italiccs.hmp (renamed from italiccs.hmp)0
-rw-r--r--data/italict.hmp (renamed from italict.hmp)0
-rw-r--r--data/romanc.hmp (renamed from romanc.hmp)0
-rw-r--r--data/romancs.hmp (renamed from romancs.hmp)0
-rw-r--r--data/romand.hmp (renamed from romand.hmp)0
-rw-r--r--data/romanp.hmp (renamed from romanp.hmp)0
-rw-r--r--data/romans.hmp (renamed from romans.hmp)0
-rw-r--r--data/romant.hmp (renamed from romant.hmp)0
-rw-r--r--data/scriptc.hmp (renamed from scriptc.hmp)0
-rw-r--r--data/scripts.hmp (renamed from scripts.hmp)0
-rw-r--r--main.go6
21 files changed, 2 insertions, 4 deletions
diff --git a/cyrilc.hmp b/data/cyrilc.hmp
index b67ea54..b67ea54 100644
--- a/cyrilc.hmp
+++ b/data/cyrilc.hmp
diff --git a/gothgbt.hmp b/data/gothgbt.hmp
index 1fd4754..1fd4754 100644
--- a/gothgbt.hmp
+++ b/data/gothgbt.hmp
diff --git a/gothgrt.hmp b/data/gothgrt.hmp
index 3a72961..3a72961 100644
--- a/gothgrt.hmp
+++ b/data/gothgrt.hmp
diff --git a/gothitt.hmp b/data/gothitt.hmp
index 277346f..277346f 100644
--- a/gothitt.hmp
+++ b/data/gothitt.hmp
diff --git a/greekc.hmp b/data/greekc.hmp
index 70067a8..70067a8 100644
--- a/greekc.hmp
+++ b/data/greekc.hmp
diff --git a/greekcs.hmp b/data/greekcs.hmp
index c16cb28..c16cb28 100644
--- a/greekcs.hmp
+++ b/data/greekcs.hmp
diff --git a/greekp.hmp b/data/greekp.hmp
index 1f96155..1f96155 100644
--- a/greekp.hmp
+++ b/data/greekp.hmp
diff --git a/greeks.hmp b/data/greeks.hmp
index 87ab779..87ab779 100644
--- a/greeks.hmp
+++ b/data/greeks.hmp
diff --git a/hershey.txt b/data/hershey
index 5da75c6..5da75c6 100644
--- a/hershey.txt
+++ b/data/hershey
diff --git a/italicc.hmp b/data/italicc.hmp
index 3f9dd25..3f9dd25 100644
--- a/italicc.hmp
+++ b/data/italicc.hmp
diff --git a/italiccs.hmp b/data/italiccs.hmp
index 908a504..908a504 100644
--- a/italiccs.hmp
+++ b/data/italiccs.hmp
diff --git a/italict.hmp b/data/italict.hmp
index 12a9f90..12a9f90 100644
--- a/italict.hmp
+++ b/data/italict.hmp
diff --git a/romanc.hmp b/data/romanc.hmp
index 656fea1..656fea1 100644
--- a/romanc.hmp
+++ b/data/romanc.hmp
diff --git a/romancs.hmp b/data/romancs.hmp
index 8285ced..8285ced 100644
--- a/romancs.hmp
+++ b/data/romancs.hmp
diff --git a/romand.hmp b/data/romand.hmp
index c9ebc8a..c9ebc8a 100644
--- a/romand.hmp
+++ b/data/romand.hmp
diff --git a/romanp.hmp b/data/romanp.hmp
index 91e52a1..91e52a1 100644
--- a/romanp.hmp
+++ b/data/romanp.hmp
diff --git a/romans.hmp b/data/romans.hmp
index 306e682..306e682 100644
--- a/romans.hmp
+++ b/data/romans.hmp
diff --git a/romant.hmp b/data/romant.hmp
index 45ec25c..45ec25c 100644
--- a/romant.hmp
+++ b/data/romant.hmp
diff --git a/scriptc.hmp b/data/scriptc.hmp
index 21e1eeb..21e1eeb 100644
--- a/scriptc.hmp
+++ b/data/scriptc.hmp
diff --git a/scripts.hmp b/data/scripts.hmp
index 5333336..5333336 100644
--- a/scripts.hmp
+++ b/data/scripts.hmp
diff --git a/main.go b/main.go
index dee6bd2..5f6a0bd 100644
--- a/main.go
+++ b/main.go
@@ -2,8 +2,6 @@ package main
import "fmt"
-var fontfile = "hershey.txt"
-
var selector = map[string]string{
"Gothic English Triplex": "gothgbt.hmp",
"Gothic German Triplex": "gothgrt.hmp",
@@ -27,11 +25,11 @@ var selector = map[string]string{
}
func main() {
- fnt := loadFont(fontfile)
+ fnt := loadFont("data/hershey")
for k, v := range selector {
fmt.Println(k)
- m := getMap(v)
+ m := getMap("data/" + v)
for k, gl := range fnt.Select(m) {
fmt.Println(k, gl)