You are not logged in.
This occurs on some sites only, and I have to zoom in to them to read them properly. I don't know how that might look on another screen but I am using 1920x1200 @ 26" monitor, and it is very tiny. I can't get it to change by altering Firefox preferences in the font setting, and I am using the packages cairo, freetype2-infinality, fontconfig, libxft. Here is my ~/.fonts.conf:
└─> cat .fonts.conf
<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
<edit mode="assign" name="rgba" >
<const>none</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hinting" >
<bool>true</bool>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hintstyle" >
<const>hintmedium</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
</match>
</fontconfig>
Rest of FF fonts look fine for the most part, but pic above style font is showing on some sites that seem to use that layout or similar and I check those sites regularly. Appreciate any help
Offline
The firefox in the repos isn't compiled with system cairo, so it won't follow any of your font settings.
You can compile it with abs with this uncommented in mozconfig (note that the reason it was disabled is because it breaks some animated gifs, but now fonts are bad):
#ac_add_options --enable-system-cairo
Also, you shouldn't use that configuration with infinality. It disables horizontal hinting because it's designed to work with subpixel AA, with full BCI hinting for well hinted fonts and hintslight autohint for poorly hinted ones. You should copy the base infinality config and get rid of all the font replacements, aliases and preferred fonts if you don't want them (you probably don't).
http://www.infinality.net/files/local.conf <-- here's a link for the infinality config
Last edited by thestinger (2010-11-14 00:23:17)
Offline
Thanks thestinger! Okay so I replaced my fonts.conf with that local.conf, but taking out the replacements, aliases and preferred fonts. Things look better in many respects, but now a new urxvt shell shows a fudged font. I have it set to Terminus but it looks like this now:
Before was:
Also, my OP pic sites using that kind of font is now like this:
A bit better but still kinda fuzzy and too tiny. I'm a bit afraid to tamper with the .fonts.conf, any pointers would be appreciated as to what may help, thanks a lot!!
-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code --
Offline
It looks like bitmap fonts were disabled because that first screenshot is definitely not Terminus.
Offline
the infinality config disables bitmap fonts in 2 different ways
<!-- reject bitmap fonts -->
<selectfont>
<rejectfont>
<pattern>
<patelt name="scalable">
<bool>false</bool>
</patelt>
</pattern>
</rejectfont>
</selectfont>
<!-- substitute truetype fonts for bitmap ones -->
<match target="pattern">
<edit name="prefer_outline">
<bool>true</bool>
</edit>
</match>
If you take those out, terminus should look fine again.
But it's still a bitmap font, so it won't have subpixel AA (or hinting). If you decide to use a non-bitmap font (Consolas from ttf-vista-fonts is nice, as are DejaVu and Droid Sans Mono), you'll have to install libxft-lcd to get properly filtered fonts.
EDIT: before trying to fix the font in that screen, make sure both ttf-ms-fonts and ttf-vista-fonts (AUR package) are installed. If you can find out what font it is (in the stylesheet), that would help us figure out what's wrong - you might have to add it (or remove it) from the list of slight autohinted fonts in the config. It could also be a font with no bold type being fake bolded (it doesn't always work well).
Last edited by thestinger (2010-11-14 19:51:59)
Offline
Thanks, I have taken that out of the fonts.conf, and now urxvt is fine with Terminus.
For the site, I did View > Page Source and this was at the top, not sure if this is exactly what you're referring to:
<style type="text/css">
.tag_cloud
{padding: 3px; text-decoration: none;
font-family: "comic sans ms";}
.tag_cloud:link { color: #0099FF; text-decoration:none;}
.tag_cloud:visited { color: #00CCFF; }
.tag_cloud:hover { color: #7c0000; background: #00CCFF; }
.tag_cloud:active { color: #0000FF; background: #FFFFFF; }
</style>
Offline
I used to have a similar problem, so you might have the same issue I did.
At least with infinality, the font rendering looks a lot better if your monitor's dpi is set to the actual dpi (probably not 96), so you might want to try this. I've never gotten xorg to set the dpi right automatically (with nvidia, intel, nouveau, whatever) so that might be what's wrong.
For example, the monitor on the computer I'm using now has 102 dpi. With the nvidia blob, 101 dpi is detected, nouveau just uses 96dpi.
Offline
Okay, checked that and this is what it showed:
└─> xdpyinfo | grep dimensions
dimensions: 1920x1200 pixels (574x372 millimeters)
┌─[ 11/14/10 10:49:41 PM ][ ~ ]
└─> xdpyinfo | grep "dots per inch"
resolution: 85x82 dots per inch
I do not know if this is "correct" or not?? I followed the calculations there using my 1920x1200 res and got:
┌─[ 11/14/10 10:49:41 PM ][ ~ ]
└─> echo 'scale=5;sqrt(1920+1200^2)' | bc
1200.79973
└─> echo 'scale=5;(13.3/1200)*1920*25.4' | bc
540.34944
┌─[ 11/14/10 10:49:41 PM ][ ~ ]
└─> echo 'scale=5;(13.3/1200)*1200*25.4' | bc
337.71840
Also checking for DPI in xorg.conf I found:
└─> grep dpi /etc/X11/xorg.conf
# FontPath "/usr/share/fonts/100dpi"
# FontPath "/usr/share/fonts/75dpi"
Option "UseEdidDpi" "false"
Option "DPI" "100 x 100"
Err I'm confused now So what do I modify here?
Offline
First off I think your first calculation is wrong. You forgot a square. I got this:
~ $ echo 'scale=5;sqrt(1920^2+1200^2)' | bc
2264.15547
Your second calculations are wrong too. You used 13.3 although I highly doubt thats the correct size of your monitor's screen.
Those calculation are for the screen size. Heres the example from the wiki:
Section "Monitor"
Identifier "Monitor0"
DisplaySize 286 179 # In millimeters
EndSection
Last edited by anonymous_user (2010-11-15 04:40:30)
Offline
Ack, you're right! I didn't modify the lines properly. Okay, redid them I think correctly:
└─> echo 'scale=5;sqrt(1920^2+1200^2)' | bc
2264.15547
┌─[ 11/15/10 10:49:41 PM ][ ~ ]
└─> echo 'scale=5;(26/2264)*1920*25.4' | bc
559.85664
┌─[ 11/15/10 10:49:41 PM ][ ~ ]
└─> echo 'scale=5;(26/2264)*1200*25.4' | bc
349.91040
Using 26 as my monitor is 26". Now if I'm right on the above (correct if wrong plz lol) then, using this calculator (http://www.unitconversion.org/typograph … rsion.html) I get:
559 = 147.902083333 mm
349 = 92.339583333 mm
So would my correct DPI be 147 (or 148) x 92? If so, should I pop that into the xorg.conf? Thanks so much for your help so far!!
Offline
I think the values are already in millimeters. Also I do believe you have to add those values for DisplaySize not DPI.
Offline
You need to add this to the monitor section:
DisplaySize 650 350
and get rid of the existing "DPI" line.
Here's my xorg.conf as an example:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Acer"
ModelName "Acer H213H"
DisplaySize 476 268
HorizSync 30.0 - 80.0
VertRefresh 55.0 - 75.0
Option "DPMS" "0"
EndSection
Section "Device"
Identifier "Device0"
Driver "nouveau"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
this is your monitor's actual dpi, which is what xdpyinfo should return after you have the proper DisplaySize set: 87.08 PPI (it will round it to 87 though)
Last edited by thestinger (2010-11-15 16:49:12)
Offline
Okay, I put the line in my xorg.conf, here is mine:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "ServerFlags"
# Option "AutoAddDevices" "False"
Option "Xinerama" "0"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ButtonMapping" "1 2 3 6 7"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "keyboard"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Acer AL2616W"
DisplaySize 650 350
HorizSync 31.0 - 83.0
VertRefresh 56.0 - 75.0
Option "DPMS" "True"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8800 GT"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8800 GT"
Option "UseEdidDpi" "false"
# Option "DPI" "100 x 100"
EndSection
Section "Screen"
# Option "metamodes" "DFP: 1920x1200 +0+0"
# Option "metamodes" "DFP: 1920x1200 +0+0, CRT: 1600x1200 +1920+0"
# Removed Option "TwinViewXineramaInfoOrder" "DFP-1, CRT-1"
# Removed Option "metamodes" "DFP-1: 1920x1200 +0+0, CRT-1: 1600x1200 +1920+0"
# Removed Option "TwinView" "1"
# Removed Option "metamodes" "CRT: 1600x1200 +1920+0, DFP: nvidia-auto-select +0+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "AddARGBGLXVisuals" "True"
Option "NoLogo" "true"
Option "PixmapCacheSize" "5000000"
Option "AllowSHMPixmaps" "0"
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "DFP-0"
Option "metamodes" "DFP: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
I just rebooted and still the same, though
└─> xdpyinfo | grep "dots per inch"
resolution: 85x82 dots per inch
Offline
Option "UseEdidDpi" "false"
add this to this device section (to avoid nvidia choosing the dpi itself, which is what's happening):
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8800 GT"
EndSection
and delete this whole section (it's a useless duplicate of device0)
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8800 GT"
Option "UseEdidDpi" "false"
# Option "DPI" "100 x 100"
EndSection
Also, you can get rid of your two "InputDevice" sections for mouse/keyboard since evdev handles that all now automatically (the old keyboard/mouse drivers are basically obsolete).
And you probably don't need either of these:
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "ServerFlags"
# Option "AutoAddDevices" "False"
Option "Xinerama" "0"
EndSection
Offline
Thanks a lot! Okay I did that and it seems to have worked:
└─> xdpyinfo | grep "dots per inch"
resolution: 75x87 dots per inch
Things definitely look different all-around and better. Those sites I was screenshotting are now a bit bigger, no longer need to zoom just to read them However, it is looking like Firefox is using the same font style for the screenshots I put for a bunch of sites now (gmail/youtube).
Offline
hmm... I think it should be 87x87, you might have to set it manually with xrandr --dpi 87 in xinitrc or Option "DPI" "87 x 87" instead of displaysize in xorg.conf (this all seems like the nvidia driver screwing up, unless your monitor is really weird and the pixels are long rectangles )
Last edited by thestinger (2010-11-16 06:48:14)
Offline
Okay I did that, I put the line Option "DPI" "87x 87" and it shows that with the xdpyinfo line and things seem right. The site screenshots I had above, for those it's a bit bigger, no need to zoom in just to read them now. However they are still strange: http://imgur.com/iuI2Q.png ??
Offline
have you upgraded to the newest version of infinality? things are a lot better now
Offline
Okay I just tried to update freetype2-infinality and I get this:
==> Removing existing pkg/ directory...
==> Starting build()...
patching file modules.cfg
patching file include/freetype/config/ftoption.h
patching file include/freetype/internal/ftobjs.h
patching file src/truetype/rules.mk
patching file src/truetype/truetype.c
patching file src/truetype/ttgload.c
patching file src/truetype/ttinterp.c
patching file src/truetype/ttinterp.h
patching file src/truetype/ttobjs.h
The next patch would create the file src/truetype/ttsubpixel.c,
which already exists! Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file src/truetype/ttsubpixel.h,
which already exists! Skipping patch.
1 out of 1 hunk ignored
Aborting...
==> ERROR: Makepkg was unable to build freetype2-infinality.
Offline
try removing the whole src directory first
Offline
Ack!
cd builds/unix; ./configure '--prefix=/usr'
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/tmp/yaourt-tmp-bobby/aur-freetype2-infinality/src/freetype-2.4.3/builds/unix':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [setup] Error 77
Aborting...
==> ERROR: Makepkg was unable to build freetype2-infinality.
Offline
hmmm I think you need to install base-devel again (you probably removed something?)
Offline
I just reinstalled and dang, they were all installed already. Retried build and same error, I'll make another thread.
Offline
Okay I fixed that up a few days ago and currently I have installed: cairo, libxft-ubuntu, fontconfig-ubuntu, freetype2-infinality as well as firefox-pgo.
Here is my ~/.fonts.conf: http://pastebin.ca/1999123
Here is my Firefox fonts settings: http://imgur.com/KLeZJ.png
Fonts are looking good for the most part, kind of Comic Sans-ish still on some things like the sites I screenshotted previous, here is another shot from just now from one of those sites: http://i.imgur.com/0KvN8.png The font is clearly larger but still too bolded.
And I'm seeing now some sites (many news sites) looking like this: http://imgur.com/Yz0Y4.png I hope that comes across in the pic, it looks like some of the characters' edges are faded or something, not sure exactly how to describe but that is the pic...
Really appreciate the help, thx so much!!
Offline
Try using this as .fonts.conf (it's what I use right now, basically just really stripped down version of the newest infinality config, the font replacements just replace Helvetica clones with Arial) and make sure you have the newest infinality package (last updated on nov 16th). Slight autohinting is the default, with full normal hinting for good fonts only, which might fix those really thin fonts.
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- replace black weight Arial with Arial Black -->
<match target="pattern">
<test name="family" compare="eq" target="default">
<string>Arial</string>
</test>
<test compare="more" name="weight">
<const>bold</const>
</test>
<edit name="family" mode="prepend" binding="same">
<string>Arial Black</string>
</edit>
<edit name="weight" mode="assign">
<const>bold</const>
</edit>
</match>
<!-- replace Times with Times New Roman -->
<match target="pattern" name="family" >
<test name="family" qual="any" >
<string>Times</string>
</test>
<edit binding="strong" mode="prepend" name="family" >
<string>Times New Roman</string>
</edit>
</match>
<match target="font" >
<test name="family" qual="any" >
<string>Times</string>
</test>
<edit mode="assign" name="family" >
<string>Times New Roman</string>
</edit>
</match>
<!-- replace Helvetica with Arial -->
<match target="pattern" name="family">
<test name="family" qual="any">
<string>Helvetica</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>Arial</string>
</edit>
</match>
<match target="font" >
<test name="family" qual="any">
<string>Helvetica</string>
</test>
<edit mode="assign" name="family">
<string>Arial</string>
</edit>
</match>
<!-- replace Helvetica Neue with Arial -->
<match target="pattern" name="family">
<test name="family" qual="any">
<string>Helvetica Neue</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>Arial</string>
</edit>
</match>
<match target="font" >
<test name="family" qual="any">
<string>Helvetica Neue</string>
</test>
<edit mode="assign" name="family">
<string>Arial</string>
</edit>
</match>
<!-- replace Nimbus Mono L with Courier New -->
<match target="font" >
<test name="family" qual="any">
<string>Nimbus Mono L</string>
</test>
<edit mode="assign" name="family">
<string>Courier New</string>
</edit>
</match>
<match target="pattern" name="family">
<test name="family" compare="eq" target="default">
<string>Nimbus Mono L</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>Courier New</string>
</edit>
</match>
<!-- replace Nimbus Sans with Arial -->
<match target="font">
<test name="family" qual="any">
<string>Nimbus Sans</string>
</test>
<edit mode="assign" name="family">
<string>Arial</string>
</edit>
</match>
<match target="pattern" name="family">
<test name="family" qual="any">
<string>Nimbus Sans</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>Arial</string>
</edit>
</match>
<match target="font">
<test name="family" qual="any">
<string>Nimbus Sans L</string>
</test>
<edit mode="assign" name="family">
<string>Arial</string>
</edit>
</match>
<match target="pattern" name="family">
<test name="family" qual="any">
<string>Nimbus Sans L</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>Arial</string>
</edit>
</match>
<!-- fix poorly specified font family names -->
<match target="pattern" name="family">
<test name="family" qual="any">
<string>Trebuchet</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>Trebuchet MS</string>
</edit>
</match>
<match target="font">
<test name="family" qual="any">
<string>Trebuchet</string>
</test>
<edit mode="assign" name="family">
<string>Trebuchet MS</string>
</edit>
</match>
<match target="pattern" name="family">
<test name="family" qual="any">
<string>Palatino</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>Palatino Linotype</string>
</edit>
</match>
<match target="font">
<test name="family" qual="any">
<string>Palatino</string>
</test>
<edit mode="assign" name="family">
<string>Palatino Linotype</string>
</edit>
</match>
<match target="pattern" name="family">
<test name="family" qual="any">
<string>Lucida Sans</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>Lucida Grande</string>
</edit>
</match>
<match target="font">
<test name="family" qual="any">
<string>Lucida Sans</string>
</test>
<edit mode="assign" name="family">
<string>Lucida Grande</string>
</edit>
</match>
<!-- reject bitmap fonts -->
<selectfont>
<rejectfont>
<pattern>
<patelt name="scalable">
<bool>false</bool>
</patelt>
</pattern>
</rejectfont>
</selectfont>
<!-- substitute truetype fonts for bitmap ones -->
<match target="pattern">
<edit name="prefer_outline">
<bool>true</bool>
</edit>
</match>
<!-- base settings -->
<match target="font">
<!-- don't use embedded bitmaps -->
<edit name="embeddedbitmap" mode="assign">
<bool>false</bool>
</edit>
<!-- enable antialiasing -->
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<!-- enable subpixel rendering -->
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
<!-- subpixel filtering -->
<edit name="lcdfilter" mode="assign">
<const>lcddefault</const>
</edit>
<!-- enable font hinting -->
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<!-- enable autohinter -->
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
<!-- use slight hinting -->
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
</match>
<!-- make these fonts use full BCI hinting -->
<match target="font" >
<test name="family" qual="any" >
<string>Andale Mono</string>
<string>Andalus</string>
<string>Angsana New</string>
<string>AngsanaUPC</string>
<string>Aquabase</string>
<string>Arial Black</string>
<string>Arial MT</string>
<string>Arial Narrow</string>
<string>Arial SF MT</string>
<string>Arial Unicode MS</string>
<string>Arial</string>
<string>ArialMT</string>
<string>Bitstream Vera Sans Mono</string>
<string>Bitstream Vera Sans</string>
<string>Bitstream Vera Serif</string>
<string>Book Antiqua</string>
<string>Bookman Old Style</string>
<string>Browallia New</string>
<string>BrowalliaUPC</string>
<string>Calibri</string>
<string>Cambria</string>
<string>Candara</string>
<string>Century Gothic</string>
<string>Chalkduster</string>
<string>Charcoal CY</string>
<string>Charcoal</string>
<string>Charis SIL</string>
<string>Chicago</string>
<string>Comic Sans MS</string>
<string>Consolas</string>
<string>Constantia</string>
<string>Copperplate</string>
<string>Corbel</string>
<string>Cordia New</string>
<string>CordiaUPC</string>
<string>Courier 10 Pitch</string>
<string>Courier New</string>
<string>Courier</string>
<string>Dark Courier</string>
<string>DejaVu LGC Sans Mono</string>
<string>DejaVu Sans Mono</string>
<string>DejaVu Sans</string>
<string>DejaVu Serif</string>
<string>Estrangelo Edessa</string>
<string>Euphemia</string>
<string>FrankRuehl</string>
<string>Franklin Gothic Medium</string>
<string>Futura</string>
<string>Gotham Book</string>
<string>Gotham Light</string>
<string>Gotham Medium</string>
<string>Guatami</string>
<string>Impact</string>
<string>Latha</string>
<string>Levinim MT</string>
<string>Liberation Mono</string>
<string>Liberation Sans</string>
<string>Liberation Serif</string>
<string>Lucida Console</string>
<string>Lucida Grande</string>
<string>Lucida Sans Unicode</string>
<string>Luxi Mono</string>
<string>Malgun Gothic</string>
<string>Microsoft Himalaya</string>
<string>Microsoft JhengHei</string>
<string>Microsoft Sans Serif</string>
<string>Microsoft Uighur</string>
<string>Microsoft YaHei</string>
<string>Microsoft Yi Baiti</string>
<string>Miriam Fixed</string>
<string>Molengo</string>
<string>Monaco</string>
<string>Mongolian Baiti</string>
<string>MoolBoran</string>
<string>Narkisim</string>
<string>Nina</string>
<string>Nyala</string>
<string>Padauk</string>
<string>Palatino Linotype</string>
<string>Plantagenet Cherokee</string>
<string>Raavi</string>
<string>Segoe UI</string>
<string>Segoe UI Semibold</string>
<string>TITUS Cyberbit Basic</string>
<string>Tahoma</string>
<string>Times New Roman</string>
<string>Traditional Arabic</string>
<string>Trebuchet MS</string>
<string>Tunga</string>
<string>Verdana</string>
<string>Vrinda</string>
<string>Yanone Kaffeesatz</string>
</test>
<edit name="hintstyle" mode="assign">
<const>hintfull</const>
</edit>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
</match>
<!-- make these fonts use autohint slight hinting (default) -->
<!--<match target="font" >
<test name="family" qual="any" >
<string>AR PL ShanHeiSun Uni</string>
<string>American Typewriter</string>
<string>Apple Chancery</string>
<string>Apple Garamond Light</string>
<string>Apple Garamond</string>
<string>AppleGothic</string>
<string>Apple Symbols</string>
<string>Arabic Typesetting</string>
<string>Baekmuk Gulim</string>
<string>Baskerville</string>
<string>Big Caslon</string>
<string>Bitstream Charter</string>
<string>BrushScript</string>
<string>Cantarell</string>
<string>CantarellRegular</string>
<string>Cantarell Regular</string>
<string>Cardo</string>
<string>Century Schoolbook L</string>
<string>Century</string>
<string>Charis SIL</string>
<string>Chalkboard</string>
<string>CMU Bright</string>
<string>Cochin</string>
<string>Comfortaa</string>
<string>Comfortaa Regular</string>
<string>ComfortaaRegular</string>
<string>Courier Std</string>
<string>Courier10 BT</string>
<string>Crimson Text</string>
<string>David</string>
<string>Delicious</string>
<string>Didot</string>
<string>DilenniaUPC</string>
<string>District</string>
<string>DokChampa</string>
<string>Droid Sans Mono</string>
<string>Droid Sans</string>
<string>Droid Serif</string>
<string>Dutch801 Rm BT</string>
<string>EucrosiaUPC</string>
<string>FreeMono</string>
<string>FreeSans</string>
<string>FreeSerif</string>
<string>FreesiaUPC</string>
<string>Frutiger LT Std</string>
<string>Frutiger Linotype</string>
<string>Frutiger-Normal</string>
<string>Garamond</string>
<string>Gautami</string>
<string>Geneva CY</string>
<string>Geneva Regular</string>
<string>Geneva</string>
<string>Gentium</string>
<string>Georgia</string>
<string>Gill Sans</string>
<string>Hard Gothic</string>
<string>Helvetica</string>
<string>Helvetica CY</string>
<string>Helvetica Neue</string>
<string>Herculanum</string>
<string>Hoefler Text</string>
<string>IM Fell</string>
<string>Inconsolata</string>
<string>IrisUPC</string>
<string>JasmineUPC</string>
<string>Jomolhari</string>
<string>Josefin Sans Std Light</string>
<string>Kai</string>
<string>Kalinga</string>
<string>KodchiangUPC</string>
<string>Laconic</string>
<string>Lacuna</string>
<string>Levenim MT</string>
<string>LilyUPC</string>
<string>LilyUPC</string>
<string>Linux Biolinum</string>
<string>Linux Libertine</string>
<string>Lobster</string>
<string>Lohit Bengali</string>
<string>Lohit Gujarati</string>
<string>Lohit Hindi</string>
<string>Lohit Hindi</string>
<string>Lohit Kannada</string>
<string>Lohit Malayalam</string>
<string>Lohit Oriya</string>
<string>Lohit Punjabi</string>
<string>Lohit Tamil</string>
<string>Lohit Telugu</string>
<string>Lucida Sans Std</string>
<string>Luxi Sans</string>
<string>Luxi Serif</string>
<string>M+ 2p</string>
<string>Marker Felt</string>
<string>Megalopolis</string>
<string>MetaMedium-Roman</string>
<string>Metabook-Roman</string>
<string>MgOpen Canonica</string>
<string>MgOpen Cosmetica</string>
<string>MgOpen Modata</string>
<string>MgOpen Moderna</string>
<string>Myriad Pro</string>
<string>Miriam</string>
<string>MS Mincho</string>
<string>MyriadRegular</string>
<string>Neuton</string>
<string>Nimbus Roman No9 L</string>
<string>Nimbus Mono L</string>
<string>Nimbus Sans</string>
<string>Nimbus Sans L</string>
<string>Nobile</string>
<string>Nobile002</string>
<string>Nobile-bold</string>
<string>Nobile-italic002</string>
<string>Nobile-bold-italic002</string>
<string>OFL Sorts Mill Goudy TT</string>
<string>Ocean Sans Std</string>
<string>Old Standard TT</string>
<string>Optima</string>
<string>OTS derived font</string>
<string>OTS derivied font</string>
<string>Palladio</string>
<string>Papyrus</string>
<string>PrimaSans BT</string>
<string>proxima-nova-1</string>
<string>proxima-nova-2</string>
<string>proxima nova</string>
<string>proxima nova bold</string>
<string>proxima nova regular</string>
<string>Reenie Beanie</string>
<string>SimHei</string>
<string>Skia</string>
<string>Swansea</string>
<string>Swiss721</string>
<string>Sylfaen</string>
<string>Tangerine</string>
<string>Times LT Std</string>
<string>Times New Roman MT Std</string>
<string>Times Roman</string>
<string>Times Ten LT Std</string>
<string>Univers LT Std</string>
<string>URWClassico</string>
<string>Utopia</string>
<string>Verdimka</string>
<string>Vollkorn</string>
<string>Yanone Kaffeesatz</string>
<string>Zapfino</string>
<string>cmbx10</string>
<string>cmex10</string>
<string>cmmi10</string>
<string>cmr10</string>
<string>cmsy10</string>
<string>cmtt10</string>
<string>eufm10</string>
<string>msam10</string>
<string>msbm10</string>
<string>wasy10</string>
<string>Eurostile LT Std</string>
</test>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
</match>-->
<!-- make these fonts use no antialiasing or hinting -->
<match target="font" >
<test name="family" qual="any">
<string>ProFontWindows</string>
<string>Terminus</string>
<string>Terminus (ttf)</string>
</test>
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintnone</const>
</edit>
</match>
<!-- make Verdana 9 and 10 appear like they do on Windows -->
<match target="font">
<test name="family" qual="any">
<string>Verdana</string>
</test>
<test compare="less" name="weight">
<const>bold</const>
</test>
<test compare="more_eq" name="pixelsize" qual="any">
<double>8.5</double>
</test>
<test compare="less" name="pixelsize" qual="any">
<double>10.5</double>
</test>
<edit name="matrix" mode="assign">
<times>
<name>matrix</name>
<matrix>
<double>1.1</double>
<double>0.0</double>
<double>0.0</double>
<double>1.0</double>
</matrix>
</times>
</edit>
</match>
<!-- make Verdana 12 appear like it does on Windows -->
<match target="font">
<test name="family" qual="any">
<string>Verdana</string>
</test>
<test compare="less" name="weight">
<const>bold</const>
</test>
<test compare="more_eq" name="pixelsize" qual="any">
<double>11.5</double>
</test>
<test compare="less" name="pixelsize" qual="any">
<double>12.5</double>
</test>
<edit name="matrix" mode="assign">
<times>
<name>matrix</name>
<matrix>
<double>1.05</double>
<double>0.0</double>
<double>0.0</double>
<double>1.0</double>
</matrix>
</times>
</edit>
</match>
<!-- make all fonts use autohint slight hinting below 8.5 px -->
<match target="font">
<test compare="less" name="pixelsize" qual="any">
<double>8.5</double>
</test>
<edit mode="assign" name="hintstyle">
<const>hintslight</const>
</edit>
<edit mode="assign" name="autohint">
<bool>true</bool>
</edit>
</match>
<!-- make Arial Black (full hinted) use slight hinting below 12 px -->
<match target="font" >
<test name="family" qual="any">
<string>Arial Black</string>
</test>
<test compare="less" name="pixelsize" qual="any">
<double>11.5</double>
</test>
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
<!-- make these full hinted fonts use slight autohinting below 14 px -->
<match target="font" >
<test name="family" qual="any">
<string>Aquabase</string>
<string>Browallia New</string>
<string>BrowalliaUPC</string>
</test>
<test compare="less" name="pixelsize" qual="any">
<double>13.5</double>
</test>
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
<!-- don't use BCI hinting for italic Courier -->
<match target="font" >
<test name="family" qual="any">
<string>Courier</string>
</test>
<!-- match requests for non-roman face -->
<test name="slant" compare="not_eq">
<const>roman</const>
</test>
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
</fontconfig>
Last edited by thestinger (2010-11-22 18:22:55)
Offline