aboutsummaryrefslogtreecommitdiff
path: root/system/ttmkfdir/patches/ttmkfdir-3.0.9-encoding-dir.patch
diff options
context:
space:
mode:
authorRonny Schmatzler <schmatzler@hirnschwund.net>2015-03-12 22:42:30 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-12 22:42:30 +0700
commit2dd53fd37b7826fe1ff63924206bbb09209ed343 (patch)
tree27345f7cf7991050b97c3eaa13a8061fa975c3f9 /system/ttmkfdir/patches/ttmkfdir-3.0.9-encoding-dir.patch
parent6d204a3c370236ba083168d7f3e0b9c60c1283fc (diff)
system/ttmkfdir: Added (fonts.dir creator).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/ttmkfdir/patches/ttmkfdir-3.0.9-encoding-dir.patch')
-rw-r--r--system/ttmkfdir/patches/ttmkfdir-3.0.9-encoding-dir.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/system/ttmkfdir/patches/ttmkfdir-3.0.9-encoding-dir.patch b/system/ttmkfdir/patches/ttmkfdir-3.0.9-encoding-dir.patch
new file mode 100644
index 000000000000..b07329620a4b
--- /dev/null
+++ b/system/ttmkfdir/patches/ttmkfdir-3.0.9-encoding-dir.patch
@@ -0,0 +1,20 @@
+--- ttmkfdir-3.0.9/ttmkfdir.cpp.Origin 2006-06-15 17:58:43.000000000 +0800
++++ ttmkfdir-3.0.9/ttmkfdir.cpp 2006-06-15 17:59:07.000000000 +0800
+@@ -16,7 +16,7 @@
+
+ cerr << "This Program is (C) Joerg Pommnitz, 2000" << endl;
+ cerr << "Usage: " << program << " [OPTION]" << endl;
+- cerr << "-e, --encoding\t\tname of the encoding directory file, default is \"/usr/X11R6/lib/X11/fonts/encodings/encodings.dir\"" << endl;
++ cerr << "-e, --encoding\t\tname of the encoding directory file, default is \"/usr/share/X11/fonts/encodings/encodings.dir\"" << endl;
+ cerr << "-o, --output\t\tname of the destination file, default is \"fonts.scale\"" << endl;
+ cerr << "-d, --font-dir\t\tname of the TrueType font directory, default is \".\"" << endl;
+ cerr << "-f, --default-foundry\tname of the default font foundry, default is \"misc\"" << endl;
+@@ -32,7 +32,7 @@
+ void
+ ParseCommandline (int argc, char *argv[])
+ {
+- cmdline::instance()->AddOption (new Commandline::Option ("encoding", 'e', "/usr/X11R6/lib/X11/fonts/encodings/encodings.dir"));
++ cmdline::instance()->AddOption (new Commandline::Option ("encoding", 'e', "/usr/share/X11/fonts/encodings/encodings.dir"));
+ cmdline::instance()->AddOption (new Commandline::Option ("output", 'o', "fonts.scale"));
+ cmdline::instance()->AddOption (new Commandline::Option ("font-dir", 'd', "."));
+ cmdline::instance()->AddOption (new Commandline::Option ("default-foundry", 'f', "misc"));