[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#218919: Probably not a bug but a feature



Hi Nikitia,

On Mon, 2003-11-03 at 12:13, Nikita V. Youshchenko wrote:
> Now I get OOo interface fonts sized correctly at my KDE desktop.
> However, same font (Arial 12) in the document is displayed much smaller
> whe scale is set to 100%. This may be workarounded by scaling document
> to 130-150%, or by setting Xft.dpi. (I run X server at 75 dpi, use KDE,
> and this var is not set by default)
> 
> Still I believe that OOo should display correclty-sized font at
> scale=100%, so I am writing this info to BTS.

Please confirm that you really really have a 75 dpi screen.  Is this an
old 14" monitor running at 800x600 or similar?  Otherwise the 75 dpi
setting is probably wrong.  What is the physical size of the screen, and
what resolution are you running at?

Upstream OOo has some workarounds for people running at < 96 dpi that
have got their X server settings wrong.  The problem with these is that
people who really do have a display with < 96 dpi cannot display
documents at 100% and really see them at the correct size - the fonts
will be displayed at a larger size than they should be.  So Michael has
patched them out in gui-font-scale.diff:

-        if ( rDPIY < 96 )
-        {
-            rDPIX = Divide( rDPIX * 96, rDPIY );
-            rDPIY = 96;
-        }
-

and

+#if 0
     if( rDPIY < nThreshold )
     {
         rDPIX = Divide( rDPIX * nThreshold, rDPIY );
         rDPIY = nThreshold;
     }
+#endif

So this means that people who have their X server configured at a lower
DPI setting will indeed get smaller fonts, but now they can zoom to 100%
and display their documents at their true size.

So, does that explain the behaviour to you, or do you think there is
another problem lurking somewhere?

Chris




Reply to: