<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-07-05 1:39 GMT+03:00 Valdas Jankūnas <span dir="ltr"><<a href="mailto:zmuogs@gmail.com" target="_blank">zmuogs@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-"><a href="tel:2017.07.05%2000" value="+12017070500" target="_blank">2017.07.05 00</a>:19, Ondrej Pokorny via Lazarus rašė:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Can you test Lazarus 1.6.x, please?<br>
<br>
Ondrej<br>
</blockquote>
<br></span>
attaching test project. Results:<br>
<br>
Kubuntu 17.04 (in virtualbox); Lazarus 1.6.4; FPC 3.0.2; WS Gtk2:<br>
18<br>
24<br>
33<br>
45<br>
61<br>
83<br>
<br>
Kubuntu 17.04 (in virtualbox); Lazarus 1.6.4; FPC 3.0.2; WS Qt:<br>
14<br>
16<br>
19<br>
22<br>
25<br>
29<br>
<br>
Ubuntu 17.04 (in virtualbox); Lazarus 1.6.4; FPC 3.0.2; WS Gtk2:<br>
17<br>
19<br>
22<br>
25<br>
28<br>
31<br>
<br>
Ubuntu 17.04 (in virtualbox); Lazarus 1.6.4; FPC 3.0.2; WS Qt:<br>
17<br>
19<br>
22<br>
25<br>
28<br>
31<span class="gmail-HOEnZb"><font color="#888888"><br>
</font></span></blockquote></div><br>I ran this code (Lazarus 1.9.0):<br><br>Writeln('Canvas.Font.PixelsPerInch = ', + Canvas.Font.PixelsPerInch);<br>writeln('Forms.Screen.PixelsPerInch = ', + Forms.Screen.PixelsPerInch);<br>writeln('Graphics.ScreenInfo.PixelsPerInchX = ', Graphics.ScreenInfo.PixelsPerInchX);<br><br>and got:<br><br>Canvas.Font.PixelsPerInch = 96<br>Forms.Screen.PixelsPerInch = 141<br>Graphics.ScreenInfo.PixelsPerInchX = 141<br><br>"xdpyinfo | grep dots" in console gives "resolution: 141x141 dots per inch".<br><br>PPI of Font differs from rest PPI. Is this intended or a bug?<div class="gmail_signature"><br>______<br> Valdas Jankūnas</div>
</div></div>