Find the answer to your Linux question:
Results 1 to 5 of 5
Hey, Today I installed Slackware 10.2 and am having a few difficulties, the main one for me now is the weird differences in font sizes which occurs, here's a screenshot: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Jun 2005
    Posts
    123

    Problem with various font sizes


    Hey,

    Today I installed Slackware 10.2 and am having a few difficulties, the main one for me now is the weird differences in font sizes which occurs, here's a screenshot:
    http://img97.imageshack.us/img97/724...lfonts18tq.jpg

    As I hope you can notice, fonts on a website are of a size I like but the size of the font in the URL Address Bar and "File", "Edit", ..., "Tools" is very small, too small.

    My resolution is 1024x768 which is what I'm used to.

    Here's the relevant parts of /etc/X11/xorg.conf:
    Code:
    Section "Monitor"
            #DisplaySize     340 270        # mm
            Identifier   "Monitor0"
            VendorName   "SAM"
            ModelName    "SyncMaster"
            HorizSync    30.0 - 71.0
            VertRefresh  50.0 - 160.0
            Option      "DPMS"
    EndSection
    Also, the font size in Konsole is too small.

    So, does anybody know how to solve this?

    Thanks in Advance
    Tom

  2. #2
    Just Joined!
    Join Date
    Nov 2004
    Location
    WGS84 phi = 45 48 31.7 lambda = 15 57 49.0
    Posts
    65
    First u should find out what is ur current resolution:
    Code:
    dodobas@server:~$ xdpyinfo |grep resolution
      resolution:    100x100 dots per inch
    U can modify ur DisplaySize var in 'xorg.conf' to set desired resoution.

    This formula is used for DisplaySize calculation

    (x_resolution* 25.4)/x_dpi = DisplaySize_X
    (y_resolution* 25.4)/y_dpi = DisplaySize_Y

    So in case u use 1280x1024 and want to have 100DPI, result is DisplaySize 325 260

    Also make sure u have 100dpi fonts installed.

  3. #3
    Linux Newbie
    Join Date
    Jun 2005
    Posts
    123
    Thanks

    Things look better now, much better

  4. #4
    Just Joined!
    Join Date
    Nov 2004
    Location
    WGS84 phi = 45 48 31.7 lambda = 15 57 49.0
    Posts
    65
    np, glad i've helpd

  5. #5
    Linux User Krendoshazin's Avatar
    Join Date
    Feb 2005
    Location
    London, England
    Posts
    471
    To change the font size of firefox:
    In ~/.mozilla/firefox, find your profile and cd to that directory, in my case it's vuw85emf.default, and in that directory cd to the directory chrome, so it's ~/.mozilla/firefox/vuw85emf.default/chrome .

    In this directory you should find a file called userContent-example.css, copy this as userChrome.css in the same directory, or from the default profile to your profile if it doesn't exist, and then add this code into it:

    Code:
    * {
    font-size: 5pt !important;
    font-family: Tahoma !important;
    }
    Change these to the required size and font and you'll be set to go, I find when I do this that the fonts in certain things on certain sites is out of aspect, so to sort this out we'll now need to, in the directory chrome, copy userContent-example.css to userContent.css and add the following code:

    Code:
    input, textarea, select, button,
    input[type="button"], input[type="reset"], input[type="submit"] {
    font-size: 6pt !important;
    font-family: Tahoma !important;
    }
    Again change these to the required size and font, firefox should now sorted out (this will also work for thunderbird). Konsole font can be changed simply from the right-click menu of the program. I've done all this myself as I use 2048x1536, I tend to prefer small anti-aliased fonts, so you should have no problem with this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •