SOURCES: nx-fonts.patch (NEW) - xorg 7 font paths

arekm arekm at pld-linux.org
Sun May 21 14:29:25 CEST 2006


Author: arekm                        Date: Sun May 21 12:29:25 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- xorg 7 font paths

---- Files affected:
SOURCES:
   nx-fonts.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/nx-fonts.patch
diff -u /dev/null SOURCES/nx-fonts.patch:1.1
--- /dev/null	Sun May 21 14:29:25 2006
+++ SOURCES/nx-fonts.patch	Sun May 21 14:29:20 2006
@@ -0,0 +1,424 @@
+diff -purN nx-X11.orig/lib/fontconfig/fonts.conf.in nx-X11/lib/fontconfig/fonts.conf.in
+--- nx-X11.orig/lib/fontconfig/fonts.conf.in	2002-10-03 17:06:28.000000000 -0500
++++ nx-X11/lib/fontconfig/fonts.conf.in	2006-03-21 08:15:22.000000000 -0600
+@@ -24,7 +24,7 @@
+   Common X11R6 font directories
+ -->
+ 
+-	<dir>/usr/X11R6/lib/X11/fonts</dir>
++	<dir>/usr/share/fonts</dir>
+  	<dir>/usr/share/fonts</dir>
+ 	<dir>~/.fonts</dir>
+ 
+diff -purN nx-X11.orig/lib/fontconfig/src/fontconfig.man nx-X11/lib/fontconfig/src/fontconfig.man
+--- nx-X11.orig/lib/fontconfig/src/fontconfig.man	2003-02-16 11:44:36.000000000 -0600
++++ nx-X11/lib/fontconfig/src/fontconfig.man	2006-03-21 08:15:22.000000000 -0600
+@@ -1352,8 +1352,8 @@ This is an example of a system-wide conf
+ <!-- 
+ 	Find fonts in these directories
+ -->
+-<dir>/usr/X11R6/lib/X11/fonts/truetype</dir>
+-<dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
++<dir>/usr/share/fonts/truetype</dir>
++<dir>/usr/share/fonts/Type1</dir>
+ 
+ <!--
+ 	Accept deprecated 'mono' alias, replacing it with 'monospace'
+diff -purN nx-X11.orig/programs/Xserver/hw/nxagent/Font.c nx-X11/programs/Xserver/hw/nxagent/Font.c
+--- nx-X11.orig/programs/Xserver/hw/nxagent/Font.c	2005-12-12 10:51:51.000000000 -0600
++++ nx-X11/programs/Xserver/hw/nxagent/Font.c	2006-03-21 08:14:17.000000000 -0600
+@@ -60,13 +60,13 @@ is" without express or implied warranty.
+ #undef  TEST
+ #undef  DEBUG
+ 
+-#define NXAGENT_DEFAULT_FONT_DIR    "/usr/X11R6/lib/X11/fonts"
++#define NXAGENT_DEFAULT_FONT_DIR    "/usr/share/fonts"
+ #define NXAGENT_ALTERNATE_FONT_DIR  "/usr/share/X11/fonts"
+ 
+ #define NXAGENT_DEFAULT_FONT_PATH  \
+-"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,\
+-/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,\
+-/usr/X11R6/lib/X11/fonts/100dpi/,/usr/X11R6/lib/X11/fonts/TTF/"
++"/usr/share/fonts/misc/,/usr/share/fonts/Speedo/,\
++/usr/share/fonts/Type1/,/usr/share/fonts/75dpi/,\
++/usr/share/fonts/100dpi/,/usr/share/fonts/TTF/"
+ 
+ #define NXAGENT_ALTERNATE_FONT_PATH  \
+ "/usr/share/X11/fonts/misc/,/usr/share/X11/fonts/Speedo/,\
+@@ -1008,7 +1008,7 @@ void nxagentVerifyDefaultFontPath(void)
+           S_ISDIR(dirStat.st_mode) != 0)
+   {
+     /*
+-     * Let's use the old "/usr/X11R6/lib/X11/fonts" style.
++     * Let's use the old "/usr/share/fonts" style.
+      */
+ 
+     #ifdef TEST
+diff -purN nx-X11.orig/programs/Xserver/hw/xfree86/doc/Install nx-X11/programs/Xserver/hw/xfree86/doc/Install
+--- nx-X11.orig/programs/Xserver/hw/xfree86/doc/Install	2003-02-24 23:29:10.000000000 -0600
++++ nx-X11/programs/Xserver/hw/xfree86/doc/Install	2006-03-21 08:14:26.000000000 -0600
+@@ -318,7 +318,7 @@ tion procedure for this case is as follo
+      chmod ug-w /usr/X11R6/lib           # Make sure the permissions are OK
+      /sbin/ldconfig /usr/X11R6/lib       # For Linux
+      /sbin/ldconfig -m /usr/X11R6/lib    # For FreeBSD, NetBSD, OpenBSD
+-     /usr/X11R6/bin/mkfontdir /usr/X11R6/lib/X11/fonts/misc
++     /usr/X11R6/bin/mkfontdir /usr/share/fonts/misc
+ 
+ 4.2  Installing over an old installation
+ 
+@@ -378,7 +378,7 @@ Once that's done, the main part of the i
+      chmod ug-w /usr/X11R6/lib           # Make sure the permissions are OK
+      /sbin/ldconfig /usr/X11R6/lib       # For Linux
+      /sbin/ldconfig -m /usr/X11R6/lib    # For FreeBSD, NetBSD, OpenBSD
+-     /usr/X11R6/bin/mkfontdir /usr/X11R6/lib/X11/fonts/misc
++     /usr/X11R6/bin/mkfontdir /usr/share/fonts/misc
+ 
+      Generated from XFree86: xc/programs/Xserver/hw/xfree86/doc/sgml/Install.sgml,v 1.17 2003/02/24 17:09:16 dawes Exp $
+ 
+diff -purN nx-X11.orig/programs/Xserver/hw/xfree86/doc/Japanese/man/XF86Config.man nx-X11/programs/Xserver/hw/xfree86/doc/Japanese/man/XF86Config.man
+--- nx-X11.orig/programs/Xserver/hw/xfree86/doc/Japanese/man/XF86Config.man	1998-04-04 20:28:40.000000000 -0600
++++ nx-X11/programs/Xserver/hw/xfree86/doc/Japanese/man/XF86Config.man	2006-03-21 08:14:26.000000000 -0600
+@@ -99,16 +99,16 @@ EndSection
+ .\" X11R6 allows the X server to request fonts from a font server.  A
+ .\" font server is specified by placing a "<trans>/<hostname>:<port_number>"
+ .\" entry into the fontpath.  For example, the fontpath
+-.\" "/usr/X11R6/lib/X11/fonts/misc/,tcp/zok:7100" tells the X server
++.\" "/usr/share/fonts/misc/,tcp/zok:7100" tells the X server
+ .\" to first try to locate the font in the local directory
+-.\" /usr/X11R6/lib/X11/fonts/misc.  If that fails, then request the
++.\" /usr/share/fonts/misc.  If that fails, then request the
+ .\" font from the \fIfont server\fP running on machine zok listening
+ .\" for connections on TCP port number 7100.
+ X11R6 ¤Ď X ĽľĄźĽĐ¤ŹĽŐĽŠĽóĽČĽľĄźĽĐ¤ËĽŐĽŠĽóĽČ¤ňÍ׾ᤚ¤ë¤ł¤Č¤Ź˛ÄÇ˝
+ ¤Ë¤Ę¤ę¤Ţ¤ˇ¤żĄŁĽŐĽŠĽóĽČĽľĄźĽĐ¤Ďžě˝ę¤ň "<trans>/<hostname>:<port_number>"
+ ¤ČĽŐĽŠĽóĽČĽŃĽš¤ËťŘÄꤡ¤Ţ¤šĄŁÎ㤨¤ĐĄ˘ĽŐĽŠĽóĽČĽŃĽš
+-"/usr/X11R6/lib/X11/fonts/misc/,tcp/zok:7100" ¤Ď¤Ţ¤şşÇ˝é¤ËĽíĄźĽŤĽë
+-ĽÇĽŁĽěĽŻĽČĽę /usr/X11R6/lib/X11/fonts/misc ¤ň X ĽľĄźĽĐ¤ËĹÁ¤¨¤Ţ¤šĄŁ
++"/usr/share/fonts/misc/,tcp/zok:7100" ¤Ď¤Ţ¤şşÇ˝é¤ËĽíĄźĽŤĽë
++ĽÇĽŁĽěĽŻĽČĽę /usr/share/fonts/misc ¤ň X ĽľĄźĽĐ¤ËĹÁ¤¨¤Ţ¤šĄŁ
+ ¤ł¤ě¤ŹźşÇÔ¤ˇ¤ż¤Č¤­¤ËĄ˘ĽÝĄźĽČČÖšć 7100 ¤Ť¤é TCP ¤ÇŔÜÂł¤ˇ¤ĆĘš¤¤¤Ć
+ (listening) ¤¤¤ë zok ¤Č¤¤¤ŚĽŰĽšĽČ¤ÇĆ°şî¤ˇ¤Ć¤¤¤ë \fIĽŐĽŠĽóĽČĽľĄźĽĐ\fP 
+ ¤ËĽŐĽŠĽóĽČ¤ňÍ׾ᤡ¤Ţ¤šĄŁ
+diff -purN nx-X11.orig/programs/Xserver/hw/xfree86/doc/Japanese/sgml/RELNOTE.sgml nx-X11/programs/Xserver/hw/xfree86/doc/Japanese/sgml/RELNOTE.sgml
+--- nx-X11.orig/programs/Xserver/hw/xfree86/doc/Japanese/sgml/RELNOTE.sgml	1997-01-25 22:34:24.000000000 -0600
++++ nx-X11/programs/Xserver/hw/xfree86/doc/Japanese/sgml/RELNOTE.sgml	2006-03-21 08:14:26.000000000 -0600
+@@ -1372,7 +1372,7 @@ However, if you didn't install <tt>X312D
+ 3.1.2D (or are not sure if you installed it), you should run the following:
+ 
+ <tscreen><verb>
+-	/usr/X11R6/bin/mkfontdir /usr/X11R6/lib/X11/fonts/misc
++	/usr/X11R6/bin/mkfontdir /usr/share/fonts/misc
+ </verb></tscreen>
+  
+ An up-to-date version of the xterm termcap and terminfo entries is
+diff -purN nx-X11.orig/programs/Xserver/hw/xfree86/doc/README.SVR4 nx-X11/programs/Xserver/hw/xfree86/doc/README.SVR4
+--- nx-X11.orig/programs/Xserver/hw/xfree86/doc/README.SVR4	2000-02-29 19:48:14.000000000 -0600
++++ nx-X11/programs/Xserver/hw/xfree86/doc/README.SVR4	2006-03-21 08:14:27.000000000 -0600
+@@ -295,9 +295,9 @@ you need to do:
+                 for i in *pc???.bdf
+                 do
+                     /usr/X11R6/bin/bdftopcf $i > \
+-                          /usr/X11R6/lib/X11/fonts/misc/`basename $i .bdf`.pcf
++                          /usr/share/fonts/misc/`basename $i .bdf`.pcf
+                 done
+-                cd /usr/X11R6/lib/X11/fonts/misc
++                cd /usr/share/fonts/misc
+                 /usr/X11R6/bin/mkfontdir
+                 # Do this only if the server is already running.
+                 /usr/X11R6/bin/xset fp rehash
+diff -purN nx-X11.orig/programs/Xserver/hw/xfree86/doc/README.fonts nx-X11/programs/Xserver/hw/xfree86/doc/README.fonts
+--- nx-X11.orig/programs/Xserver/hw/xfree86/doc/README.fonts	2003-01-19 22:10:02.000000000 -0600
++++ nx-X11/programs/Xserver/hw/xfree86/doc/README.fonts	2006-03-21 08:14:27.000000000 -0600
+@@ -253,7 +253,7 @@ CMap `UniKS-UCS2-H' is called
+ 
+ The CIDFont code in XFree86 requires a very rigid directory structure.  The
+ main directory must be called `CID' (its location defaults to
+-`/usr/X11R6/lib/X11/fonts/CID' but it may be located anywhere), and it should
++`/usr/share/fonts/CID' but it may be located anywhere), and it should
+ contain a subdirectory for every CID collection.  Every subdirectory must
+ contain subdirectories called CIDFont (containing the actual CIDFont files),
+ CMap (containing all the needed CMaps), AFM (containing the font metric
+@@ -398,7 +398,7 @@ dard fonts in a number of regional encod
+ 
+ For example, the font file
+ 
+-     /usr/X11R6/lib/X11/fonts/misc/6x13.bdf
++     /usr/share/fonts/misc/6x13.bdf
+ 
+ with XLFD
+ 
+@@ -442,7 +442,7 @@ The main ClearlyU font has the XLFD
+ 
+ and resides in the font file
+ 
+-     /usr/X11R6/lib/X11/fonts/misc/cu12.pcf.gz
++     /usr/share/fonts/misc/cu12.pcf.gz
+ 
+ Additional ClearlyU fonts include
+ 
+@@ -480,7 +480,7 @@ Standard Encoding.  These fonts have XLF
+ 
+ and reside in the font files
+ 
+-     /usr/X11R6/lib/X11/fonts/Type1/cour*.pfa
++     /usr/share/fonts/Type1/cour*.pfa
+ 
+ The Adobe Utopia set of fonts only cover ISO 8859-1 as well as Adobe Standard
+ Encoding.  These fonts have XLFD
+@@ -489,7 +489,7 @@ Encoding.  These fonts have XLFD
+ 
+ and reside in the font files
+ 
+-     /usr/X11R6/lib/X11/fonts/Type1/UT*.pfa
++     /usr/share/fonts/Type1/UT*.pfa
+ 
+ Finally, XFree86 also comes with Type 1 versions of Bitstream Courier and
+ Charter.  These fonts have XLFD
+@@ -499,7 +499,7 @@ Charter.  These fonts have XLFD
+ 
+ and reside in the font files
+ 
+-     /usr/X11R6/lib/X11/fonts/Type1/c*bt_.pfb
++     /usr/share/fonts/Type1/c*bt_.pfb
+ 
+ 3.3.2  Standard Speedo fonts
+ 
+@@ -515,7 +515,7 @@ XLFD name
+ 
+ and reside in the font files
+ 
+-     /usr/X11R6/lib/X11/fonts/Speedo/font*.spd
++     /usr/share/fonts/Speedo/font*.spd
+ 
+ 3.4  The Bigelow & Holmes Luxi family
+ 
+@@ -699,7 +699,7 @@ The Speedo backend limits all encodings 
+ In order to use a font in an encoding that the font backend does not know
+ about, you need to have an `encodings.dir' file either in the same directory
+ as the font file used or in a system-wide location
+-(`/usr/X11R6/lib/X11/fonts/encodings/' by default).
++(`/usr/share/fonts/encodings/' by default).
+ 
+ The `encodings.dir' file has a similar format to `fonts.dir'.  Its first line
+ specifies the number of encodings, while every successive line has two
+@@ -709,9 +709,9 @@ should agree with the encoding name defi
+ ple,
+ 
+      3
+-     mulearabic-0 /usr/X11R6/lib/X11/fonts/encodings/mulearabic-0.enc
+-     mulearabic-1 /usr/X11R6/lib/X11/fonts/encodings/mulearabic-1.enc
+-     mulearabic-2 /usr/X11R6/lib/X11/fonts/encodings/mulearabic-2.enc
++     mulearabic-0 /usr/share/fonts/encodings/mulearabic-0.enc
++     mulearabic-1 /usr/share/fonts/encodings/mulearabic-1.enc
++     mulearabic-2 /usr/share/fonts/encodings/mulearabic-2.enc
+ 
+ The name of an encoding must be specified in the encoding file's `STARTENCOD-
+ ING' or `ALIAS' line.  It is not enough to create an `encodings.dir' entry.
+diff -purN nx-X11.orig/programs/Xserver/hw/xfree86/doc/sgml/Install.sgml nx-X11/programs/Xserver/hw/xfree86/doc/sgml/Install.sgml
+--- nx-X11.orig/programs/Xserver/hw/xfree86/doc/sgml/Install.sgml	2003-02-24 11:09:16.000000000 -0600
++++ nx-X11/programs/Xserver/hw/xfree86/doc/sgml/Install.sgml	2006-03-21 08:14:26.000000000 -0600
+@@ -432,7 +432,7 @@ ln -s /etc/X11/xserver /usr/X11R6/lib/X1
+ chmod ug-w /usr/X11R6/lib           # Make sure the permissions are OK
+ /sbin/ldconfig /usr/X11R6/lib       # For Linux
+ /sbin/ldconfig -m /usr/X11R6/lib    # For FreeBSD, NetBSD, OpenBSD
+-/usr/X11R6/bin/mkfontdir /usr/X11R6/lib/X11/fonts/misc
++/usr/X11R6/bin/mkfontdir /usr/share/fonts/misc
+ </verb></tscreen>
+ 
+ <sect1>Installing over an old installation
+@@ -511,7 +511,7 @@ Once that's done, the main part of the i
+ chmod ug-w /usr/X11R6/lib           # Make sure the permissions are OK
+ /sbin/ldconfig /usr/X11R6/lib       # For Linux
+ /sbin/ldconfig -m /usr/X11R6/lib    # For FreeBSD, NetBSD, OpenBSD
+-/usr/X11R6/bin/mkfontdir /usr/X11R6/lib/X11/fonts/misc
++/usr/X11R6/bin/mkfontdir /usr/share/fonts/misc
+ </verb></tscreen>
+ 
+ ]]>
+diff -purN nx-X11.orig/programs/Xserver/hw/xfree86/doc/sgml/SVR4.sgml nx-X11/programs/Xserver/hw/xfree86/doc/sgml/SVR4.sgml
+--- nx-X11.orig/programs/Xserver/hw/xfree86/doc/sgml/SVR4.sgml	1999-08-23 01:38:52.000000000 -0500
++++ nx-X11/programs/Xserver/hw/xfree86/doc/sgml/SVR4.sgml	2006-03-21 08:14:26.000000000 -0600
+@@ -328,9 +328,9 @@ things you need to do:
+ 	for i in *pc???.bdf
+ 	do
+ 	    /usr/X11R6/bin/bdftopcf $i > \
+-			/usr/X11R6/lib/X11/fonts/misc/`basename $i .bdf`.pcf
++			/usr/share/fonts/misc/`basename $i .bdf`.pcf
+ 	done
+-	cd /usr/X11R6/lib/X11/fonts/misc
++	cd /usr/share/fonts/misc
+ 	/usr/X11R6/bin/mkfontdir
+ 	# Do this only if the server is already running.
+ 	/usr/X11R6/bin/xset fp rehash
+diff -purN nx-X11.orig/programs/Xserver/hw/xfree86/doc/sgml/fonts.sgml nx-X11/programs/Xserver/hw/xfree86/doc/sgml/fonts.sgml
+--- nx-X11.orig/programs/Xserver/hw/xfree86/doc/sgml/fonts.sgml	2003-01-19 21:43:08.000000000 -0600
++++ nx-X11/programs/Xserver/hw/xfree86/doc/sgml/fonts.sgml	2006-03-21 08:14:26.000000000 -0600
+@@ -296,7 +296,7 @@ Munhwa-Regular--UniKS-UCS2-H
+ 
+ The CIDFont code in XFree86 requires a very rigid directory
+ structure.  The main directory must be called `<tt/CID/' (its location
+-defaults to `<tt>/usr/X11R6/lib/X11/fonts/CID</tt>' but it may be
++defaults to `<tt>/usr/share/fonts/CID</tt>' but it may be
+ located anywhere), and it should contain a subdirectory for every CID
+ collection.  Every subdirectory <it/must/ contain subdirectories
+ called <tt/CIDFont/ (containing the actual CIDFont files), <tt/CMap/
+@@ -457,7 +457,7 @@ with no duplication of work.
+ 
+ For example, the font file
+ <tscreen><verb>
+-/usr/X11R6/lib/X11/fonts/misc/6x13.bdf
++/usr/share/fonts/misc/6x13.bdf
+ </verb></tscreen>
+ with XLFD
+ <tscreen><verb>
+@@ -502,7 +502,7 @@ The main ClearlyU font has the XLFD
+ </verb></tscreen>
+ and resides in the font file
+ <tscreen><verb>
+-/usr/X11R6/lib/X11/fonts/misc/cu12.pcf.gz 
++/usr/share/fonts/misc/cu12.pcf.gz 
+ </verb></tscreen>
+ Additional ClearlyU fonts include
+ <tscreen><verb>
+@@ -542,7 +542,7 @@ XLFD
+ </verb></tscreen>
+ and reside in the font files
+ <tscreen><verb>
+-/usr/X11R6/lib/X11/fonts/Type1/cour*.pfa
++/usr/share/fonts/Type1/cour*.pfa
+ </verb></tscreen>
+ 
+ The Adobe Utopia set of fonts only cover ISO&nbsp;8859-1 as well as
+@@ -552,7 +552,7 @@ Adobe Standard Encoding.  These fonts ha
+ </verb></tscreen>
+ and reside in the font files
+ <tscreen><verb>
+-/usr/X11R6/lib/X11/fonts/Type1/UT*.pfa
++/usr/share/fonts/Type1/UT*.pfa
+ </verb></tscreen>
+ 
+ Finally, XFree86 also comes with Type&nbsp;1 versions of Bitstream
+@@ -563,7 +563,7 @@ Courier and Charter.  These fonts have X
+ </verb></tscreen>
+ and reside in the font files
+ <tscreen><verb>
+-/usr/X11R6/lib/X11/fonts/Type1/c*bt_.pfb
++/usr/share/fonts/Type1/c*bt_.pfb
+ </verb></tscreen>
+ 
+ <sect2>Standard Speedo fonts
+@@ -581,7 +581,7 @@ ISO&nbsp;8859-2.  They have XLFD name
+ </verb></tscreen>
+ and reside in the font files
+ <tscreen><verb>
+-/usr/X11R6/lib/X11/fonts/Speedo/font*.spd
++/usr/share/fonts/Speedo/font*.spd
+ </verb></tscreen>
+ 
+ <sect1>The Bigelow &amp; Holmes Luxi family
+@@ -770,7 +770,7 @@ The Speedo backend limits all encodings 
+ <p>In order to use a font in an encoding that the font backend does
+ not know about, you need to have an `<tt/encodings.dir/' file either
+ in the same directory as the font file used or in a system-wide
+-location (`<tt>/usr/X11R6/lib/X11/fonts/encodings/</tt>' by default).
++location (`<tt>/usr/share/fonts/encodings/</tt>' by default).
+ 
+ The `<tt/encodings.dir/' file has a similar format to
+ `<tt/fonts.dir/'.  Its first line specifies the number of encodings,
+@@ -781,9 +781,9 @@ encoding name defined in the encoding fi
+ 
+ <tscreen><verb>
+ 3
+-mulearabic-0 /usr/X11R6/lib/X11/fonts/encodings/mulearabic-0.enc
+-mulearabic-1 /usr/X11R6/lib/X11/fonts/encodings/mulearabic-1.enc
+-mulearabic-2 /usr/X11R6/lib/X11/fonts/encodings/mulearabic-2.enc
++mulearabic-0 /usr/share/fonts/encodings/mulearabic-0.enc
++mulearabic-1 /usr/share/fonts/encodings/mulearabic-1.enc
++mulearabic-2 /usr/share/fonts/encodings/mulearabic-2.enc
+ </verb></tscreen>
+ 
+ The name of an encoding <it/must/ be specified in the encoding file's
+diff -purN nx-X11.orig/programs/Xserver/hw/xfree86/drivers/newport/XF86Config.indy nx-X11/programs/Xserver/hw/xfree86/drivers/newport/XF86Config.indy
+--- nx-X11.orig/programs/Xserver/hw/xfree86/drivers/newport/XF86Config.indy	2003-02-19 22:05:16.000000000 -0600
++++ nx-X11/programs/Xserver/hw/xfree86/drivers/newport/XF86Config.indy	2006-03-21 08:14:34.000000000 -0600
+@@ -52,15 +52,15 @@ Section "Files"
+ # as well as specifying multiple comma-separated entries in one FontPath
+ # command (or a combination of both methods)
+ 
+-    FontPath	"/usr/X11R6/lib/X11/fonts/local/"
+-    FontPath	"/usr/X11R6/lib/X11/fonts/misc/"
+-    FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
+-    FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
+-    FontPath	"/usr/X11R6/lib/X11/fonts/Type1/"
+-    FontPath	"/usr/X11R6/lib/X11/fonts/CID/"
+-    FontPath	"/usr/X11R6/lib/X11/fonts/Speedo/"
+-    FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/"
+-    FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/"
++    FontPath	"/usr/share/fonts/local/"
++    FontPath	"/usr/share/fonts/misc/"
++    FontPath	"/usr/share/fonts/75dpi/:unscaled"
++    FontPath	"/usr/share/fonts/100dpi/:unscaled"
++    FontPath	"/usr/share/fonts/Type1/"
++    FontPath	"/usr/share/fonts/CID/"
++    FontPath	"/usr/share/fonts/Speedo/"
++    FontPath	"/usr/share/fonts/75dpi/"
++    FontPath	"/usr/share/fonts/100dpi/"
+ 
+ # ModulePath can be used to set a search path for the X server modules.
+ # The default path is shown here.
+diff -purN nx-X11.orig/programs/Xserver/hw/xfree86/etc/install.sv3 nx-X11/programs/Xserver/hw/xfree86/etc/install.sv3
+--- nx-X11.orig/programs/Xserver/hw/xfree86/etc/install.sv3	1999-03-28 09:32:52.000000000 -0600
++++ nx-X11/programs/Xserver/hw/xfree86/etc/install.sv3	2006-03-21 08:14:25.000000000 -0600
+@@ -549,9 +549,9 @@ then
+     read answer
+     [ "$answer" = "y" -o "$answer" = "Y" ] && {
+     sed -e 's/FONT 8x16/FONT vga/' </usr/lib/loadfont/vga437.bdf \
+-    | bdftopcf -t >/usr/X11R6/lib/X11/fonts/misc/vga.pcf
+-    chmod 644 /usr/X11R6/lib/X11/fonts/misc/fonts.dir
+-    mkfontdir /usr/X11R6/lib/X11/fonts/misc
++    | bdftopcf -t >/usr/share/fonts/misc/vga.pcf
++    chmod 644 /usr/share/fonts/misc/fonts.dir
++    mkfontdir /usr/share/fonts/misc
+     }
+ fi
+ }
+diff -purN nx-X11.orig/programs/mkcfm/mkcfm.c nx-X11/programs/mkcfm/mkcfm.c
+--- nx-X11.orig/programs/mkcfm/mkcfm.c	2002-12-09 11:30:12.000000000 -0600
++++ nx-X11/programs/mkcfm/mkcfm.c	2006-03-21 08:14:10.000000000 -0600
+@@ -48,7 +48,7 @@
+ static void CIDFillVals(FontScalablePtr);
+ static Bool DoDirectory(char *dirName);
+  
+-#define DEFAULTCID "/usr/X11R6/lib/X11/fonts/CID"
++#define DEFAULTCID "/usr/share/fonts/CID"
+ #define DECIPOINTSPERINCH 722.7
+ #define DEFAULTRES 75
+ #define DEFAULTPOINTSIZE 120
+diff -purN nx-X11.orig/programs/mkcfm/mkcfm.man nx-X11/programs/mkcfm/mkcfm.man
+--- nx-X11.orig/programs/mkcfm/mkcfm.man	1999-05-15 07:10:38.000000000 -0500
++++ nx-X11/programs/mkcfm/mkcfm.man	2006-03-21 08:14:10.000000000 -0600
+@@ -24,7 +24,7 @@ mkcfm - create summaries of font metric 
+ [\fICID-font-directory-name\fP]
+ .SH DESCRIPTION
+ There is usually only one CID font directory on the X font path. It is
+-usually called \fI/usr/X11R6/lib/X11/fonts/CID\fP. If you do not specify
++usually called \fI/usr/share/fonts/CID\fP. If you do not specify
+ an argument, \fImkcfm\fP will try to go through the subdirectories of
+ that directory, and create one summary of font metric files for each
+ CIDFont (character descriptions) file and each CMap (Character Maps) file
+diff -purN nx-X11.orig/programs/xfs/xfs.man nx-X11/programs/xfs/xfs.man
+--- nx-X11.orig/programs/xfs/xfs.man	2001-12-14 14:01:32.000000000 -0600
++++ nx-X11/programs/xfs/xfs.man	2006-03-21 08:14:56.000000000 -0600
+@@ -186,9 +186,9 @@ XCOMM where to look for fonts
+ XCOMM the first is a set of Speedo outlines, the second is a set of 
+ XCOMM misc bitmaps and the last is a set of 100dpi bitmaps
+ XCOMM
+-catalogue = /usr/X11R6/lib/X11/fonts/speedo,
+-	/usr/X11R6/lib/X11/fonts/misc,
+-	/usr/X11R6/lib/X11/fonts/100dpi/
++catalogue = /usr/share/fonts/speedo,
++	/usr/share/fonts/misc,
++	/usr/share/fonts/100dpi/
+ 
+ XCOMM in 12 points, decipoints
+ default-point-size = 120
================================================================


More information about the pld-cvs-commit mailing list