Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Crappy fonts in Firefox [solved]

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
15 posts • Page 1 of 1
Author
Message
MattSharp
Apprentice
Apprentice
Posts: 258
Joined: Fri Aug 15, 2003 6:35 pm

Crappy fonts in Firefox [solved]

  • Quote

Post by MattSharp » Sun Jun 06, 2004 10:07 pm

A lot of the text in firefox looks crappy.

Here is a screenshot example: http://mattsharp.pazoles.com/badfont.jpg

Has anyone seen this problem before or know what is wrong?
Last edited by MattSharp on Mon Jun 07, 2004 5:23 am, edited 1 time in total.
Top
syscrash
Guru
Guru
User avatar
Posts: 541
Joined: Mon Apr 14, 2003 12:43 am
Contact:
Contact syscrash
Website

  • Quote

Post by syscrash » Sun Jun 06, 2004 10:27 pm

Do you have the corefonts installed? Are you using XFS?

Code: Select all

# ACCEPT_KEYWORDS="~x86" emerge corefonts
And make sure that your fontpaths are set up (to include the location of the newly installed corefonts). The fontpaths should be set in

Code: Select all

/etc/X11/XF86Config
and also in

Code: Select all

/etc/fonts/fonts.conf
Also run

Code: Select all

# ttmkfdir
In the directory that the corefonts install to (i'm not exactly sure, heh).
Good luck!
Top
argasek
Bodhisattva
Bodhisattva
User avatar
Posts: 1121
Joined: Thu May 06, 2004 2:21 pm
Location: Sol [0,0], Poland, Kraków
Contact:
Contact argasek
Website

  • Quote

Post by argasek » Sun Jun 06, 2004 11:02 pm

I have posted some kind of solution (but I don't know if You've got the same problem as me) in this thread. It's in Polish, but You should get the idea ;-)
RLU #137109 | http://soundcloud.com/argasek
Top
aethyr
Veteran
Veteran
User avatar
Posts: 1085
Joined: Sun Apr 06, 2003 5:16 pm
Location: NYC

  • Quote

Post by aethyr » Mon Jun 07, 2004 3:50 am

syscrash2k wrote:Do you have the corefonts installed? Are you using XFS?
Ugh, you don't need corefonts, nor XFS. I don't know why people keep recommending XFS. It hasn't been needed for a long time (over two years) to get good fonts. You really don't need corefonts either if you have the truetype USE flag set. If you look at the ebuild (for xfree 4.3 at least), you'll see it does the following:

Code: Select all

### SAMPLE FROM EBUILD:
        if use truetype && use !bindist
        then
                einfo "Unpacking MS Core Fonts..."
                mkdir -p ${WORKDIR}/truetype; cd ${WORKDIR}/truetype
                for x in ${MS_COREFONTS}
                do
                        if [ -f ${DISTDIR}/${x} ]
                        then
                                einfo "  ${x/\.\/}..."
                                cabextract --lowercase ${DISTDIR}/${x} > /dev/null || die
                        fi
                done
                ebegin "Done unpacking Core Fonts"; eend 0
        fi
Top
MattSharp
Apprentice
Apprentice
Posts: 258
Joined: Fri Aug 15, 2003 6:35 pm

  • Quote

Post by MattSharp » Mon Jun 07, 2004 5:22 am

XFS was already installed. Just forgot to put the truetype directory in my fonts.conf.

Thansk though....
Top
syscrash
Guru
Guru
User avatar
Posts: 541
Joined: Mon Apr 14, 2003 12:43 am
Contact:
Contact syscrash
Website

  • Quote

Post by syscrash » Mon Jun 07, 2004 10:18 pm

aethyr wrote:
syscrash2k wrote:Do you have the corefonts installed? Are you using XFS?
Ugh, you don't need corefonts, nor XFS. I don't know why people keep recommending XFS. It hasn't been needed for a long time (over two years) to get good fonts. You really don't need corefonts either if you have the truetype USE flag set. If you look at the ebuild (for xfree 4.3 at least), you'll see it does the following:

Code: Select all

### SAMPLE FROM EBUILD:
        if use truetype && use !bindist
        then
                einfo "Unpacking MS Core Fonts..."
                mkdir -p ${WORKDIR}/truetype; cd ${WORKDIR}/truetype
                for x in ${MS_COREFONTS}
                do
                        if [ -f ${DISTDIR}/${x} ]
                        then
                                einfo "  ${x/\.\/}..."
                                cabextract --lowercase ${DISTDIR}/${x} > /dev/null || die
                        fi
                done
                ebegin "Done unpacking Core Fonts"; eend 0
        fi
I never recommended XFS, I was asking if he was using it... :roll:
Top
aethyr
Veteran
Veteran
User avatar
Posts: 1085
Joined: Sun Apr 06, 2003 5:16 pm
Location: NYC

  • Quote

Post by aethyr » Mon Jun 07, 2004 10:24 pm

syscrash2k wrote:I never recommended XFS, I was asking if he was using it... :roll:
Sorry :( It's just annoying to see XFS still being recommended (in other places, not necessarily by you) two years after it's no longer needed. Of course XFS does still serve a purpose (surving fonts to remote machines), but on local machines, 9 times out of 10 it is unnecessary.
Top
searcher
Apprentice
Apprentice
User avatar
Posts: 175
Joined: Thu Mar 13, 2003 9:55 pm
Location: NL

  • Quote

Post by searcher » Mon Jun 07, 2004 10:34 pm

aethyr wrote:Sorry :( It's just annoying to see XFS still being recommended (in other places, not necessarily by you) two years after it's no longer needed.
Not to take this thread too far from the road (off-topic) but why wouldn't i want to use xfs? I always found the standard way of putting fonts in the xorg.conf (XFree86config) to look ugly and not anti-aliased. This influenced my decision to use xfs instead of just a FontPath entry.

~searcher
You are unique ... just like everyone else.
Top
aethyr
Veteran
Veteran
User avatar
Posts: 1085
Joined: Sun Apr 06, 2003 5:16 pm
Location: NYC

  • Quote

Post by aethyr » Mon Jun 07, 2004 10:48 pm

searcher wrote:I always found the standard way of putting fonts in the xorg.conf (XFree86config) to look ugly and not anti-aliased. This influenced my decision to use xfs instead of just a FontPath entry.
That definately used to be true. Originally anti-aliasing was only supported through XFS. But since XFree 4.something you can get good fonts without it.
Top
dedeaux
Apprentice
Apprentice
User avatar
Posts: 183
Joined: Wed Jun 19, 2002 9:17 pm
Location: Nairobi, Kenya

peaked my interest

  • Quote

Post by dedeaux » Mon Jun 07, 2004 11:18 pm

can someone point to some definative information and guide(s) to get good looking fonts then. I have a gentoo system and notice that xfs is indeed serving up my fonts. I would love to try something different. Firefox does have poor fonts.

Mentioned in this thread was to put truetype in your use statement. So, what then needs to be recompiled to get this working without xfs?

thanks...
Top
aethyr
Veteran
Veteran
User avatar
Posts: 1085
Joined: Sun Apr 06, 2003 5:16 pm
Location: NYC

Re: peaked my interest

  • Quote

Post by aethyr » Tue Jun 08, 2004 5:34 am

dedeaux wrote:Mentioned in this thread was to put truetype in your use statement. So, what then needs to be recompiled to get this working without xfs?
Truetype might be in your USE flags already (emerge -pv xfree). Anyways, if you post your XF86Config file down to EndSection below Section "Module" I can show you what you need to change.
Top
dedeaux
Apprentice
Apprentice
User avatar
Posts: 183
Joined: Wed Jun 19, 2002 9:17 pm
Location: Nairobi, Kenya

Re: peaked my interest

  • Quote

Post by dedeaux » Tue Jun 08, 2004 11:13 am

aethyr wrote:Truetype might be in your USE flags already (emerge -pv xfree). Anyways, if you post your XF86Config file down to EndSection below Section "Module" I can show you what you need to change.
Ok... Thanks...

Code: Select all

emerge -pv xorg-x11

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[blocks B     ] x11-base/xfree (from pkg x11-base/xorg-x11-6.7.0)
[ebuild   R   ] x11-base/xorg-x11-6.7.0  -3dfx -3dnow -cjk -debug -doc -hardened -ipv6 -mmx +nls +pam -pie -sdk -sse -static  71,900 kB
Then from the /etc/X11/xorg.conf:

Code: Select all

Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
        Load  "ddc"
#       Load  "pex5"
#       Load  "xie"
        Load  "bitmap"
        Load  "vbe"
        Load  "int10"
        Load  "glx"
        Load  "record"
        Load  "extmod"
        Load  "dbe"
#       Load  "dri"
        Load  "xtrap"
        Load  "type1"
        Load  "speedo"
        Load  "freetype"
        Load  "synaptics"
EndSection
As a side note... in the past I have attempted to rip ttf collections from windows or cool fonts from live cd distros, but have always failed to get them to work. I usually created a directory, say, /usr/share/fonts/ttf and then add that to the xorg.conf, but never had them available.
Top
aethyr
Veteran
Veteran
User avatar
Posts: 1085
Joined: Sun Apr 06, 2003 5:16 pm
Location: NYC

Re: peaked my interest

  • Quote

Post by aethyr » Tue Jun 08, 2004 12:07 pm

Hm, it doesn't look like you're running xfs at all to me, because I think you need to have something like

Code: Select all

FontPath "unix/:-1"
if that was the case. I also noticed that the xorg ebuild changed how fonts are handled (i.e. no more truetype useflag). I don't know how much I can help you since I don't use xorg, I know they changed around their directory structure. As far as I can tell though, you're not using xfs.

I do know if you're not using xfs, it will default to the order of fonts:

Code: Select all

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/truetype"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
EndSection
So in this case, programs will use truetype fonts first if they're available.
Top
dedeaux
Apprentice
Apprentice
User avatar
Posts: 183
Joined: Wed Jun 19, 2002 9:17 pm
Location: Nairobi, Kenya

  • Quote

Post by dedeaux » Tue Jun 08, 2004 1:20 pm

cool

Then I guess I will work at getting the font I want working under gnome. I noticed I had xfs running on boot, so I removed it with rc-update.
Top
syscrash
Guru
Guru
User avatar
Posts: 541
Joined: Mon Apr 14, 2003 12:43 am
Contact:
Contact syscrash
Website

  • Quote

Post by syscrash » Tue Jun 08, 2004 8:51 pm

I think that the only thing that XFS would be useful for on single systems (not sharing fonts) would be the management of X server config files (makes it easier than having to add your fontpaths everytime you make a new config).
Top
Post Reply

15 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic