You are not logged in.
I came across this site offering some help on how to setup decent fonts. I have no idea how it works, I just know it works as my fonts currently look truely awesome. I've never seen them this nice.
Just create the file ~/.fonts.conf with the text below in it. I pasted it here once more, because the author of the site forgot that the XML-tags are parsed by browsers aswell.
~/.fonts.conf
<xml>
<DOCTYPE>
<fontconfig>
<match>
<edit>
<const>none</const>
</edit>
</match>
<match>
<edit>
<bool>true</bool>
</edit>
</match>
<match>
<edit>
<const>hintfull</const>
</edit>
</match>
<match>
<edit>
<bool>true</bool>
</edit>
</match>
<match>
<edit>
<bool>true</bool>
</edit>
</match>
<match>
<test>
<string>Helvetica</string>
</test>
<edit>
<string>sans-serif</string>
</edit>
</match>
<dir>~/.fonts</dir>
</fontconfig>
Let me know what you think of it.
I have no idea if this has ever been posted already, either on the forum, the mailing list or the Wiki. So sue me!
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
can u post a screenshot? awesome when it comes to fonts is highly subjective
There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums. That is why we avoid it. -- ewaller (arch linux forum moderator)
Offline
Er, that "code" is nothing like a useful fonts.conf. Go to the link and "view page source" in your browser, then cut & paste the right bit of the page directly into your text editor. It will need tidying (remove html etc)
Offline
Er, that "code" is nothing like a useful fonts.conf. Go to the link and "view page source" in your browser, then cut & paste the right bit of the page directly into your text editor.
Dammit, you're right. I pasted it here explicitly because the same thing happened on that website: the author pasted the XML code in his HTML code and most of it got parsed. I'll try and look for a way.
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
<?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>hintfull</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
</match>
<match target="pattern" >
<edit mode="assign" name="autohint" >
<bool>true</bool>
</edit>
</match>
<match target="pattern" name="family" >
<test name="family" qual="any" >
<string>Helvetica</string>
</test>
<edit mode="assign" name="family" >
<string>sans-serif</string>
</edit>
</match>
<dir>~/.fonts</dir>
</fontconfig>
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
Seems to work now, although I can't restart my x-server right now to see if it really worked ;-)
Haven't been here in a while. Still rocking Arch.
Offline
can u post a screenshot? awesome when it comes to fonts is highly subjective
Here's one from the homepage. If you have any requests, let me know.
Link fixed!
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
FUBAR, the img isn't linking properly to imageshack. The thumbnail won't cut it otherwise
Offline
FUBAR.. should it look like this?
<?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>hintfull</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
</match>
<match target="pattern">
<edit mode="assign" name="autohint">
<bool>true</bool>
</edit>
</match>
<match target="pattern" name="family">
<test name="family" qual="any">
<string>Helvetica</string>
</test>
<edit mode="assign" name="family">
<string>sans-serif</string>
</edit>
</match>
<dir>~/.fonts</dir>
</fontconfig>
just testing to see if I could get it to paste properly...
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
I fixed the link. Wtf happened to ImageShack. Last time I checked I could figure it out!
Anyway, I reposted the correct code disabling the BB and HTML tags in the post. It displays properly here.
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
hm, do i have to configure something?
i just put those code in ~/.fonts.conf but nothing changed
something _did_ change.
with this config, my fonts get really ugly
Offline
One of a number of previous discussions on the topic here, with some alternative ~/.fonts.conf files.
Offline
hm, do i have to configure something?
i just put those code in ~/.fonts.conf but nothing changedsomething _did_ change.
with this config, my fonts get really ugly
Ow, that's too bad. I don't understand a thing of all this font stuff, I came across that site and gave it a try. And the results show in that screenshot.
I guess you miles may (will) vary.
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
So, this fonts.conf file just disables subpixel rendering and cranks the autohinter to full. I could suggest an improvement (in my eyes) which is to check the font weight for bold fonts and not hint them so that they dont' apper so FAT.
Offline
Just wanted to say thanks for this config. My fonts were horrendous after installing Arch64 and this solved the problem.
Thanks!!!!!!!!!!!1
Jim
Offline
I applied Ibertus' suggestion and things are even better!!
Thanks Again!
Jim
Offline
i didn't notice anything
Offline
I applied Ibertus' suggestion and things are even better!!
Thanks Again!
Jim
How? My fat fonts could use a diet, to be honest.
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
AFAIK helvetica, courier and times are replaced by sans-serif, serif and monospace already in the default fontconfig configuration.
Offline
err use pastebin syntax may show up correctly xml is a pig on forums lol
Mr Green
Offline
I had all sorts of problems with fonts, with some lookin poor under one setting and others lookin poor under another -- until i set my screen's DPI to 75, and now they're all sleek and sharp -- but not rough.
James
Offline
[
How? My fat fonts could use a diet, to be honest.[/quote]
Hi FUBAR,
I aded the following snippet to the conf file;
<Disable>
<match>
<test>
<const>medium</const>
</test>
<edit><bool>false</bool></edit>
</match>
Regards,
Jim
Offline