Is DPI relevant in RAP? [message #1159216] |
Mon, 28 October 2013 11:21 |
|
Is the concept of DPI relevant at all in RAP within a browser?
Many browsers support zooming, which on the face of it appears to provide a similar end-result to DPI settings.
It seems that everything in RAP is pixel based, rather than point based, so perhaps it is not important?
Thanks, John
---
Just because you can doesn't mean you should
|
|
|
Re: Is DPI relevant in RAP? [message #1162331 is a reply to message #1159216] |
Wed, 30 October 2013 09:55 |
Tim Buschtoens Messages: 396 Registered: July 2009 |
Senior Member |
|
|
Hi.
It's irrelevant, as you said everything is pixel based.
Now, browser DO provide a DPI number given by the OS, and you can read
that from the Display object, but that number is pretty useless in any
case since the OS doesn't know the size of your screen. When the browser
zooms, it projects the documents pixel unit to more or less pixel on
your screen. For RAP this just looks like you resized the browser window.
Greeetings,
Tim
Am 28.10.2013 12:21, schrieb John Gymer:
> Is the concept of DPI relevant at all in RAP within a browser?
> Many browsers support zooming, which on the face of it appears to
> provide a similar end-result to DPI settings.
> It seems that everything in RAP is pixel based, rather than point based,
> so perhaps it is not important?
> Thanks, John
>
--
Tim Buschtöns
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
|
Powered by
FUDForum. Page generated in 0.02313 seconds