Re: font problem
On Thu, Nov 07, 2002 at 01:01:14AM +0100, Christian Arthaber wrote:
> i have a problem concerning the menu fonts in gnome2. when i start the
> computer the fonts sometimes, but not always, are very tiny. When i
> restart X using Ctrl-Alt-Bsp the fonts are rendered correctly in the way
> i chose them at desktop-preferences/fonts.
> the problem only seems to occur on startup, not when i reboot the
> machine.
Ah, I know this one, it happened to me too.
You have a modern monitor which reports its dimensions to X when it
starts. X uses that to calculate the dots per inch it will use. For me
that's 112x112 dpi.
When your monitor is off and X starts, X uses a default, which happens
to be 75x75 dpi.
The solution is to hardcode the dimensions X normally finds (or that you
happen to like) in /etc/X11/XF86Config-4.
I've put the following at the start of my config, the DisplaySize is
what's important:
Section "Monitor"
Identifier "Iiyama Vision Master 450"
HorizSync 27-102
VertRefresh 50-160
Option "DPMS"
DisplaySize 360 270
EndSection
### BEGIN DEBCONF SECTION
While we're in /etc/X11/XF86Config-4 land: it pays to replicate the
Section "Files" at the *end* of the file, extended with
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
that way, the rest of the file is still dpkg-reconfigurable.
--
Bart.
Reply to: