Re: Units and resolution independence for gtk+
- From: David Zeuthen <david fubar dk>
- To: Alexander Larsson <alexl redhat com>
- Cc: gtk-devel-list gnome org
- Subject: Re: Units and resolution independence for gtk+
- Date: Thu, 07 Aug 2008 14:48:27 -0400
On Thu, 2008-08-07 at 20:02 +0200, Alexander Larsson wrote:
> Is a physical size units even interesting?
I guess I'll leave out GTK_SIZE_MM and GTK_SIZE_POINT for now. My main
point is ensuring that GtkSize is future proof in the sense that we can
add units later and preserve backwards compatibility.
> It just generally leads to
> DPI style flamewars. For instance, a projector screen is really large,
> but you don't want tiny fonts anyway, because you watch it from far
> away. Something similar but reversed applies for the case of handhelds.
>
> What you really want to talk about is how large a pixel "looks" for a
> viewer, and the actual unit here is something like steradians of the
> viewers field of vision. However, this is a bit complex, and just using
> some abstract point unit that does a device dependent scaling might be
> better.
Yeah.
David
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]