On Saturday 29 September 2001 10:14, Collins Richey babbled:
> * There used to be howto's that said a font manager daemon was
> necessary; then other howto's said, no that was now built into X; now
> I see font manager daemons being rcommended again.  What's the scoop?

X > 4.x doesn't need font server. period.

> * I have the FreeTypes package installed and X4.1.0.  How do I get
> these to work and be available for all my apps?


install some fonts ( I copied from kids Windows box). modify xf86config and 
/etc/X11/defaultFontPath and /etc/X11/fs/config

also, modify /usr/X11R6/lib/X11/XftConfig (all attached)

and make sure you run makefontdir and uh... something else.. ttmkfntdir?
(creates fonts.dir and fonts.scale in each font dir)
>
> * Are there any special considerations for various apss - Kword -
> Konqueror - Netscape - Abiword - etc.?

qt must be compiled w/ '-xft' option to enable true type support. also 
QT_XFT=true must be exported to environment.

kde must be "configured" to use AA (see ControlPanel)

>
> * Does anything special need to be done to use fonts for printing.  I
> use cups.  Any special considerations for this or for other printing
> control systems?

can't help here. I use CUPS to print to a printer hanging off windows box. 
fonts "just work"

also, check the font de-uglification howto
-- 
Douglas J. Hunley ([EMAIL PROTECTED]) - Linux User #174778 
Admin: http://hunley.homeip.net/        Admin: http://linux.nf/ 

Teach programmers not to drink and hack.
# File generated by xf86config.

Section "Module"
    Load        "dbe"
    Load        "dri"
    Load        "extmod"
    Load        "freetype"
    Load        "glx"
    Load        "GLcore"
    Load        "pex5"
    Load        "record"
    Load        "speedo"
    Load        "type1"
    Load        "xie"
EndSection

Section "Files"
    RgbPath     "/usr/X11R6/lib/X11/rgb"
    FontPath    "/usr/X11R6/lib/X11/fonts/truetype/"
    FontPath    "/usr/X11R6/lib/X11/fonts/misc:unscaled/"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath    "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath    "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath    "/usr/X11R6/lib/X11/fonts/tigert/"
EndSection

Section "ServerFlags"
EndSection

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "Keyboard"
    Option      "AutoRepeat"    "500 30"
    Option      "XkbKeycodes"   "xfree86"
    Option      "XkbTypes"      "default"
    Option      "XkbCompat"     "default"
    Option      "XkbSymbols"    "en_US(pc104)"
    Option      "XkbGeometry"   "pc"
    Option      "XkbRules"      "xfree86"
    Option      "XkbModel"      "pc104"
    Option      "XkbLayout"     "en_US"
EndSection

Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option      "Protocol"      "IMPS/2"
    Option      "Device"        "/dev/mouse"
    Option      "Name"          "AutoDetected"
    Option      "Vendor"        "Logitech"
    Option      "Resolution"    "144"
    Option      "ZAxisMapping"  "4 5"
    Option      "Buttons"       "5"
EndSection

Section "Monitor"
    Identifier  "My Monitor"
    HorizSync   30-86
    VertRefresh 50-180
EndSection

# Standard VGA Device:
Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Driver      "vga"
EndSection

# Device configured by xf86config:
Section "Device"
    Identifier  "XPert2000"
    VendorName  "ATI"
    Driver      "ati"
    VideoRam    32768
    ChipID      0x5246
    Option      "AGPMode" "4"
    #Option     "AGPMode" "2"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "XPert2000"
    Monitor     "My Monitor"
    DefaultDepth        24

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen      "Screen 1"
    InputDevice "Mouse1"        "CorePointer"
    InputDevice "Keyboard1"     "CoreKeyboard"
EndSection

/usr/X11R6/lib/X11/fonts/truetype
/usr/X11R6/lib/X11/fonts/Type1
/usr/X11R6/lib/X11/fonts/Speedo
/usr/X11R6/lib/X11/fonts/100dpi:unscaled
/usr/X11R6/lib/X11/fonts/75dpi:unscaled
/usr/X11R6/lib/X11/fonts/100dpi
/usr/X11R6/lib/X11/fonts/75dpi
/usr/X11R6/lib/X11/fonts/misc
/usr/X11R6/lib/X11/fonts/tigert
# font server configuration file
# $Xorg: config.cpp,v 1.3 2000/08/17 19:54:19 cpqbld Exp $

clone-self = on
use-syslog = off
catalogue = 
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
error-file = /var/log/fs-errors
# in decipoints
default-point-size = 120
default-resolutions = 75,75,100,100

# font cache control, specified in KB
cache-hi-mark = 2048
cache-low-mark = 1433
cache-balance = 70
#$XFree86: xc/lib/Xft/XftConfig.cpp,v 1.5 2000/12/14 23:03:53 keithp Exp $

dir "/usr/X11R6/lib/X11/fonts/Type1"
dir "/usr/X11R6/lib/X11/fonts/truetype"
dir "/usr/X11R6/lib/X11/fonts/tigert"


#alias 'fixed' for 'mono'

match any family == "fixed"             edit family =+ "mono";


#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";

#Use Lucidux fonts for default faces

match any family == "serif"             edit family += "Times New Roman";
match any family == "sans"              edit family += "Verdana";
#match any family == "mono"             edit family += "LuciduxMono";
#
# Use monotype.com (andale) face where possible
#
match
        any family == "mono"
        all slant == roman
        all weight < bold
edit
        family += "monotype.com";
#
# otherwise, use courier
#
match any family == "mono"              edit family += "Courier New";



#Alias between XLFD families and font file family name, prefer local
#fonts

match any family == "charter"           edit family += "bitstream charter";
match any family == "bitstream charter" edit family =+ "charter";

match any family == "Lucidux Serif"     edit family += "LuciduxSerif";
match any family == "LuciduxSerif"      edit family =+ "Lucidux Serif";

match any family == "Lucidux Sans"      edit family += "LuciduxSans";
match any family == "LuciduxSans"       edit family =+ "Lucidux Sans";

match any family == "Lucidux Mono"      edit family += "LuciduxMono";
match any family == "LuciduxMono"       edit family =+ "Lucidux Mono";

#
# TrueType font aliases
#
match any family == "Comic Sans"        edit family += "Comic Sans MS";
match any family == "Comic Sans MS"     edit family =+ "Comic Sans";
match any family == "Trebuchet"         edit family += "Trebuchet MS";
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";

# control anti-aliasing at certain sizes
match any family == "Arial" any size > 9 any size < 15 edit antialias = false;
match any family == "Verdana" any size > 9 any size < 15 edit antialias = false;match 
any family == "Tahoma" any size > 9 any size < 15 edit antialias = false;

Reply via email to