Re: desktop font + PATCH for 82565
- From: Alex Larsson <alexl redhat com>
- To: Frank Worsley <fworsley shaw ca>
- Cc: David Watson <dwatson cs ucr edu>, Dave Bordoley <bordoley msu edu>, Chris Heywood <psych28 dingoblue net au>, <nautilus-list gnome org>
- Subject: Re: desktop font + PATCH for 82565
- Date: Thu, 30 May 2002 16:38:55 -0400 (EDT)
On Wed, 29 May 2002, Frank Worsley wrote:
> >
> > Great work Frank!
> >
>
> Thanks a lot. :)
>
> >
> > You should use get_default_zoom_level instead of eel_preferences_get_enum
> > (actually, if the auto value were setup like it is in the list view then
> > you could remove get_default_zoom_level altogether and just use
> > default_zoom_level_auto_value directly)
>
> Good call, the auto value is there so I will use that.
>
> > It seems like a bad idea to add another argument here; how is the caller
> > supposed to know if the font table should be updated? I think it would be
> > better if you compared new_level with view->details->zoom_level and if
> > they're not equal then update the font table.
>
> I'm not sure if that does the trick. But I will rethink the way I did
> that.
>
> > This doesn't really matter much since all we care about is how it looks
> > but FYI each PANGO_SCALE is different by a factor of 1.2 (e.g.
> > PANGO_SCALE_XXXX_LARGE = 1.2 * 1.2 * PANGO_SCALE_XX_LARGE and
> > PANGO_SCALE_XXX_SMALL = (1 / 1.2) * PANGO_SCALE_XX_SMALL)
>
> I see, yes that makes sense. I fix that up properly.
Did you finish up the new version of the patch?
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's a scrappy gay grifter living undercover at Ringling Bros. Circus. She's a
supernatural hypochondriac bodyguard with her own daytime radio talk show.
They fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]