LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Looking for decent fonts for Firefox and KDE (http://www.linuxquestions.org/questions/slackware-14/looking-for-decent-fonts-for-firefox-and-kde-4175437729/)

eoniq 11-18-2012 07:11 PM

Looking for decent fonts for Firefox and KDE
 
I'm looking for help on configuring fonts for Firefox and System.
Firefox fonts are tiny and ugly.
My eyes hurt from reading websites.
System fonts in KDE and GTK+ applications look bad as well.

Which fonts should I use in Firefox and in KDE and GTK+ to make a pleasant and uniform experience?

Daedra 11-18-2012 07:18 PM

If your fonts are tiny if could be because your font dpi is to low. what is the output of

xdpyinfo | grep resolution

for firefox try installing the webcore-fonts package over www.slackbuilds.org

eoniq 11-18-2012 08:19 PM

Sorry should of been more specific.
Fonts are not always tiny.
Some pages have normal font size but fonts look ugly.
Some pages has mix of tiny fonts and large fonts.
Some pages have tiny fonts on whole page.
xdpyinfo | grep resolution
mresolution: 96x96 dots per inch

firefox about:config has layout.css.dpi set to -1

I'm installing webcore-fonts now.

tronayne 11-19-2012 07:30 AM

Do you have a PC laying around doing nothing? Or, if you're downloading fonts from somewhere or other where do you put them?

I put non-distribution fonts in /usr/local/share/fonts:
Code:

ls /usr/local/share/fonts
Adobe/  Interstate/  MSfonts/  myfonts/

Adobe is the Adobe font library (you probably don't want to buy those but I did some years ago), Interstate is a group of fonts that are US standard fonts for highways, MSfonts are all the TTF files from a Windows box, and myfonts are some specials I picked up here and there.

When you copy any fonts into /usr/local/share/fonts/dirname, you want to manually get into "dirname" and run mkfontscale followed by mkfontdir for PostScript fonts or TTF fonts; be sure to keep like fonts in different directories, something like the following.

To make use of these (on pretty much everything you use expect console) you add this to /etc/fonts/local.conf:
Code:

cat /etc/fonts/local/conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file to configure system font access -->
<fontconfig>
        <dir>/usr/local/share/fonts/Adobe</dir>
        <dir>/usr/local/share/fonts/MSfonts</dir>
        <dir>/usr/local/share/fonts/myfonts</dir>
        <dir>/usr/local/share/fonts/Interstate</dir>
</fontconfig>

You have to restart X.

You'll be amazed at what shows up in fonts lists in OpenOffice or LibreOffice, Firefox and who knows what all.

Thing is, we have to exist in a winders world. Far too many web pages define fonts that are standard equipment on Windows (like, ugh, Arial). Can't hurt, might help.

Hope this helps some.


All times are GMT -5. The time now is 11:53 AM.