Thanks for the fast reply :-)<br><br>If I understand you correctly, XCursor and Xft will be dropped and replaced by something different?<br><br>Xft is also important because it provides the custom font families and font sizes that the user has choosen. It's DPI value defaults to the native X server dpi value, which is normally 96 dpi, a simple convenience value, which in today's usage doesn't make much sense.<br>
<br>The point is that you can force a custom font dpi value. This way you have an easy way to scale your user interface. Example: Set the font dpi value to 192 dpi and you see everything scaled with factor 2 (well, at least the fonts. If the use an application with a scalable widget style, than also the other UI elements.) Now: XCursor by default chooses the cursor size automatically depending on the font dpi. This is a very nice behavior (and IMHO important on the way to more resolution-independent desptops). Will this still be possible in Wayland?<br>
<br clear="all">Lukas Sommer<br>
<br><br><div class="gmail_quote">2011/6/17 Michal Suchanek <span dir="ltr"><<a href="mailto:hramrach@centrum.cz">hramrach@centrum.cz</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On 17 June 2011 10:29, Lukas Sommer <<a href="mailto:sommerluk@gmail.com">sommerluk@gmail.com</a>> wrote:<br>
> Hello.<br>
><br>
> About Wayland I have the following questions:<br>
><br>
> When we run, in some future, a Wayland-only session, how will<br>
> Wayland-enabled applications behave in the following things:<br>
><br>
> - Xft: How to retrieve the font DPI setting and how to determine which font<br>
> at which size will be used?<br>
><br>
> - XCursor: Will the X11 cursor themes work on Wayland or will there be a<br>
> different standard? How can we configure it?<br>
><br>
> Currently, I'm taking a look at KDE configuration and how to set the font<br>
> DPI and how to change the cursor size. Will this still work in Wayland or do<br>
> we need to reimplement it?<br>
<br>
</div></div>It will definitely have to be reimplemented, at the very least to read<br>
the settings from Wayland and not X.<br>
<br>
Cursors are likely trivial.<br>
<br>
However, DPI is a problem. I am not sure Wyaland even handles DPI in<br>
any way at this point.<br>
<br>
One problem is that DPI (and RGB order or even the available color<br>
components) may vary in different parts of the display (eg. in<br>
multiscreen configuration). X and current Xft uses don't account for<br>
this.<br>
<br>
Thanks<br>
<font color="#888888"><br>
Michal<br>
</font></blockquote></div><br>