I created simple GUI project and OnCreate added previously mentioned code.
Is this a bug in Lazarus?
2017-07-09 18:41 GMT+03:00 Ondrej Pokorny via Lazarus <
lazarus@lists.lazarus-ide.org>:
> On 09.07.2017 17:14, Valdas Jankūnas via Lazarus wrote:
>
> PPI of Font differs from rest PPI. Is this int
On 09.07.2017 17:14, Valdas Jankūnas via Lazarus wrote:
PPI of Font differs from rest PPI. Is this intended or a bug?
It depends what your code is.
Ondrej
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listin
2017-07-05 1:39 GMT+03:00 Valdas Jankūnas :
> 2017.07.05 00:19, Ondrej Pokorny via Lazarus rašė:
>
>> Can you test Lazarus 1.6.x, please?
>>
>> Ondrej
>>
>
> attaching test project. Results:
>
> Kubuntu 17.04 (in virtualbox); Lazarus 1.6.4; FPC 3.0.2; WS Gtk2:
> 18
> 24
> 33
> 45
> 61
> 83
>
> Kub
On 04.07.2017 22:58, Valdas Jankūnas via Lazarus wrote:
code (WS: GTK2):
i := Canvas.TextHeight('I');
writeln(i);
Canvas.Font.Height := i;
i:= Canvas.TextHeight('I');
writeln(i);
Canvas.Font.Height := i;
i:= Canvas.TextHeight('I');
writeln(i);
I get:
24
33
45
I think that "Canv
Hello,
code (WS: GTK2):
i := Canvas.TextHeight('I');
writeln(i);
Canvas.Font.Height := i;
i:= Canvas.TextHeight('I');
writeln(i);
Canvas.Font.Height := i;
i:= Canvas.TextHeight('I');
writeln(i);
I get:
24
33
45
I think that "Canvas.Font.Height" and "Canvas.TextHeight('a')" shou