[haiku-commits] Re: haiku: hrev45221 - in docs/user/app: . docs/user

  • From: John Scipione <jscipione@xxxxxxxxx>
  • To: "haiku-commits@xxxxxxxxxxxxx" <haiku-commits@xxxxxxxxxxxxx>
  • Date: Fri, 8 Feb 2013 14:42:22 -0500

On Fri, Feb 8, 2013 at 2:19 PM,  <pulkomandy@xxxxxxxxxxxxx> wrote:
> That's where you are wrong. px are not fixed size, they depend on the screen
> resolution. While this was ok in a world where all the available display
> hardware was in the range of 90 to 125dpi, this is not the case anymore.
> Some smartphones, and now some computers, have a pitch as high as 300dpi.
> This makes a 12px font ridiculously small. On the other hand, using pt keeps
> the font size the same for all these displays (the physical size, in inches
> or centimeters).

Hey I'm all for being wrong but... on smartphones with 300dpi pitch
they do pixel doubling so 12px fonts are made twice as big to
compensate. px's have the additional benefit of allowing you to line
up fonts with images or other elements easily. Perhaps pt's could work
but it would be non-standard for web work, why use a print unit to the
web?

Other related posts: