WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] Change font size?  (Read 4175 times)

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
[SOLVED] Change font size?
« on: December 10, 2009, 04:37:36 PM »
I am using tcl in 2 'modes' so to speak; with my netbook with attached widescreen, I have to use Xorg, while on the move (nomadic) I use my USB drive but with Xvesa.

Everything else is identical. In Xorg, my screen fonts are rather huge so that the window titles can't fit in the title bar. With Xvesa, it tens to the opposite.

How Do I adjust font size? I use jwm-snapshot; I have tried editing some of the font settings in jwm-theme but it has absolutely no effect except perhaps not to load at all.

Help please?
« Last Edit: December 19, 2009, 07:10:07 AM by jur »

Offline JoXo009

  • Full Member
  • ***
  • Posts: 152
Re: Change font size?
« Reply #1 on: December 11, 2009, 08:44:18 AM »
Quote from: jur
... Xorg ... Xvesa.
Everything else is identical. In Xorg, my screen fonts are rather huge
I experienced the same strange behaviour with icewm as window manager.

As workaround I selected font size 10 when Xorg is active and font size 12 for Xvesa.

Maybe somebody knows a native Xorg/Xvesa solution creating same font size without the need of patching the results.


Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Change font size?
« Reply #2 on: December 18, 2009, 04:40:10 PM »
Use the dpi option of both X servers.
The only barriers that can stop you are the ones you create yourself.

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: Change font size?
« Reply #3 on: December 18, 2009, 05:37:19 PM »
Use the dpi option of both X servers.
I have messed around quite a bit with dpi in Xorg with zero effect - it seems as if the settings are just ignored. (The Xvesa font size is just what I want so I am leaving that alone.)

This is what Itried in xorg.conf:
Code: [Select]
Section "Monitor"
Identifier   "Monitor0"
VendorName   "GSM"
ModelName    "W2043"
### Comment all HorizSync and VertRefresh values to use DDC:
Option     "DPMS"
HorizSync    30.0-83.0
VertRefresh  56.0-71.0
#UseModes     "Modes0" #monitor0usemodes
Option      "PreferredMode" "1600x900"
# DisplaySize   400   225 # mm
# Option         "DPI" "100 x 100"
EndSection
with the last 2 lines used in all combinations. Nada. I think I also had one of them in another section with zero effect.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Change font size?
« Reply #4 on: December 19, 2009, 04:07:16 AM »
I'm not sure xorg.conf takes a DPI option, at least the man page doesn't mention it; try Xorg too with the -dpi option.
The only barriers that can stop you are the ones you create yourself.

Offline Onyarian

  • Sr. Member
  • ****
  • Posts: 337
Re: Change font size?
« Reply #5 on: December 19, 2009, 05:22:25 AM »
Perhaps goes if you put in /home/tc/.xsession as first line:

/usr/local/bin/Xorg -dpi 100 -nolisten tcp -I 2>&1 > /dev/null &


Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: Change font size?
« Reply #6 on: December 19, 2009, 07:10:45 AM »
Perhaps goes if you put in /home/tc/.xsession as first line:

/usr/local/bin/Xorg -dpi 100 -nolisten tcp -I 2>&1 > /dev/null &



Many thanks, this fixed it!