1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Increasing font size

Discussion in 'X.Org' started by Poincare, Jul 18, 2009.

  1. Poincare

    Poincare New Member

    Messages:
    24
    Thanks Received:
    0
    I installed xorg and it working great except for one very crucial thing. The font size is miniscule. My eyes have almost popped out trying to read the letters! Any tips on how to increase the font size?
     
  2. aragon

    aragon New Member

    Messages:
    2,031
    Thanks Received:
    252
    It would be helpful if you tell us what window manager and/or desktop environment you're running.
     
  3. phoenix

    phoenix Moderator Staff Member Moderator

    Messages:
    3,450
    Thanks Received:
    770
    Also, what size of monitor, and what screen resolution you are using.

    Most likely, all you need to do is change the DPI settings in X to match the real dimensions of your monitor/resolution.
     
  4. setti

    setti New Member

    Messages:
    65
    Thanks Received:
    0
    Yah great question, I want also know how can we increase font. Actually I am under freebsd 7.1 release that running X11R6 + motif WM.

    Best regards
     
  5. aragon

    aragon New Member

    Messages:
    2,031
    Thanks Received:
    252
    It's a fairly open ended question. Different X11 toolkits, Window managers, and applications handle fonts differently. For example, with GTK 2 the default font can be set in ~/.gtkrc-2.0 as follows:

    Code:
    gtk-font-name="Tahoma 8"
    


    Which would set the default font to Tahoma at 8pt size. Only GTK apps would follow that, and a GTK theme might override it.

    In Firefox, you can setup your fonts in Preferences/Content.

    In desktop environments like Gnome and KDE there'll be a control panel app that lets you specify this.

    There are ways of creating overrides low down in the font rendering engine by setting up fonts.conf appropriately. See fonts-conf(5) for more information.

    Unfortunately I can't help with Motif.
     
  6. Poincare

    Poincare New Member

    Messages:
    24
    Thanks Received:
    0
    I don't have a window manager or desktop manager. Just xorg to open firefox and wireshark. I think my monitor is 19'' but I can't be sure since I bought from a yard sale and I never got a handbook or anything.
     
  7. vermaden

    vermaden Well-Known Member

    Messages:
    2,364
    Thanks Received:
    677
    Type about:config in Firefox address bar and search for DPI setting, I use 75/72, but if you need bigger sizes try increasing it to something like 96.

    Also you can select default X11 DPI by starting it like that: xinit -- -dpi 75
     
  8. Poincare

    Poincare New Member

    Messages:
    24
    Thanks Received:
    0
    What about xterm? Those fonts are reeeealy small.
     
  9. aragon

    aragon New Member

    Messages:
    2,031
    Thanks Received:
    252
    xterm is configured via Xresources. Add something like this to your ~/.Xdefaults:

    Code:
    xterm*faceName: Monospace:size=10