<Rob Meyer>
Not Registered
From: N/A
Messages: N/A
|
 |
fontconfig/Xft support |
|
|
|
I've gotten these fonts to be available under linux as core X fonts, as described in the readme.txt. However, I'd also like to have them available for programs using the more modern Xft/Render/Fontconfig/Freetype combination to manage their fonts (Gnome/Qt apps, newer Mozilla's, particularly Gnome terminal). The most recent versions of that combo supposedly support .pcf's, but I haven't had any luck getting them to work. The TTF isn't appropriate, because it gets anti-aliased which looks awful, and disabling anti-aliasing leaves it badly hinted which gives all kinds of artifacts ("blobby characters") and also is unusable.
Anyone had any luck with this?
|
<hw>
Not Registered
From: N/A
Messages: N/A
|
 |
fontconfig/Xft support |
|
|
|
<Rob Meyer>,
I have had this problem too, until fifteen minutes ago. :-)
Look for the thread called Tweaked version of the ProFontWindows TrueType font in this forum and grab that TTF (!) version of Profont. Copy it to your ~/.fonts dir (create one if you don't have one) and run fc-cache -v to update the XFT font cache. Then edit your ~/.fonts.conf file (again, create it if you don't have it). Below is my full ~/.fonts.conf that disables anti-aliasing of this particular font:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<test qual="any" name="family">
<string>ProFontWindows</string>
</test>
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
</match>
</fontconfig>
Now you can use Profont in XFT apps! Only the 9pt version looks OK but it's a good size. :)
Good luck!
Håkan
|
Legoguy
New User
From: N/A
Messages: 4
|
 |
fontconfig/Xft support |
|
|
|
<Rob Meyer>, The reason why it won't work is the same reason the Artwiz font's won't work - there's some type of encoding messup. I'll contact the guy who made the fixed artwiz fonts and see if he can do the same with this, and if he can, I'll post them back here to be included in the next release of ProFont.
~~~~~~~~~~~~
"... the reality is that GNU/Linux is a better mousetrap. It wasn't started by any company, it is bigger than any company, it depends on no company, and if they all went out of business tomorrow, it would continue." -Groklaw
|
gredman
New User
From: N/A
Messages: 1
|
 |
fontconfig/Xft support |
|
|
|
I've hacked up the PCF version to work with Xft. Works perfectly for me in both Gnome/Gtk and KDE/Qt apps, as well as legacy XFree86 stuff.
They should be available at http://gredman.fastmail.fm/profont-x11.tar.gz.
|
<hw>
Not Registered
From: N/A
Messages: N/A
|
 |
fontconfig/Xft support |
|
|
|
gredman,
that's the best thing that has happened to my computing environment since OpenBox! Thanks a million, works very well in the terminal (aterm), in GTK2-compiled gvim and everywhere.
Tobias, that's the one you should have as the default Linux/Unix Profont download!
Håkan
|
<Juju>
Not Registered
From: N/A
Messages: N/A
|
 |
fontconfig/Xft support |
|
|
|
If you like profont, you may want to try the MonteCarlo font available at www.bok.net/MonteCarlo
The fonts are similar but the MonteCarlo supports bold which is really nice with IDEs like Eclipse which bold the keywords.
The font is available for Windows (.fon) and Linux (.pcf).
Cheers,
Julien.
|