Re: Units and resolution independence for gtk+

On Thu, 2008-08-07 at 04:20 +0200, Soeren Sandmann wrote:
> Behdad Esfahbod <behdad behdad org> writes:
> > Also, my only quick feedback is that you are hooking up on the font
> > size, while you should instead hook on screen dpi.  Think of screen dpi
> > as a global scaling factor, and font size is relative size of the fonts
> > to the other elements.
> I'll repeat that making use of the physical size in the X Screen
> structure is *BROKEN*. You don't want tiny fonts a projector, and you
> don't want huge fonts on handheld.
> The number is meaningless without knowledge about the device type.

Does s/screen dpi/scale factor/ make more sense to you?  Call it that.


"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759

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