Date: Sun, 28 Oct 2001 18:06:28 -0500 (EST) From: <paul@saxa.georgetown.edu> To: <freebsd-questions@freebsd.org> Subject: Anti-aliasing in X Message-ID: <Pine.LNX.4.33.0110281750140.5333-100000@saxa.georgetown.edu>
next in thread | raw e-mail | index | archive | help
Under XFree86-4.1.0_6 and KDE 2.2 (FreeBSD release 4.4), i can't seem to
get anti-aliased fonts working. I have anti-aliasing activated
in KDE. I have Type1, freefont and URW fonts installed, but I think the
problem could lie in the fact that they aren't being made available.
Here's what xset shows as my Font Path:
Font Path:
/home/john/.kde/share/fonts/override,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/,
/usr/X11R6/lib/X11/fonts/100dpi/,/home/john/.kde/share/fonts
You can see that Type1, URW and freefont, aren't included. I've tried
running X with these fonts' paths uncommented in XF86Config, and then
commented, instead including them in XftConfig (as indicated in the
handbook) but the effects are identical.
I've also tried to add these dynamically with xset, and the following
happens:
john\ ]@box:freefont\ ]$ xset fp+ /usr/X11R6/lib/X11/fonts/freefont/
X Error of failed request: 86
Major opcode of failed request: 51 (X_SetFontPath)
Serial number of failed request: 9
Current serial number in output stream: 11
What follows are my XF86Config and XftConfig, from /etc/X11/.
--------------
#Start /etc/X11/XF86Config
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
# FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
# FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
# FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
EndSection
Section "Module"
Load "GLcore"
Load "dbe"
Load "dri"
Load "extmod"
Load "glx"
Load "pex5"
Load "record"
Load "xie"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
Option "Buttons" "6"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "SAM"
ModelName "1155"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
EndSection
Section "Device"
Identifier "Card0"
Driver "nv"
VendorName "NVidia"
BoardName "Riva Ultra 64"
BusID "PCI:0:15:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 24
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
Section "DRI"
EndSection
#End /etc/X11/XF86Config
-----------------------------------
-----------------------------------
#Start /etc/X11/XftConfig
# $XFree86: xc/lib/Xft/XftConfig.cpp,v 1.6 2001/04/27 14:55:22 tsi Exp $
dir "/usr/X11R6/lib/X11/fonts/Type1"
dir "/usr/X11R6/lib/X11/fonts/TrueType"
dir "/usr/X11R6/lib/X11/fonts/freefont"
dir "/usr/X11R6/lib/X11/fonts/URW"
match
any size > 8
any size < 14
edit
antialias = false;
#
# alias 'fixed' for 'mono'
#
match any family == "fixed" edit family =+ "mono";
match any family == "console" edit family =+ "mono";
#
# Check users config file
#
includeif "~/.xftconfig"
#
# Use Lucidux fonts for default faces
#
match any family == "serif" edit family += "LuciduxSerif";
match any family == "sans" edit family += "LuciduxSans";
match any family == "mono" edit family += "LuciduxMono";
#
# 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";
#End /etc/X11/XftConfig
------------------
Many thanks,
-P-
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0110281750140.5333-100000>
