Bug 58622 - kmail changes font size for message body without any reason
Summary: kmail changes font size for message body without any reason
Status: CLOSED NOT A BUG
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-17 22:27 UTC by Paul Pogonyshev
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Pogonyshev 2003-05-17 22:27:43 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.2 
OS:          Linux

Kmail changes font size for message body every two-three runs two points up or down. I'm using Luxi Mono, size 10 for message body, but occasionally when i start Kmail it shows everything very small (about size 8). I change size of the font to 12 and it looks like 10 points. When i start it for the next time, 12 points do look like 12 points and i have to change it back to 10. Extremely annoying.

I view my mails in plain text, fixed width font (Luxi Mono). However, i don't have View / Use Fixed Font set.
Comment 1 Ingo Klöcker 2003-05-18 21:32:04 UTC
Subject: Re:  New: kmail changes font size for message body =?iso-8859-1?q?without	any?= reason

KMail calculates the font size according to the resolution of the 
screen. So if you are using another screen or if you change the 
resolution of your screen then you will get another font size in KMail 
(especially if your X server doesn't return the correct resolution). To 
find out which resolution (dpi) your X server returns run 'xdpyinfo' 
and look for resolution. Write down the resolution. The next time KMail 
seems to use another font size please check the resolution again. If 
it's different from the value that you've written down then you found 
the reason for KMail's behavior.

Comment 2 Paul Pogonyshev 2003-05-21 15:58:22 UTC
For some time it hasn't repeated. But today the font became small again. 
It is indeed X system responsible - screen resolution changed from 92 dpi to 75 dpi. So you 
can mark the report as invalid. 
Now i need to figure out what to do about it... 
Comment 3 Ingo Klöcker 2003-05-22 00:15:20 UTC
Subject: Re:  kmail changes font size for message body without any reason

On Wednesday 21 May 2003 15:58, Paul Pogonyshev wrote:
> For some time it hasn't repeated. But today the font became
> small again. It is indeed X system responsible - screen resolution
> changed from 92 dpi to 75 dpi. So you can mark the report as invalid.
> Now i need to figure out what to do about it...

Maybe sometimes the X server can't receive the geometry from your 
monitor so that X falls back to the standard resolution (75 dpi). If 
you always use the same monitor you can add the following to the 
Monitor section of your XF86Config:
 DisplaySize  360 270
where 360 resp. 270 is the width resp. the height of your screen (in 
millimeters).