LinuxQuestions.org
Review your favorite Linux distribution.
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 02-18-2005, 12:05 PM   #16
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52

yip, it's a nice howto.
maybe smth. for the Slack-faq.

egag
 
Old 02-21-2005, 11:33 AM   #17
nnsg
Member
 
Registered: Apr 2004
Distribution: Slackware 9.1/10.1, Mandrake 9.1/10.1
Posts: 75

Rep: Reputation: 15
Just want to say this is a great thread.

I don't like antialias, but in most dist. swtich off antialias made the fonts look bad, by follwing this thread now my fonts in X look great, thanks everyone for sharing!!
 
Old 04-25-2005, 02:57 PM   #18
shimmyt
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
Very good post. It got my fonts looking pretty on my install of Slackware 10.1. A couple of things though after you copy the M$ fonts make sure you do a chmod 444 on them so that everyone on the system can use them, and not just root.
 
Old 10-26-2006, 12:02 AM   #19
SIGHUP
LQ Newbie
 
Registered: Oct 2006
Location: San Diego, CA
Posts: 5

Rep: Reputation: 0
Many thanks for the post. The thing that worked for me was just adding Windows fonts to /usr/X11R6/lib/fonts/TTF and chmod 444 *.* fonts so that users could use them.

I was originally looking to view Chinese fonts in Firefox, but adding fonts was all that was needed.

No need to re-compile freetype since slack 11.0 came with it as a package.

Thanks again to all.
 
Old 10-26-2006, 02:26 AM   #20
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
Sorry for joining this thread so late... maybe this could have helped.
 
Old 10-26-2006, 02:39 AM   #21
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 62
I had made a guide for slackware here on the forums but I never got enuff good feed back to warrant submitting it to LQ. There's some additional tweaks for the various window managers and browsers in it.

FWIW in case anyone should find this thread it is important that they are aware of the patent issues around the byte code interpreter.

http://freetype.sourceforge.net/patents.html
 
Old 11-05-2006, 04:37 AM   #22
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Rep: Reputation: 36
Thanks for a great, helpful thread.

One question - will using 100dpi instead of 96dpi have any negative effect if combined with the advise above?

-Y1
 
Old 11-05-2006, 04:44 AM   #23
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 62
Actually I use 100 dpi in lieu of 96dpi, I find the fonts look better when I use "konsole", or even terminal as slackware installs 100 dpi fonts. I don't notice a difference (except a little size) in my KDE applications.
 
Old 11-05-2006, 10:09 AM   #24
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Rep: Reputation: 36
Followed the instructions and all in all it looks fantastic. However, despite following cathectic's advise on the bitstream fonts, they still look very ugly.

I've attached my .fonts.conf:

Code:
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <match target="font" >
  <test compare="eq" name="slant" >
   <const>italic</const>
  </test>
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </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>
 <dir>~/.fonts</dir>
 <match target="font" >
  <edit mode="assign" name="rgba" >
   <const>rgb</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>false</bool>
  </edit>
 </match>
 <match target="font" >
  <test compare="more_eq" name="size" qual="any" >
   <double>6</double>
  </test>
  <test compare="less_eq" name="size" qual="any" >
   <double>14</double>
  </test>
  <edit mode="assign" name="antialias" >
   <bool>false</bool>
  </edit>
 </match>
 <match target="font" >
  <test compare="more_eq" name="pixelsize" qual="any" >
   <double>8</double>
  </test>
  <test compare="less_eq" name="pixelsize" qual="any" >
   <double>19</double>
  </test>
  <edit mode="assign" name="antialias" >
   <bool>false</bool>
  </edit>
 </match>
<!-- Make the default sans-serif font Arial -->
<match target="pattern" name="family" >
  <test name="family" qual="any" >
   <string>sans-serif</string>
  </test>
  <edit mode="assign" name="family" >
   <string>Arial</string>
  </edit>
 </match>
