-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I did some 'research' into the pixel density 'thing' and this is a
*quick* overview, followed by my suggestion.

Pixel density in Pixels per Inch [PPI] is used by Apple, LG and
others to describe a screen's [or camera's] resolution. [1]
However, Google Android uses dots per inch [pixels are made up of
dots]. [2,3]

When it comes to rendering, a device's pixel-ratio [4] is key.
It is available in uaprofiles and ties in with W3C, HTML and CSS
standards [5,6,7,8]

So, I suggest :

- - Pixel Ratio : covers all, included in uaprofiles and ties in with
HTML, CSS etc.

- - Pixel Density : added when available, but a unit of measure [ppi,
dpi, ppcm] *must* be supplied to accommodate pixels and dots and the
metric variants in use.


Quick note on general name formats. For property and other names, I
would like to avoid *all* punctuation marks or any other characters
that may require encoding depending on serialization/transport.
It's *just* practical : if we can avoid 'trouble' we must [defensive
programming].
I know strong 'feelings' exist on this matter. I just urge you to be
practical rather than 'politically correct'.

esjr

[1] http://en.wikipedia.org/wiki/Pixel_density
[2]
http://developer.android.com/guide/topics/resources/providing-resources.html#AlternativeResources
[3]
http://techcrunch.com/2010/07/21/a-quick-psa-on-dots-versus-pixels-in-lcds/
[4] http://bjango.com/articles/min-device-pixel-ratio/
[5] http://www.w3.org/TR/2002/WD-css3-background-20020802/#background-size
[6]
https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Media_queries#-moz-device-pixel-ratio
[7] http://www.devicepixelratio.com/
[8]
http://stackoverflow.com/questions/8785643/what-exactly-is-device-pixel-ratio
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUBuG8AAoJEOxywXcFLKYc33EIAKE2ydCjgP1YfeLiAqqs39tX
/om3Pg2lHyV7fN2PGrnQoJPEqnisEWxqBl8P4ONB+jmQlf/G7ye8hw4APAO9c07y
9Ixx9r9e7/TCO03d/IPQtc0LLWLd9RAZLAl04mqSBTlBf188PCeJQeKa6WMVLLRA
iH4mxEDsLFU9sfnT3z3cfGp/jCOSoB5vwXTD2MNfYPpPXG0ggxYhSPXDHGGKgUSN
Zevcf1KT9m2hPiupw1xQytgyWHsqCrrJXS4/SkfCuykYeQAWt8oB+VrVlSHqiwN1
N9eyuPFYZkgmVZKcEDexkXH/PHLbZS/1KSmoBCW+NmjrwvqvKnIBdulAgSkpwFo=
=o93E
-----END PGP SIGNATURE-----

Reply via email to