Jump to content

X Window System 100dpi fonts


k6h
 Share

Recommended Posts

Is it resolution (e.g. 1280 1024) or monitor display size in mm ?

X always comes with two sets of basic fonts 75dpi and 100dpi, roughly corresponding to 75dpi and 96dpi screen resolution. These fonts are used by GNU apps, such as xedit, emacs, etc, and they cannot be controlled through Gnome or KDE control center. If you don't use those apps, you don't need to worry about that. If you do, you can switch from 75dpi to 100dpi fonts by editing /etc/X11/fs/config. First, swap over the lines,

        /usr/X11R6/lib/X11/fonts/100dpi:unscaled,
       /usr/X11R6/lib/X11/fonts/75dpi:unscaled,

they should appear in exactly this order. Also, change

# 100 x 100 and 75 x 75
default-resolutions = 75,75,100,100

to

# 100 x 100 and 75 x 75
default-resolutions = 100,100,75,75

Restart X font server

# xset fp rehash
# service xfs restart

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...