</fontconfig>
In KDE Control Panel, under Fonts, the following settings are defined:
General (and all other settings) : Verdana 9 (had to set that because BitStream was so ugly
Fixed Width: Andale Mono7
Desktop: Verdana 7

Use Antialiasing is _NOT_ checked, and I have recompiled freetype with the bytecode interpreter.

Anyone?
 
Old 11-06-2006, 02:02 AM   #25
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 62
looks like your using subpixel hinting of rgb, personally I think that makes fonts look horrible.

did you adust your DPI in your xorg.conf to be 96dpi?

take a look here too:
http://www.linuxquestions.org/questi...d.php?t=462034
 
Old 11-07-2006, 09:29 AM   #26
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Rep: Reputation: 36
Hi,

Seems like the .fonts.conf had got a bit messed up. I'm running 100x100DPI as reported by xdpyinfo.

Here's my latest ~/.fonts.conf:

Code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <match target="font" >
  <test compare="more" name="size" qual="any" >
   <double>6</double>
  </test>
  <test compare="less" name="size" qual="any" >
   <double>14</double>
  </test>
  <edit mode="assign" name="antialias" >
   <bool>false</bool>
  </edit>
 </match>
 <match target="font" >
  <test compare="more" name="pixelsize" qual="any" >
   <double>6</double>
  </test>
  <test compare="less" name="pixelsize" qual="any" >
   <double>15</double>
  </test>
  <edit mode="assign" name="antialias" >
   <bool>false</bool>
  </edit>
 </match>
 <match target="font" >
  <test compare="eq" name="slant" >
   <const>italic</const>
  </test>
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </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>
</fontconfig>
Bitstream still looks ugly - the fonts look almost like someone opened a picture of the font in the Gimp and started adding random pixels around them. Especially "tall" and "low" letters like l (tall) and j (low) look bumpy. Also - sentences written in bitstream appear uneven. Like the fine line of words goes up and down a couple of millimetres as if my sentences were written on waves on the ocean.

Could there be a KDE setting that messes up this, or are there other things that should be included or omitted from the above quoted .fonts.conf? Or could the problem be in fonts.dtd or elsewhere?

(Most other fonts look absolutely beautiful and sharp)

-Y1
 
Old 11-08-2006, 12:07 AM   #27
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 62
I don't use the bytecode interpreter, I don't have a license to.

If I am wrong, someone please correct me on this. But from what I've read, using the bytecode interpreter puts the antialiasing on for you. And it's always on no matter what. Furthermore I believe from what I've read that KDE's antialising in control center doesn't do anything for you, as it's taken care of by the bytecode interpreter. Hope that makes sense.

Have you tried the latest freetype using their own homeade hinting, it's really swell and no legal issues. Not the freetype that came with slackware 11, the latest on the web.

The bitstream work well for me, no size issues.
 
Old 11-08-2006, 01:44 AM   #28
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
No, I use the bytecode interpreter without antialiasing all the time. I am allergic to antialiasing.
"My" combination makes fonts look exactly like in Windows. And yes, I do have a license to.
 
Old 11-08-2006, 04:03 AM   #29
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 62
hey for kicks and giggles I put in the kde 3.5.5u that Ken Zalewski packaged up over at linuxpackages.

there's a new feature there, 'force 96dpi or force 120dpi' in the fonts section of the KDE control center.

gonna test it more and see what it does.
 
Old 11-21-2006, 11:07 PM   #30
milkycow
LQ Newbie
 
Registered: Jan 2004
Posts: 29

Rep: Reputation: 15
Question: does subpixel hinting work in Slackware 11.0 with GTK2 apps?
I have tried with a cutom-compiled freetype 2.1.10, 2.1.9 (from Slackbuild with bytecode interpreter enabled), and 2.2.1. I don't see subpixel hinting in pure GTK2 apps (such as Gimp), but Qt apps and Mozilla apps have working subpixel hinting. Are other people having the same problem? How do I fix it?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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?! CaseMillennium Mandriva 1 03-25-2005 10:52 AM
Ugly fonts? MATJA_KAE_92 Mandriva 12 10-08-2004 06:08 PM
Fonts really ugly saiz66 Slackware 3 06-19-2004 10:25 PM
Open Office fonts look ugly (and print ugly too) TheOneAndOnlySM Linux - Software 6 10-17-2003 08:12 PM
Ugly fonts Paul E Slackware 6 04-12-2003 10:22 PM

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

All times are GMT -5. The time now is 10:17 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration