PDA

View Full Version : Nice Vista fonts


ayche
28th July 2005, 08:18 PM
http://test.uxevolutions.info/zoronax/entries/10

Furball
28th July 2005, 09:48 PM
At least they are producing nice looking fonts :D

kosmosik
28th July 2005, 10:08 PM

At least they are producing nice looking fonts :D
they probably bought them...

iamroot
29th July 2005, 03:36 PM
Can GNU/Linux use these fonts?

Furball
29th July 2005, 07:57 PM
Of course, just drop any true type font into /usr/share/fonts or ~/.fonts (see /etc/fonts/fonts.conf, there are all directories that are looked through for fonts).
Then, run the command 'fc-cache' in this directory.
The command ' fc-list' should list your new fonts. (as now your programs should do as well)

Shadow Skill
31st July 2005, 01:28 AM
Is root required for that command?

Furball
31st July 2005, 02:37 AM
If you have a system-wide directory like /usr/share/fonts you have to be root, if you install them in your home directory ( ~/.fonts) you don't need to be root, the disadvantage of the second one is that not all users can use these fonts just the user who has installed them in his home directory.

saibaggins
31st July 2005, 07:37 PM
Hi furball, can I get some help?

I'm trying to work out how to turn off antialiasing for some font size. Every reference I found tells me to modify my ~/.fonts.conf but I don't have one. Is this just because all font's are installed system wide and non locally?

I looked in /etc/fonts/local.conf but there was no mention of antialiasing in there, do I need to add something in there to disable it for a certain range? or is it elsewhere.

hope you can help,

SiB

smfinley
31st July 2005, 07:50 PM
Hi furball, can I get some help?

I'm trying to work out how to turn off antialiasing for some font size. Every reference I found tells me to modify my ~/.fonts.conf but I don't have one. Is this just because all font's are installed system wide and non locally?

I looked in /etc/fonts/local.conf but there was no mention of antialiasing in there, do I need to add something in there to disable it for a certain range? or is it elsewhere.

hope you can help,

SiB

You have to create a ".fonts.conf" file in your home directory (gedit ~/.fonts.conf) or for a global implementation (all users) create or edit "/etc/fonts/local.conf". Either file should contain the following with the boolean value set to either true or false depending upon whether you prefer to have auto-hinting on or off. "On" (true) is the Fedora Core default. (For CRT screens I prefer the crisp and more edge-defined font look achieved with autohinting set to "true") Try both "true" and "false" for the boolean value, re-starting X each time, to see what works best for you.<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit mode="assign" name="autohint">
<bool>true</bool>
</edit>
</match>
</fontconfig>You call also add something like:
<match target="pattern">
<test qual="any" name="size" compare="less">
<double>10</double>
</test>
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="pattern">
<test qual="any" name="pixelsize" compare="less">
<double>14</double>
</test>
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
</match>inside the xml tree in the .fonts.conf code to modify for other/smaller fonts.

This (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-fonts.html) is a good article about configuring fonts in X.

Also see this post (http://www.fedorasolved.com/viewtopic.php?t=55).

Also see this article (http://linux.org.mt/article/ttfonts#N10054) about installing fonts (applies to any font) in Fedora/Redhat.

sej7278
31st July 2005, 09:37 PM
They all pretty much look the same to me, and are nothing new either.

I was just thinking the other day how Windows font rendering/antialiasing hasn't caught up with Linux yet (or even RISC OS circa 1988).

saibaggins
31st July 2005, 10:22 PM
Thanks smfinley, That was a great help

I'll test it as soon as I can reboot.