LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-17-2007, 03:16 PM   #1
jpostma
Member
 
Registered: Jun 2003
Location: Alphen ad Rijn -- The Netherlands
Distribution: Fedora Core 2 - Slackware 12
Posts: 119

Rep: Reputation: 15
Ugly fonts in Slackware 12


I just installed Slackware 12. The fonts are very bad. I like AA fonts but the current fonts doesn't look right. I have a MSI NX7300GS graphic card. I have installed the nvidia driver but with no impact on the fonts.

I am using also Fedora Core 2 and these AA fonts are much prettier.
 
Old 07-17-2007, 03:47 PM   #2
bambeklis
Member
 
Registered: Aug 2005
Posts: 58

Rep: Reputation: 15
copy true type fonts (*.ttf) to:

/usr/X11R6/lib/fonts/TTF/
then in this directory:

mkfontscale
then:
mkfontdir

P.S. the directory might be a little different..
 
Old 07-17-2007, 04:08 PM   #3
Road_map
Member
 
Registered: Jan 2007
Distribution: Slackware
Posts: 341

Rep: Reputation: 31
Quote:
Originally Posted by bambeklis
copy true type fonts (*.ttf) to:

/usr/X11R6/lib/fonts/TTF/
then in this directory:

mkfontscale
then:
mkfontdir

P.S. the directory might be a little different..
/usr/X11R6/share/fonts/TTF
 
Old 07-17-2007, 04:35 PM   #4
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware
Posts: 573

Rep: Reputation: 59
Actually, in Slackware 12.0 the path is:

/usr/share/fonts/TTF
 
Old 07-17-2007, 04:38 PM   #5
jpostma
Member
 
Registered: Jun 2003
Location: Alphen ad Rijn -- The Netherlands
Distribution: Fedora Core 2 - Slackware 12
Posts: 119

Original Poster
Rep: Reputation: 15
Unfortunately it doesn't help.
 
Old 07-17-2007, 05:18 PM   #6
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware
Posts: 573

Rep: Reputation: 59
You may want to recompile the freetype package with bytecode interpreter and sub-pixel renderer enabled. The source and slackbuild script are available on any slackware mirror under the "slackware-12.0/source/l" directory. Slackware's freetype is compiled with them disabled as the code is patented by Apple and Microsoft, but you can edit the slackbuild script to compile it with them enabled and install that (the relevant lines are commented out). There is a howto on using slackbuild scripts at http://www.slackbuilds.org
 
Old 07-18-2007, 12:58 AM   #7
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,683

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Font's unfortunately not as straight forward in Linux as there are in windows, but with not much work you can get the fonts anyway you like them, check out this post I made a while back and see if you like the way the fonts are rendered, there are links to howtos for non-aa fonts in the post but if you have a LCD and want to know how to get good sub pixel rendering let us know and the people here will point you in the right direction

http://www.linuxquestions.org/questi...d.php?t=539868
 
Old 07-18-2007, 09:14 AM   #8
mysql_connect
Member
 
Registered: Jul 2005
Distribution: Slackware 13.37 / Slackware64 13.37
Posts: 35

Rep: Reputation: 0
I have a laptop, have Slack on it since 10, always upgraded to new distro to avoid installing all the software . With Slackware 12 I decided it's time for a fresh install, now the fonts are horrible, even the Slackware defaults are horrible. I installed freetype with bytecode interpreter enabled, no change. They just look awful with AA, without AA, with forced DPI, without forced DPI, on the LCD they suck. If anyone has a solution or hints to point me in the right direction I'd be forever gratefull. I've attached a screenshot but that might look ugly only on my LCD screen ) . The notebook is Fujitsu-Siemens Amilo Pro 2040, has a Intel 915m chipset, X is configured properly, DRI enabled, the fonts are KDE defaults (Sans Serif, 10).
Please help .
 
Old 07-18-2007, 09:17 AM   #9
mysql_connect
Member
 
Registered: Jul 2005
Distribution: Slackware 13.37 / Slackware64 13.37
Posts: 35

Rep: Reputation: 0
And here is the screenshot:

Ugly!!!
 
Old 07-18-2007, 09:52 AM   #10
jpostma
Member
 
Registered: Jun 2003
Location: Alphen ad Rijn -- The Netherlands
Distribution: Fedora Core 2 - Slackware 12
Posts: 119

Original Poster
Rep: Reputation: 15
I can live with your fonts. My small fonts aren't readable anymore. I cannot give you a screenshot yet because I'm working now somewhere else.

