<br><br><div class="gmail_quote">On Tue, Jun 24, 2008 at 5:11 PM, Steven J Newbury <<a href="mailto:steve@snewbury.org.uk">steve@snewbury.org.uk</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On Tue, 2008-06-24 at 23:27 +0200, drago01 wrote:<br>
> On Tue, Jun 24, 2008 at 10:42 PM, Mohan Parthasarathy<br>
> <<a href="mailto:suruti94@gmail.com">suruti94@gmail.com</a>> wrote:<br>
> > Hi,<br>
> ><br>
> > Both Mac OS X (Starting with Tiger and then in Leopard) and windows XP/Vista<br>
> > (WPF) supports<br>
> > resolution independence. In Mac OS X, there is a concept of scaling factor<br>
> > which automatically<br>
> > scales the UI (not sure how well it works). If i am developing a graphics<br>
> > application on Linux,<br>
> > how does this work ? What should the application do to handle different<br>
> > resolution ? I understand<br>
> > that i can set different screen resolutions. But from the application<br>
> > perspective, what should be<br>
> > done for getting the UI (fonts, text, images...) scale better ?<br>
><br>
</div></div>X uses the display DPI as calculated from the monitor dimensions and<br>
resolution.  Most toolkits should make this pretty transparent,<br>
unfortunately some desktop UI's seem to have "standardised" on 96dpi and<br>
fail to ensure their dialogs, pop-ups etc scale correctly.  The key here<br>
is to not use pixel units...</blockquote><div><br>Recently i have had some bad experiences when playing around with new range of PCs with 7 inch<br>screen (e.g., everex cloudbook). I don't know where the problem is. Apparently installing<br>
ubuntu on it worked pretty well. When you say "Desktop UIs", where is the problem ? Could you<br>give me a couple of example, i am trying to understand this better. If i use the standard toolkit<br>GTK, Qt should it all be fine ? Or i should take some special care ?<br>
<br>Recently i read an article comparing Windows Composition Vs Apple Quartz Composition. One of the claims<br>is that Vista composition model uses vector level retention and hence scales better than Apple Quartz<br>stuff where Composition is done after the rasterization (don't know how it works today in Mac os X leopard).<br>
How does Composition in X work ?<br><br>-mohan<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
> use svg ...<br>
...which of course makes image scaling much easier! :)<br>
<br>
</blockquote></div><br>