On Monday 11 March 2002 18:59, Mike Eheler wrote:
| Interesting. I'll try that edit for XftConfig you provided at the
| bottom.
|
| Thanks!
|
| Mike
|
| On Mon, 2002-03-11 at 01:50, [EMAIL PROTECTED] wrote:
| > On Sun, 10 Mar 2002, Mike Eheler wrote:
| > > I'm using GNOME as my window manager of choice. My screen resolution
| > > is 1024x768x24bit. I then install my Windows fonts with DrakFont.
| > > When I go to view a website in Galeon that has Verdana on it (in this
| > > case it's Verdana 9pt) the font it displays looks HORRIBLE. It's
| > > *bold* for some bizarre reason, and it's all blotchy as if the result
| > > of some inept attempt at anti-aliasing. All I want is for my Verdana
| > > TTF font to look NORMAL. That meaning the way it looks in every other
| > > occasion (in Windows, Mandrake 8.1, etc).
| >
| > Well, as I see from your screen shot, it looks like galeon is using
| > normal AA for Verdana. I did not know (use kde mostly) we had xft
| > support for galeon in cooker now, but I think with currect freetype2
| > and XftConfig this is the expected behaviour. Also, I do not think the
| > font is bold.
This problem is probably caused bu bad behavior of FreeType2 PS auto-hinter.
FT 2.0.6 from Cooker is too old, and you can't judge wether its rendering
quality good or bad.
You need:
* compile FT 2.0.6 with Bytecode Interpreter turned On
or (better)
* upgrade to FreeType 2.0.9 released recently
It has major imprrovements over prevuous releases, especially comparing to FT
2.0.6!
| >
| > You can either turnoff anti-aliasing or,
| > and this will improve your font handling drastically is install
| > freetype 2.0.8 and enable the bytecode interpreter in
| > include/freetype/config/ftoption.h line 314:
| >
| > #undef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
| > change to:
| > #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
| >
| > (which is sadly not on cooker yet, and will as I understand it, not
| > be in 8.2). And to get rid of these OVERaliased fonts at normal size
| > put: match
| > any size > 8
| > any size < 15
| > edit
| > antialias = false;
| > in /etc/X11/XftConfig. I've no idea if this will be applied before
| > release.
Ok, I have different opinion on this.
Please take a look at my XftConfig, which IMO is superior to the one
distributed with LM 8.0 / XF 4.1.0 which I am running on "production"
partition.
| >
| > Danny
--
Vadim Plessky
http://kde2.newmail.ru (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/
#
# 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.
# added by Vadim Plessky
# my TrueType fonts are here:
# (Windows True Type fonts)
dir "/usr/X11R6/lib/X11/fonts/WinFonts"
# Paragraph TTF fonts
#dir "/usr/X11R6/lib/X11/fonts/parattf"
# Paragraph PFB fonts
dir "/usr/X11R6/lib/X11/fonts/parapfb"
# fontd from ATM
dir "/usr/X11R6/lib/X11/fonts/atm"
# Standard XFree86 Type 1 fonts
dir "/usr/X11R6/lib/X11/fonts/Type1"
#
# TTF fonts
dir "/usr/X11R6/lib/X11/fonts/truetype"
# User installed fonts
dir "/usr/X11R6/lib/X11/fonts/drakfont"
dir "/opt/ttfonts"
# URW fonts
dir "/usr/share/fonts/default/Type1"
# Localized Truetype fonts
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"
# Sun JDK fonts
dir "/usr/java/jdk1.3/jre/lib/fonts"
# Sun OpenOffice, location depends on install
dir "/usr/openoffice60/share/fonts/type1"
dir "/usr/local/openoffice60/share/fonts/type1"
dir "~/openoffice60/share/fonts/type1"
# OpenOffice fonts from ttfonts*rpm
dir "/usr/share/fonts/default/TrueType"
# AbiSuite comes with URW fonts as well
dir "/usr/share/abisuite/AbiSuite/fonts"
#
# 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 TrueType fonts for defaults
#
#match any family == "serif" edit family += "Times New Roman";
#match any family == "sans" edit family += "Verdana";
#
# 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";
#match any family == "mono" edit family += "Courier";
#
# 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";
#
# If the Microsoft Web Fonts are not installed, we have to find a
# replacement
#
# these come with Sun JDK 1.3
#
# V.P. - I think these settings causing problem
# so I comment them out
# Lucida Sans,Lucida Bright, Lucida Sans Typewriter do not have Cyrillic
# (and Nebrew, Arabic, etc.) encoding, so you can't substitute them
#
#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";
# commented out by Vadim Plessky
#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";
# modifications from Laurent Culioli
match
any size < 14
any size > 8
edit antialias=true;
match
any family == "webdings"
edit antialias = false;
encoding += "glyphs-fontspecific";
match
any family == "wingdings"
edit antialias = false;
encoding += "glyphs-fontspecific";