Magellan Linux

Contents of /trunk/ttmkfdir/patches/ttmkfdir-3.0.9-xorg7.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 337 - (show annotations) (download)
Thu Sep 6 17:46:05 2007 UTC (16 years, 8 months ago) by niro
File size: 2064 byte(s)
-patch for newer xorg

1 diff -Naur ttmkfdir-3.0.9/README ttmkfdir-3.0.9-xorg7/README
2 --- ttmkfdir-3.0.9/README 2003-01-13 02:11:10.000000000 +0100
3 +++ ttmkfdir-3.0.9-xorg7/README 2007-09-06 19:44:34.000000000 +0200
4 @@ -31,7 +31,7 @@
5 ttmkfdir is doing its job by checking each TrueType font file against
6 fontenc layer, please refer www.xfree86.org/current/fonts.html
7 for details. Default encodings.dir file is
8 - /usr/X11R6/lib/X11/fonts/encodings/encodings.dir
9 + /usr/lib/X11/fonts/encodings/encodings.dir
10
11 --output (or -o)
12
13 diff -Naur ttmkfdir-3.0.9/ttmkfdir.cpp ttmkfdir-3.0.9-xorg7/ttmkfdir.cpp
14 --- ttmkfdir-3.0.9/ttmkfdir.cpp 2007-09-06 19:46:08.000000000 +0200
15 +++ ttmkfdir-3.0.9-xorg7/ttmkfdir.cpp 2007-09-06 19:45:20.000000000 +0200
16 @@ -16,7 +16,7 @@
17
18 cerr << "This Program is (C) Joerg Pommnitz, 2000" << endl;
19 cerr << "Usage: " << program << " [OPTION]" << endl;
20 - cerr << "-e, --encoding\t\tname of the encoding directory file, default is \"/usr/X11R6/lib/X11/fonts/encodings/encodings.dir\"" << endl;
21 + cerr << "-e, --encoding\t\tname of the encoding directory file, default is \"/usr/lib/X11/fonts/encodings/encodings.dir\"" << endl;
22 cerr << "-o, --output\t\tname of the destination file, default is \"fonts.scale\"" << endl;
23 cerr << "-d, --font-dir\t\tname of the TrueType font directory, default is \".\"" << endl;
24 cerr << "-f, --default-foundry\tname of the default font foundry, default is \"misc\"" << endl;
25 @@ -32,7 +32,7 @@
26 void
27 ParseCommandline (int argc, char *argv[])
28 {
29 - cmdline::instance()->AddOption (new Commandline::Option ("encoding", 'e', "/usr/X11R6/lib/X11/fonts/encodings/encodings.dir"));
30 + cmdline::instance()->AddOption (new Commandline::Option ("encoding", 'e', "/usr/lib/X11/fonts/encodings/encodings.dir"));
31 cmdline::instance()->AddOption (new Commandline::Option ("output", 'o', "fonts.scale"));
32 cmdline::instance()->AddOption (new Commandline::Option ("font-dir", 'd', "."));
33 cmdline::instance()->AddOption (new Commandline::Option ("default-foundry", 'f', "misc"));