Is it a retina iPad?  There is a list of exceptions listed in this link
[1],  which says:

   - All retina iPads receive 320 DPI

If you see the code in [2], you can see that iPad retina's are simply
assigned a DPI of 320 regardless of what Capabilities.screenDPI reports.

The good news is that this is configurable, you can simply supply a
runtimeDPIProvider class to Application and implement your own logic to
calculate the DPI as per your application needs.  An example can be seen
here: [1] and [3]

Hope this helps.

Thanks,
Om

[1] https://flex.apache.org/asdoc/mx/core/RuntimeDPIProvider.html#runtimeDPI
[2]
https://github.com/apache/flex-sdk/blob/8f3dd5bb05549b29f9d608e6abc914409a1a4ae2/frameworks/projects/framework/src/mx/core/RuntimeDPIProvider.as#L143
[3]
https://github.com/apache/flex-sdk/blob/8f3dd5bb05549b29f9d608e6abc914409a1a4ae2/frameworks/projects/framework/asdoc/en_US/mx/core/examples/RuntimeDPIProviderExample.as

On Mon, Mar 6, 2017 at 1:09 PM, bilbosax <waspenc...@comcast.net> wrote:

> In other words, based on a Capabilities.screenDPI of 262, why isn't the
> applicationDPI or runtimeDPI being mapped to 240 as one would expect, and
> therefore selecting the incorrect CSS rules?
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 2333346.n4.nabble.com/Wrong-CSS-DPI-Buckets-Being-Chosen-
> tp14779p14780.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>

Reply via email to