Unix Technical Forum

Default font size in X

This is a discussion on Default font size in X within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Sorry, this is slighly OT I know, but I wonder if anyone here knows of a way to alter ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 05:58 AM
Anthony Campbell
 
Posts: n/a
Default Default font size in X


Sorry, this is slighly OT I know, but I wonder if anyone here knows of a
way to alter the default size of fonts in X? I am using 1600x1200 and
some apps, e.g. xsane, have very small menus at this resolution. Of
course I could use a lower resolution but I wonder if there is any way
to increase the default size? xfs perhaps?

A.


--
Using Linux GNU/Debian - Windows-free zone
http://www.acampbell.org.uk (book reviews and articles)
Email: replace "www." with "ac@"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 05:59 AM
justlinux@sympatico.ca
 
Posts: n/a
Default Re: Default font size in X

Anthony Campbell <me@privacy.net> wrote:

> Sorry, this is slighly OT I know, but I wonder if anyone here knows of a
> way to alter the default size of fonts in X? I am using 1600x1200 and
> some apps, e.g. xsane, have very small menus at this resolution. Of
> course I could use a lower resolution but I wonder if there is any way
> to increase the default size? xfs perhaps?


startx --dpi 100 (or whatever number works best)

see man startx for details.

cordially, as always,

rm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 05:59 AM
justlinux@sympatico.ca
 
Posts: n/a
Default Re: Default font size in X

justlinux@sympatico.ca wrote:
> Anthony Campbell <me@privacy.net> wrote:


> > Sorry, this is slighly OT I know, but I wonder if anyone here knows of a
> > way to alter the default size of fonts in X? I am using 1600x1200 and
> > some apps, e.g. xsane, have very small menus at this resolution. Of
> > course I could use a lower resolution but I wonder if there is any way
> > to increase the default size? xfs perhaps?


> startx --dpi 100 (or whatever number works best)


Actually that should be: startx -- -dpi 100

Forgot the extra dash.

> see man startx for details.


> cordially, as always,


> rm

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 05:59 AM
Anthony Campbell
 
Posts: n/a
Default Re: Default font size in X

On 2003-12-25, justlinux@sympatico.ca <justlinux@sympatico.ca> wrote:
> justlinux@sympatico.ca wrote:
>> Anthony Campbell <me@privacy.net> wrote:

>
>> > Sorry, this is slighly OT I know, but I wonder if anyone here knows of a
>> > way to alter the default size of fonts in X? I am using 1600x1200 and
>> > some apps, e.g. xsane, have very small menus at this resolution. Of
>> > course I could use a lower resolution but I wonder if there is any way
>> > to increase the default size? xfs perhaps?

>
>> startx --dpi 100 (or whatever number works best)

>
> Actually that should be: startx -- -dpi 100
>
> Forgot the extra dash.
>
>> see man startx for details.

>
>> cordially, as always,

>
>> rm


Yes, indeed, thank you; I should have thought of that!

A.


--
Using Linux GNU/Debian - Windows-free zone
http://www.acampbell.org.uk (book reviews and articles)
Email: replace "www." with "ac@"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 08:02 AM
bryans
 
Posts: n/a
Default Re: Default font size in X

On Thu, 25 Dec 2003 09:55:05 +0000, Anthony Campbell wrote:

>
> Sorry, this is slighly OT I know, but I wonder if anyone here knows of a
> way to alter the default size of fonts in X? I am using 1600x1200 and
> some apps, e.g. xsane, have very small menus at this resolution. Of
> course I could use a lower resolution but I wonder if there is any way
> to increase the default size? xfs perhaps?
>
> A.

im having a similar problem. in KDE some fonts for certain progz like the
tool bar for mozilla, foxfire, and my gaim messenger window are way
small. I have my system start in x and read that i should make a change
to /etc/X11/xdm/Xservers to the line
" :0 local /usr/X11R6/bin/X -dpi 120 -gamma 1.6 "
is this correct, because I still see no change
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 08:02 AM
steelneck
 
Posts: n/a
Default Re: Default font size in X

bryans wrote:
> On Thu, 25 Dec 2003 09:55:05 +0000, Anthony Campbell wrote:
>
>
>>Sorry, this is slighly OT I know, but I wonder if anyone here knows of a
>>way to alter the default size of fonts in X? I am using 1600x1200 and
>>some apps, e.g. xsane, have very small menus at this resolution. Of
>>course I could use a lower resolution but I wonder if there is any way
>>to increase the default size? xfs perhaps?
>>
>>A.

>
> im having a similar problem. in KDE some fonts for certain progz like the
> tool bar for mozilla, foxfire, and my gaim messenger window are way
> small. I have my system start in x and read that i should make a change
> to /etc/X11/xdm/Xservers to the line
> " :0 local /usr/X11R6/bin/X -dpi 120 -gamma 1.6 "
> is this correct, because I still see no change



Had the same problem, somebody has fucked up the
fonts, i dont know if it is Mozilla or the Xfree
gang to blame. You can get it better by
export GDK_USE_XFT=1 in your profile, but if that
helps for KDE.. i don't know. It also makes all
TT-fonts unaccessible. But it is better than
this mess (small shots from different browsers
showing a testcase):
http://w1.970.telia.com/~u97007522/t.../testcase.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-19-2008, 08:02 AM
steelneck
 
Posts: n/a
Default Re: Default font size in X

steelneck wrote:
> >

> Had the same problem, somebody has fucked up the
> fonts, i dont know if it is Mozilla or the Xfree
> gang to blame. You can get it better by
> export GDK_USE_XFT=1 in your profile, but if that
> helps for KDE.. i don't know. It also makes all
> TT-fonts unaccessible. But it is better than
> this mess (small shots from different browsers
> showing a testcase):
> http://w1.970.telia.com/~u97007522/t.../testcase.html


Sorry, it should be
export GDK_USE_XFT=0
of course.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-19-2008, 08:02 AM
Joost Kremers
 
Posts: n/a
Default Re: Default font size in X

steelneck wrote:
> Had the same problem, somebody has fucked up the
> fonts, i dont know if it is Mozilla or the Xfree
> gang to blame. You can get it better by
> export GDK_USE_XFT=1 in your profile, but if that
> helps for KDE.. i don't know. It also makes all
> TT-fonts unaccessible. But it is better than
> this mess (small shots from different browsers
> showing a testcase):
> http://w1.970.telia.com/~u97007522/t.../testcase.html


well, it shows up fine (i mean the one all the way at the bottom) in my
self-compiled MozillaFirebird 0.7, *with* xft-support. the line with w's
fits nicely inside the box.

--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-19-2008, 08:02 AM
Paul
 
Posts: n/a
Default Re: Default font size in X

bryans wrote:
..
> im having a similar problem. in KDE some fonts for certain progz like the
> tool bar for mozilla, foxfire, and my gaim messenger window are way
> small. I have my system start in x and read that i should make a change
> to /etc/X11/xdm/Xservers to the line
> " :0 local /usr/X11R6/bin/X -dpi 120 -gamma 1.6 "
> is this correct, because I still see no change


Have you tried specifying the physical size of your display in XF86Config?
e.g.

Section "Monitor"
Identifier "Hansol"
VendorName "Hansol"
DisplaySize 320 240

Using a screen resolution of 1152x864 I find in my XFree86.0.log that the
DPI gets calculated:

(**) FBDEV(0): Display dimensions: (320, 240) mm
(**) FBDEV(0): DPI set to (91, 91)


--
Paul

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-19-2008, 08:02 AM
Joost Kremers
 
Posts: n/a
Default Re: Default font size in X

bryans wrote:
> im having a similar problem. in KDE some fonts for certain progz like the
> tool bar for mozilla, foxfire, and my gaim messenger window are way
> small. I have my system start in x and read that i should make a change
> to /etc/X11/xdm/Xservers to the line
> " :0 local /usr/X11R6/bin/X -dpi 120 -gamma 1.6 "
> is this correct, because I still see no change


i can't find anything about foxfire, but mozilla and gaim are gtk
apps. perhaps there is some gtk setting that is wrong? or if you use xft,
you can check /etc/fonts, which contains font settings.

a google search for either of these might tell you more.

--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:26 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com