Does anybody know how to change font size in yast2? For some reason, font is ridiculously small in all yast2 windows on one of my 9.0 installations. Thanks, -Kastus
Kastus wrote:
Does anybody know how to change font size in yast2? For some reason, font is ridiculously small in all yast2 windows on one of my 9.0 installations.
Before fiddling with fonts themselves, you may want to check whether DPI is appropriately set for your screen resolution and display size. At the config file level, the basic setting is controlled by DisplaySize mmW mmH in 'Section "Monitor"' in /etc/X11/XF86Config. The result of this setting will be shown in KDE Info Center -> X-Server as resolution, screen size & DPI. Once this setting is suited to your needs for the programs/utilities it applies to, /etc/X11/Xresources needs a matching DPI setting for XFT apps, such as 'XFT.dpi: 108' if that's what the info center shows. Only after setting these is it a good idea to tweak particular desktop settings. -- "Surely God would not have created such a being as man to exist only a day! No, no, man was made for immortality." President Abraham Lincoln Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://members.ij.net/mrmazda/
On Sun, Mar 28, 2004 at 09:25:52PM -0500, Felix Miata wrote:
Before fiddling with fonts themselves, you may want to check whether DPI is appropriately set for your screen resolution and display size.
That was probably the biggest contributing factor. I followed recommendations in http://portal.suse.com/sdb/en/2002/06/mfabian_display_size.html and added DisplaySize with proper dimensions to the monitor section of XF86Config. My aging NEC MultiSync is not DDC compliant, apparently.
At the config file level, the basic setting is controlled by DisplaySize mmW mmH in 'Section "Monitor"' in /etc/X11/XF86Config. The result of this setting will be shown in KDE Info Center -> X-Server as resolution, screen size & DPI.
The problem is that I am not using KDE, I am running windowmaker, so KDE Info Center is unfortunately useless in my case. I used xdpyinfo to find out mismatch (not so big actually, ~10%) in dimensions.
Once this setting is suited to your needs for the programs/utilities it applies to, /etc/X11/Xresources needs a matching DPI setting for XFT apps, such as 'XFT.dpi: 108' if that's what the info center shows.
Where do I put this XFT.dpi setting? Currently, /etc/X11/Xresources has no XFT entries.
Only after setting these is it a good idea to tweak particular desktop settings.
But where do I tweak them if I am not using KDE? Thanks, -Kastus
Kastus wrote:
On Sun, Mar 28, 2004 at 09:25:52PM -0500, Felix Miata wrote:
Before fiddling with fonts themselves, you may want to check whether DPI is appropriately set for your screen resolution and display size.
That was probably the biggest contributing factor.
I followed recommendations in http://portal.suse.com/sdb/en/2002/06/mfabian_display_size.html and added DisplaySize with proper dimensions to the monitor section of XF86Config. My aging NEC MultiSync is not DDC compliant, apparently.
That page is rather old being for 8.0. I don't know if much of anything was using xft back then. Pretty soon everything that isn't already will be.
At the config file level, the basic setting is controlled by DisplaySize mmW mmH in 'Section "Monitor"' in /etc/X11/XF86Config. The result of this setting will be shown in KDE Info Center -> X-Server as resolution, screen size & DPI.
The problem is that I am not using KDE, I am running windowmaker, so KDE Info Center is unfortunately useless in my case.
I used xdpyinfo to find out mismatch (not so big actually, ~10%) in dimensions.
I'm pretty sure all KDE info center is doing is extracting some xdpyinfo output for display in convenient format.
Once this setting is suited to your needs for the programs/utilities it applies to, /etc/X11/Xresources needs a matching DPI setting for XFT apps, such as 'XFT.dpi: 108' if that's what the info center shows.
Where do I put this XFT.dpi setting? Currently, /etc/X11/Xresources has no XFT entries.
If there is no existing entry, just make it the last line, but using the DPI number shown by xdpyinfo. Xft.dpi: rather than XFT.dpi: is the correct parameter if case actually matters.
Only after setting these is it a good idea to tweak particular desktop settings.
But where do I tweak them if I am not using KDE?
Dunno the "correct" place, but after matching XFT.dpi to the xdpyinfo dpi you may not need to. There's no reason you have to use the actual measured dimensions of your display in XF86Config. You can move the DPI in there and Xresources up or down to suit your taste in overall font sizes. On 17" I generally use at least 108, often 120, sometimes 132 at 1280x960. Windoze defaults to 96, providing selectable options up to 192. My sister uses 192 on a 1600x1200 19" display on W2K. I always use increments of 4 based from 72 when making these DPI adjustments. I'm not sure whether the font servers can be expected to produce consistent increments/decrements from size to size if you use less, at least with larger numbers, 100 and above. -- "Surely God would not have created such a being as man to exist only a day! No, no, man was made for immortality." President Abraham Lincoln Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://members.ij.net/mrmazda/
On Sun, Mar 28, 2004 at 10:54:03PM -0500, Felix Miata wrote:
That page is rather old being for 8.0.
My monitor is much older :-). But they way of setting screen dimensions is still correct.
If there is no existing entry, just make it the last line, but using the DPI number shown by xdpyinfo. Xft.dpi: rather than XFT.dpi: is the correct parameter if case actually matters.
Case probably matters, but I didn't see any difference running X with Xft:dpi in Xresources or without.
Dunno the "correct" place, but after matching XFT.dpi to the xdpyinfo dpi you may not need to.
Well, yast2 looks much better now, but still is there a way to change font size that it uses? (without affecting *all* other applications)
There's no reason you have to use the actual measured dimensions of your display in XF86Config. You can move the DPI in there and Xresources up or down to suit your taste in overall font sizes. On 17" I generally use at least 108, often 120, sometimes 132 at 1280x960. Windoze defaults to 96, providing selectable options up to 192. My sister uses 192 on a 1600x1200 19" display on W2K.
I always use increments of 4 based from 72 when making these DPI adjustments. I'm not sure whether the font servers can be expected to produce consistent increments/decrements from size to size if you use less, at least with larger numbers, 100 and above.
Interesting. I will try different setting for Xft.dpi. Thanks much for your help! -Kastus
Kastus wrote:
Does anybody know how to change font size in yast2? For some reason, font is ridiculously small in all yast2 windows on one of my 9.0 installations.
Thanks, -Kastus
Hi Kastus, If you're talking about Yast2 windows as they are displayed on your desktop, and assuming you're using KDE as your window manager, select 'K', scroll up to Settings, select Control Center, expand Appearance & Themes, select Fonts and adjust as needed. regards, - Carl - - - - - - - - - - - - - - - - - - - - - - - - - - - C. E. Hartung Business Development & Support Services Dover Foxcroft, Maine http://www.cehartung.com "Jello is never very interesting until it is set and sure of itself."
On Sun, Mar 28, 2004 at 08:40:49PM -0800, Carl Hartung wrote:
If you're talking about Yast2 windows as they are displayed on your desktop,
Yes, that's what I am asking about
and assuming you're using KDE as your window manager,
No, I'm using windowmaker
select 'K', scroll up to Settings, select Control Center, expand Appearance & Themes, select Fonts and adjust as needed.
Unfortunately, I cannot use KDE Control Center in windowmaker. Thanks anyway, -Kastus
Kastus wrote:
On Sun, Mar 28, 2004 at 08:40:49PM -0800, Carl Hartung wrote:
If you're talking about Yast2 windows as they are displayed on your desktop,
Yes, that's what I am asking about
and assuming you're using KDE as your window manager,
No, I'm using windowmaker
select 'K', scroll up to Settings, select Control Center, expand Appearance & Themes, select Fonts and adjust as needed.
Unfortunately, I cannot use KDE Control Center in windowmaker.
Thanks anyway, -Kastus
You're welcome, and I'm glad to see a prompt/accurate solution emerging. If you wouldn't mind (and pardon the pun,) I'm curious to know how one causes these settings to be 'out of sync' with one's monitor? Doesn't the system calculate an appropriate dpi based upon the display properties passed to it during installation? How can I avoid this? regards, - Carl - - - - - - - - - - - - C. E. Hartung Business Development & Support Services Dover Foxcroft, Maine http://www.cehartung.com "Jello is never very interesting until it is set and sure of itself."
On Sun, Mar 28, 2004 at 10:26:18PM -0800, Carl Hartung wrote:
If you wouldn't mind (and pardon the pun,) I'm curious to know how one causes these settings to be 'out of sync' with one's monitor?
My 10+ years old NEC monitor does not support DDC, as I understand, so the system has no way to query monitor for its capabilities.
Doesn't the system calculate an appropriate dpi based upon the display properties passed to it during installation?
Yes it does calculate, but in the lack of real data from the monitor it made a not very correct guess about screen dimensions.
How can I avoid this?
Use more modern hardware :-) ? Regards, -Kastus
Kastus wrote: -- snipped --
Use more modern hardware :-) ?
Regards, -Kastus
Thanks for the heads-up! ;-) (that's a display type, isn't it?) Reminds me of the sad day I gave away my original Multisync-I. I bought it for a 'top of the line' i286-at w/ 1MB ram and a 5-1/4"FH 5 MB HD... when CGA/EGA & experimental IBM XGA was the buzz. That monitor never quit! I eventually had to give it away because pushing it past 800 x 600 -- which I did for a long time -- eventually became unbearable... got 'crows feet' from squinting all the time. Really, though, thanks for the feedback Kastus! - Carl - - - - - - - - - - - - - - - - - - - - - - - - - - - C. E. Hartung Business Development & Support Services Dover Foxcroft, Maine http://www.cehartung.com "Jello is never very interesting until it is set and sure of itself."
participants (3)
-
Carl Hartung
-
Felix Miata
-
Kastus