Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Is DPI relevant in RAP?(How to use, and if to use, DPI in RAP applications)
Is DPI relevant in RAP? [message #1159216] Mon, 28 October 2013 07:21 Go to next message
John Gymer is currently offline John Gymer
Messages: 185
Registered: November 2012
Location: UK
Senior Member
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 05:55 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim Buschtoens
Messages: 379
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/
Re: Is DPI relevant in RAP? [message #1162362 is a reply to message #1162331] Wed, 30 October 2013 06:24 Go to previous message
John Gymer is currently offline John Gymer
Messages: 185
Registered: November 2012
Location: UK
Senior Member
Hi Tim, thanks for clarifying that - makes like less complex!


---
Just because you can doesn't mean you should
Previous Topic:Detect network connection failure
Next Topic:ClientScripting restricted DOM navigation
Goto Forum:
  


Current Time: Wed Jul 30 15:14:29 EDT 2014

Powered by FUDForum. Page generated in 0.03297 seconds