LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-17-2007, 10:04 AM   #1
12345
Member
 
Registered: Jul 2006
Distribution: Slackware 12.1, Mint 4.0
Posts: 37

Rep: Reputation: 15
Fonts


I installed MS fonts with KDE's Font Installer (administration mode) and have some problems. The fonts are not as clear as i would expect, but something else is bothering me, the fonts in any web browser, they are somehow strange.

Fonts in Firefox (bookmark bar, navigation bar,....) are huge. I can change this in userChrome.css, but is there another way to have "normal" fonts?

Here is a screenshot from OOo http://xs.to/xs.php?h=xs312&d=07076&f=OOo.png (1.1MB)
And here is a screenshot from FF: http://xs312.xs.to/xs312/07076/google2.png (1.1MB)
How it looks like in windows: http://xs312.xs.to/xs312/07076/win33.png

~/.fonts.conf output
Code:
<?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>hintmedium</const>
  </edit>
 </match>
 <match target="font" >
  <test compare="more" name="weight" >
   <const>medium</const>
  </test>
  <edit mode="assign" name="autohint" >
   <bool>false</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>

xorg.conf output:
Code:
#    ModulePath "/usr/X11R6/lib/modules"

    FontPath 	"/usr/X11R6/lib/X11/fonts/misc:unscaled"
    FontPath 	"/usr/X11R6/lib/X11/fonts/TTF"
    FontPath 	"/usr/X11R6/lib/X11/fonts/Type1"
    FontPath 	"/usr/X11R6/lib/X11/fonts/CID"
    FontPath 	"/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
    FontPath 	"/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
    FontPath 	"/usr/X11R6/lib/X11/fonts/local"
    FontPath 	"/usr/X11R6/lib/X11/fonts/Speedo"
    FontPath 	"/usr/X11R6/lib/X11/fonts/cyrillic"
    FontPath 	"/usr/local/share/fonts"
EndSection

- - - - - - - - - - - - - - - - - 

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "Philips107P"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync   30-97

#    HorizSync	30-64         # multisync
#    HorizSync	31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync	15-25, 30-50  # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 50-160

  # 1152x864 @ 85.00 Hz (GTF) hsync: 77.10 kHz; pclk: 119.65 MHz
  Modeline "1152x864_85.00"  119.65  1152 1224 1352 1552  864 865 868 907  
-HSync +Vsync

 DisplaySize 322 241

EndSection

- - - - - - - - - - - - - - - - - - 

# Device configured by xorgconfig:

Section "Device"
    Identifier  "Radeon9200"
    Driver      "radeon"
    #VideoRam    131072
    # Insert Clocks lines here if appropriate
Option "UseEdidDpi"   "false"
Option "Dpi"          "91 x 91"

EndSection
I added the DisplaySize 322 241, Option "UseEdidDPI" "false" and Option "DPI" "91 x 91".
I think that the DPI option does not work properly, because no matter what i write dowon it is always the same. But when i start x with "startx -- -dpi 108" for expample, the fonts are bigger, with smaller setting the fonts are smaller.

Am i missing something?
I would like to have the fonts like they are in Windows or even better.

Thanks for your help.

Last edited by 12345; 02-17-2007 at 10:34 AM.
 
Old 02-17-2007, 10:59 AM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
Have a look at this.

Concerning the bytecode interpreter, for Slackware 11 at least, you can build it easily by using Pat's Slackbuild and uncommenting one single line.
 
Old 02-18-2007, 09:23 AM   #3
12345
Member
 
Registered: Jul 2006
Distribution: Slackware 12.1, Mint 4.0
Posts: 37

Original Poster
Rep: Reputation: 15
No matter what I do, Firefox refuses to show specified fonts. I want that every page shows its specified font type, so i didn't disable "allow documents to use other fonts". Google fonts are so small, that i can't even see what's written in bold. Linuxquestion fonts are too big,... Fonts in menus are distorted, especially X, C, Y.

I installed Firefox 2.0.0.1 from linuxpackages.

Is there a way to restore the original setting and original fonts?

thanks

Last edited by 12345; 02-18-2007 at 09:24 AM.
 
Old 02-18-2007, 09:59 AM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
I always use this howto for Slackware fonts.
 
Old 02-18-2007, 10:31 AM   #5
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
for GTK apps (ff for ex.) you can create/edit a .gtkrc-2.0 and add:
gtk-font-name = "Lucida Sans 9" (or any other fontname/size)
 
  


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
what's diference betwen core fonts and xft fonts? xcore_on Linux - Newbie 2 04-29-2006 09:11 PM
Fonts question: how to get a full list of fonts in Abiword vharishankar Linux - Software 1 03-17-2005 12:11 PM
fonts.scale/fonts.dir: Naming convention kaon Linux - General 0 08-09-2004 06:02 AM
Error: /etc/fonts/fonts.conf file? BearClaw Slackware 2 09-10-2003 03:44 PM
Any way to convert ttf fonts to linux console fonts? Glockage Linux - Software 7 12-30-2002 07:41 AM


All times are GMT -5. The time now is 08:54 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration