Re: Units and resolution independence for gtk+

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.

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