summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-06-09 01:39:17 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-06-09 01:39:17 +0000
commit4d016a7838c3423cc76e662359c0c4fd3d315170 (patch)
tree185e28a72528978fa9a09f1ab46694a28cf5515f /x11-base
parentfirst relase (diff)
downloadgentoo-2-4d016a7838c3423cc76e662359c0c4fd3d315170.tar.gz
gentoo-2-4d016a7838c3423cc76e662359c0c4fd3d315170.tar.bz2
gentoo-2-4d016a7838c3423cc76e662359c0c4fd3d315170.zip
minor updates
Diffstat (limited to 'x11-base')
-rw-r--r--x11-base/xfree/files/4.2.0-r12/XftConfig178
-rw-r--r--x11-base/xfree/files/4.2.0-r12/site.def6
2 files changed, 176 insertions, 8 deletions
diff --git a/x11-base/xfree/files/4.2.0-r12/XftConfig b/x11-base/xfree/files/4.2.0-r12/XftConfig
index 16af856f7c29..352757a1ce64 100644
--- a/x11-base/xfree/files/4.2.0-r12/XftConfig
+++ b/x11-base/xfree/files/4.2.0-r12/XftConfig
@@ -2,10 +2,42 @@
# XftConfig
#
# Use with Type1 and TrueType fonts
-#
+#
+
+# Note that each application scans all these directories
+# during startup, so you may want to disable some to
+# get better speed.
+# Standard XFree86 Type 1 fonts
dir "/usr/X11R6/lib/X11/fonts/Type1"
+# TTF fonts
dir "/usr/X11R6/lib/X11/fonts/truetype"
+dir "/usr/X11R6/lib/X11/fonts/TrueType"
+dir "/usr/X11R6/lib/X11/fonts/TTF"
+# User installed fonts
+dir "/opt/ttfonts"
+# URW fonts
+dir "/usr/share/fonts/default/Type1"
+# Localized Truetype fonts
+dir "/usr/share/fonts/truetype"
+dir "/usr/share/fonts/ttf/western"
+dir "/usr/share/fonts/ttf/big5"
+dir "/usr/share/fonts/ttf/gb2312"
+dir "/usr/share/fonts/ttf/japanese"
+dir "/usr/share/fonts/ttf/korean"
+dir "/usr/share/fonts/ttf/armenian"
+dir "/usr/share/fonts/ttf/decoratives"
+dir "/usr/share/fonts/ttf/thai"
+# don't yet exist, but i hope to include some day a package for them (Pablo)
+dir "/usr/share/fonts/ttf/cyrillic"
+dir "/usr/share/fonts/ttf/viet"
+dir "/usr/share/fonts/ttf/ethiopic"
+dir "/usr/share/fonts/ttf/georgian"
+dir "/usr/share/fonts/ttf/arabic"
+dir "/usr/share/fonts/ttf/hebrew"
+dir "/usr/share/fonts/ttf/unicode"
+# AbiSuite comes with URW fonts as well
+dir "/usr/share/AbiSuite/fonts"
#
# alias 'fixed' for 'mono'
@@ -13,21 +45,22 @@ dir "/usr/X11R6/lib/X11/fonts/truetype"
match any family == "fixed" edit family =+ "mono";
#
-#Check users config file
+# Check users config file
#
includeif "~/.xftconfig"
#
# Substitute TrueType fonts for Type1 versions
#
-match any family == "Times" edit family += "Times New Roman";
-match any family == "Helvetica" edit family += "Verdana";
-match any family == "Courier" edit family += "Courier New";
+match any family == "Times" edit family =+ "Times New Roman";
+match any family == "Helvetica" edit family =+ "Verdana";
+match any family == "Courier" edit family =+ "Courier New";
#
# Use TrueType fonts for defaults
#
match any family == "serif" edit family += "Times New Roman";
+match any family == "sans" edit family += "Arial";
match any family == "sans" edit family += "Verdana";
#
@@ -43,6 +76,7 @@ edit
# otherwise, use courier
#
match any family == "mono" edit family += "Courier New";
+match any family == "mono" edit family += "Courier";
#
# Alias between XLFD families and font file family name, prefer local fonts
@@ -69,3 +103,137 @@ match any family == "Trebuchet MS" edit family =+ "Trebuchet";
match any family == "Monotype" edit family =+ "Monotype.com";
match any family == "Andale Mono" edit family += "Monotype.com";
match any family == "Monotype.com" edit family =+ "Andale Mono";
+
+# modifications from Laurent Culioli
+match
+ any family == "webdings"
+ edit antialias = false;
+ encoding += "glyphs-fontspecific";
+match
+ any family == "wingdings"
+ edit antialias = false;
+ encoding += "glyphs-fontspecific";
+
+# extra aliases -- pablo
+
+# a nice default for sans serif (same as used in yudit)
+match any family == "sans" edit family =+ "Arial";
+match any family == "sans" edit family =+ "MS Gothic";
+match any family == "sans" edit family =+ "Gulim";
+match any family == "sans" edit family =+ "Baekmuk unigulir";
+match any family == "sans" edit family =+ "Lucida Sans Unicode";
+match any family == "sans" edit family =+ "Tahoma";
+match any family == "sans" edit family =+ "BPG UTF8 M";
+match any family == "sans" edit family =+ "GF Zemen Unicode";
+match any family == "sans" edit family =+ "MS Mincho";
+match any family == "sans" edit family =+ "Pigiarniq";
+match any family == "sans" edit family =+ "Urdu Naqsh Nastalique";
+match any family == "sans" edit family =+ "Ballymun RO";
+# a nice monospaced one
+match any family == "mono" edit family =+ "Lucida Console";
+# korean
+match any family == "Gulim" edit family =+ "Baekmuk unigulir";
+match any family == "Batang" edit family =+ "Ubatang";
+match any family == "sans" edit family =+ "Gulim";
+match any family == "serif" edit family =+ "Batang";
+match any family == "mono" edit family =+ "Gulim";
+# chinese gb2312
+match any family == "Kaiti" edit family =+ "AR PL KaitiM GB";
+match any family == "Sungti" edit family =+ "AR PL SungtiL GB";
+match any family == "sans" edit family =+ "Sungti";
+match any family == "serif" edit family =+ "Sungti";
+# chinese big5
+match any family == "Kaiti" edit family =+ "AR PL KaitiM Big5";
+match any family == "Mingti" edit family =+ "AR PL Mingti2L Big5";
+match any family == "sans" edit family =+ "Mingti";
+match any family == "serif" edit family =+ "Mingti";
+# thai
+match any family == "sans" edit family =+ "Norasi";
+match any family == "serif" edit family =+ "Norasi";
+# armenian
+match any family == "Helvetica" edit family =+ "ArmNet Helvetica";
+match any family == "sans" edit family =+ "ArmNet Helvetica";
+match any family == "serif" edit family =+ "ArmNet Helvetica";
+# indic
+match any family == "Raghindi" edit family =+ "Raghu";
+match any family == "sans" edit family =+ "Raghindi";
+match any family == "serif" edit family =+ "Raghindi";
+
+#
+# If the Microsoft Web Fonts are not installed, we have to find a
+# replacement
+#
+
+# these come with Sun JDK 1.3
+match any family == "Verdana" edit family =+ "Lucida Sans";
+match any family == "Times New Roman" edit family =+ "Lucida Bright";
+match any family == "Courier New" edit family =+ "Lucida Sans Typewriter";
+
+# OpenOffice 6
+match any family == "Verdana" edit family =+ "Lucida Sans Tur";
+match any family == "Times New Roman" edit family =+ "Lucida Bright Tur";
+match any family == "Courier New" edit family =+ "Lucida Sans Typewriter Tur";
+
+# ttfonts from RH7
+match any family == "Verdana" edit family =+ "Helmet";
+
+# URW fonts
+match any family == "Verdana" edit family =+ "Nimbus Sans L";
+match any family == "Times New Roman" edit family =+ "Nimbus Roman No9 L";
+match any family == "Courier New" edit family =+ "Nimbus Mono L";
+
+# western fonts
+match any family == "Verdana" edit family =+ "Blue Highway";
+
+# XFree86 default fonts
+match any family == "Verdana" edit family =+ "LuciduxSans";
+match any family == "Times New Roman" edit family =+ "LuciduxSerif";
+
+
+# last ressort defaults
+match any family == "Courier" edit family =+ "mono";
+
+match any family == "Helvetica" edit family =+ "sans";
+match any family == "Arial" edit family =+ "sans";
+
+match any family == "serif" edit family =+ "sans";
+match any family == "Times" edit family =+ "serif";
+
+# Aditions from Danny Tholen
+
+match
+ any family == "symbol"
+edit
+ antialias = false;
+ encoding += "glyphs-fontspecific";
+
+match
+ any family == "Standard Symbols L"
+edit
+ antialias = false;
+ encoding += "glyphs-fontspecific";
+
+match
+ any family == "dingbats"
+edit
+ antialias = false;
+ encoding += "glyphs-fontspecific";
+
+
+match
+ any family == "Cursor"
+edit
+ antialias = false;
+ encoding += "glyphs-fontspecific";
+
+match
+ any family == "StarBats"
+edit
+ antialias = false;
+ encoding += "glyphs-fontspecific";
+
+match
+ any family == "StarMath"
+edit
+ antialias = false;
+ encoding += "glyphs-fontspecific";
diff --git a/x11-base/xfree/files/4.2.0-r12/site.def b/x11-base/xfree/files/4.2.0-r12/site.def
index d53217da7df5..1085c99e1fb1 100644
--- a/x11-base/xfree/files/4.2.0-r12/site.def
+++ b/x11-base/xfree/files/4.2.0-r12/site.def
@@ -12,10 +12,10 @@
#define XprtServer YES
#define XnestServer YES
#define SharedLibXau YES
-#define BuildFonts YES
-#define BuildFreeType YES
+#define UseFreetype2 YES
#define BuildFreetype2Library YES
-#define BuildXTrueType YES
+#define Freetype2Version 9.0.2
+#define BuildFonts YES
/* #define BuildCyrillicFonts YES */
#define BuildXF86MiscExt YES
#define BuildXInputExt YES