Re: bug in gdm with font size in themes?



On Wed, Jul 14, 2004 at 12:37:22PM +0100, Anton Altaparmakov wrote:
> Surely specifying a font of "Sans 24" should look the same size on all
> screen resolutions, should it not?
> 
> Has anyone else seen this problem?
> 
> Any ideas for how to fix it?

Well what GDM does is this:

  if (gdm_wm_screen.width <= 800 &&
      gdm_wm_screen.width > 640)
    size_reduction = PANGO_SCALE_SMALL;
  else if (gdm_wm_screen.width <= 640)
    size_reduction = PANGO_SCALE_X_SMALL;

Thn it multiplies the size by 'size_reduction'.  I suppose the problem is
that it is likely that someone actually fixed the canvas to follow the dpi
sanely and the same size now actually refers to the same size on all display
resolutions, which it most certainly did not previously.  (Actually in my
experience, the font size on the gnome canvas was semi random depending on
the precise version you were using ... evil ... evil ... gnome canvas).

Which version of gnome canvas are you using (and which versions of all the
other gnome components)?

George

-- 
George <jirka 5z com>
   How shall we fuck off, o Lord?
                       -- Monty Python



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