View previous topic :: View next topic |
Author |
Message |
NegaBenji Tux's lil' helper
Joined: 08 Jun 2004 Posts: 90
|
Posted: Sun Jun 27, 2004 12:05 am Post subject: Damn you, corefonts |
|
|
I emerged the corefonts package the other day (as well as the bitstream-vera one) and edited the two font conf files to include my new stuff. I restarted X (XFree that is) and re-opened Konqueror to see how things were going. And they were going good - EXCEPT for on one website in particular which now had horribly distorted fonts for the main text. I went back, commented out the corefonts directories in those 2 conf files, and restarted X - and they're still messed up.
I think it's using the Arial font, but it's doing a really bad job of antialiasing it, but I have smaller fonts which look fine, so I'm not about to go limiting AA below a certain point size. The sans font in Konq is set to Luxi, which looks fine everywhere else, but the page itself specifies Arial before sans-serif and I'm sure it's still in the system somehow. The whole concept of having to define font directories in multiple places confuses me anyway, so I probably missed something. What can I do to get things readable again? |
|
Back to top |
|
|
Jazz Guru
Joined: 16 Nov 2003 Posts: 543 Location: Melbourne, Australia
|
Posted: Sun Jun 27, 2004 7:32 am Post subject: |
|
|
Umm could u post the config files those u edited ? _________________ In 2010, M$ Windows will be a quantum processing emulation layer for a 128-bit mod of a 64-bit hack of a 32-bit patch to a 16-bit GUI for an 8-bit operating system written for a 4-bit processor from a 2-bit company that can't stand 1 bit of competition. |
|
Back to top |
|
|
NegaBenji Tux's lil' helper
Joined: 08 Jun 2004 Posts: 90
|
Posted: Sun Jun 27, 2004 6:58 pm Post subject: |
|
|
Ok - here's /etc/fonts/local.conf
Code: |
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file for local customizations -->
<fontconfig>
<!--
Enable sub-pixel rendering
<match target="font">
<edit name="rgba" mode="assign"><const>rgb</const></edit>
</match>
-->
<!--<dir>/usr/share/fonts/corefonts</dir> -->
</fontconfig>
|
And here's the relevant part of XF86Config
Code: |
# MS fonts
# FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
# FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
# FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
|
I've edited out the corefont directory lines... |
|
Back to top |
|
|
NegaBenji Tux's lil' helper
Joined: 08 Jun 2004 Posts: 90
|
Posted: Thu Jul 01, 2004 2:51 am Post subject: |
|
|
So nobody has any ideas here? |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Thu Jul 01, 2004 2:58 am Post subject: |
|
|
NegaBenji wrote: | So nobody has any ideas here? | It might be one of the TrueType or FreeFont fonts that you commented out... _________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
NegaBenji Tux's lil' helper
Joined: 08 Jun 2004 Posts: 90
|
Posted: Thu Jul 01, 2004 10:09 pm Post subject: |
|
|
That's the problem, after I emerged the fonts I had the issue so I commented them out to try and hide them from my system so they wouldn't be used (until I could fix things at least), but the weird font's still being used and all the MS fonts are available in any font dialogs.
I don't get why you have to add these font directories in the configuration files when they don't even seem to affect anything... |
|
Back to top |
|
|
30726 Veteran
Joined: 24 Sep 2003 Posts: 1501
|
Posted: Fri Jul 02, 2004 12:33 am Post subject: |
|
|
Did you comment it out in /etc/fonts/local.conf as well? Apps using fontconfig looks in there for fonts. |
|
Back to top |
|
|
NegaBenji Tux's lil' helper
Joined: 08 Jun 2004 Posts: 90
|
Posted: Sat Jul 03, 2004 1:02 am Post subject: |
|
|
Yeah, that's where my first code snippet is from. |
|
Back to top |
|
|
|