Jump to content

Poor serif fonts in Konqueror


kde-head
 Share

Recommended Posts

The Register looks very blocky in Konqueror (mandrake 10.1 - upgraded from 10.0).

 

blockyfonts.jpg

 

The font family being used in their stylesheet is

"font-family: Helvetica, Arial, sans-serif;"

 

Here's my font config.

fontconfig.jpg

 

I've recompiled and installed freetype with the Apple rendering algorithms switched on. Any pointers?

Link to comment
Share on other sites

Problem solved.

 

1. remove the xorg-x11-100dpi and xorg-x11-75dpi packages (they have crappy helvetica and serif fonts)

2. download and install the ms-font rpms from http://webperf.org/msfonts/

urpmi msfonts-1.2.1-1.noarch.rpm

urpmi msfonts-style-1.2.1-1.noarch.rpm

 

3. edit /etc/fonts/local.cf - add all of your font directories

here's mine:

 

<dir>/usr/share/fonts/msfonts</dir>

<dir>/usr/share/fonts/msfonts-style</dir>

<dir>/usr/share/fonts/default/ghostscript</dir>

<dir>/usr/share/fonts/ttf</dir>

<dir>/usr/share/fonts/ttf/western</dir>

<dir>/usr/share/fonts/freefont</dir>

<dir>/usr/share/fonts/Dustismo</dir>

<dir>/usr/share/fonts/ttf/decoratives</dir>

<dir>/usr/X11R6/lib/X11/fonts/msttcorefonts</dir>

<dir>/usr/local/share/fonts</dir>

<dir>/usr/share/fonts</dir>

<dir>/usr/X11R6/lib/X11/fonts</dir>

 

4. fc-cache -f -v

 

5. restart your window manager (ctrl+alt+backspace )

Voila! No more crappy fonts when looking at The Register in Konqueror:

good-fonts-at-last.jpg

 

Note that this problem occured when I upgraded via urpmi from 10.0 official to 10.1 official. Your mileage may vary.

Edited by kde-head
Link to comment
Share on other sites

I got the same problem and solved it by merely importing the ms fonts in kde control center>System>Font Installer. No further editing was necessary. It works pretty easy if you have windows installed on another partition.

 

do you import into fonts://personal?

 

i already have msfonts on my system - i downloaded rpms from here:

http://webperf.org/msfonts/

Link to comment
Share on other sites

do you import into fonts://personal?

 

No, I imported as root for system wide installation. I've done it twice now on two different boxes and it works like a charm. I created a subfolder in /usr/local/share/fonts/ttf called MSFonts and imported the ms fonts there.

Edited by pmpatrick
Link to comment
Share on other sites

  • 3 months later...

Just upgraded from Mandrake 9.0 -> 10.1 with fresh install! (I haven't used Mandrake for a long long long time :shocking: ).

 

Anyway the "usual" method for font import Configure your computer->system->fonts->import is very tedious and has to be done individually for each font unlike in the earlier version, where you could choose all the fonts and it it was imported. In my install of 10.1 the font importer hangs during the checking phase.

 

To get all my windows font from the Windows XP font folder working in this version of Mandrake I copied *.ttf from c:\windows\fonts to /usr/share/fonts/ttf/Windows, then ran Configure your computer->system->fonts. Al the copied fonts showed up.

 

All the fonts were recognized systemwide, and show up in Open Office, Firefox and Konqueror. So far these are the only programs I've cheked them with (too busy updating and trying to get my Nvidia card running stably :furious3: ). As a bonus it also cured my Firefox font problems.

 

Hoped that helped.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...