Does the refresh rate of the video card has impact on the quality of the fonts? At first I have had refresh rate of 51,52,53. I have an LCD. I did a new install because during the installation of slack you can install additional fonts. I selected an extra font and now I have only one refresh rate of 61. Very strange.
 
Old 07-18-2007, 09:55 AM   #11
mysql_connect
Member
 
Registered: Jul 2005
Distribution: Slackware 13.37 / Slackware64 13.37
Posts: 35

Rep: Reputation: 0
Well I'm a PHP programmer, fonts have everything to do with it, I use Slack 10-14 hours/day. I'm seriously considering reverting to Slack 11.
 
Old 07-18-2007, 10:54 AM   #12
jpostma
Member
 
Registered: Jun 2003
Location: Alphen ad Rijn -- The Netherlands
Distribution: Fedora Core 2 - Slackware 12
Posts: 119

Original Poster
Rep: Reputation: 15
I have found 3 interesting links:

http://tldp.org/HOWTO/html_single/Font-HOWTO/#msfonts
http://brendan.sdf-eu.org/articles/a...sing_slack.php
http://en.opensuse.org/Optimal_Use_of_Fonts_on_SuSE

I will try them tonight.
 
Old 07-18-2007, 01:15 PM   #13
john-boro
LQ Newbie
 
Registered: Jul 2007
Posts: 11

Rep: Reputation: 0
Forgive me if I'm being naive here, but the reason the fonts in firefox look like ass is because it is a gtk app. The fonts you set in kcontrol only control qt-based apps, so all the font-installing and bytecode-compiling will be useless if you can't set the fonts in gtk applications. I found this very weird, including all those gtk programs, but no way to change their theme or fonts. In the end, I found two options. One is to install gtk-qt-engine, which gives you an option in kcontrol for setting the fonts and theme of gtk apps. The other is to install gnome, giving you full access to gnome-font-properties, and the gnome-settings-daemon. I like gnome anyway so I installed it using the script in the 'vanilla gnome on slackware 12' thread in this forum, but just installing gtk-engines is easier. Once you've done that, you may find .gtkrc files in your home dir that you can tweak as you like.

john
 
Old 07-18-2007, 01:20 PM   #14
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479

Rep: Reputation: 48
Quote:
Originally Posted by john-boro
Forgive me if I'm being naive here, but the reason the fonts in firefox look like ass is because it is a gtk app. The fonts you set in kcontrol only control qt-based apps, so all the font-installing and bytecode-compiling will be useless if you can't set the fonts in gtk applications. I found this very weird, including all those gtk programs, but no way to change their theme or fonts. In the end, I found two options. One is to install gtk-qt-engine, which gives you an option in kcontrol for setting the fonts and theme of gtk apps. The other is to install gnome, giving you full access to gnome-font-properties, and the gnome-settings-daemon. I like gnome anyway so I installed it using the script in the 'vanilla gnome on slackware 12' thread in this forum, but just installing gtk-engines is easier. Once you've done that, you may find .gtkrc files in your home dir that you can tweak as you like.

john
Actually, I have found that playing with settings in KDE does have a direct impact on Firefox:
comparison

As for other adjusting other aspects of Firefox, you can use:

xfce-mcs-manager (maybe add this to kde autostart)
and then
xfce-settings-show
 
Old 07-18-2007, 01:40 PM   #15
mysql_connect
Member
 
Registered: Jul 2005
Distribution: Slackware 13.37 / Slackware64 13.37
Posts: 35

Rep: Reputation: 0
I was asking for a howto as 1 user here said:

"but if you have a LCD and want to know how to get good sub pixel rendering let us know and the people here will point you in the right direction"

I know how to change my fonts for the gtk applications, I know how to add fonts, I had a perfect interface with Slackware distros 10 - 11, the hell started with Slackware 12. So I'm guessing there are some tricks I'm not aware of for things to look nice on LCDs.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ugly fonts - help krizzz Slackware 29 11-21-2006 10:07 PM
Ugly fonts? MATJA_KAE_92 Mandriva 12 10-08-2004 05:08 PM
Fonts really ugly saiz66 Slackware 3 06-19-2004 09:25 PM
Open Office fonts look ugly (and print ugly too) TheOneAndOnlySM Linux - Software 6 10-17-2003 07:12 PM
Ugly fonts Paul E Slackware 6 04-12-2003 09:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration