[Lazarus] Mac users: High-DPI

Ondrej Pokorny lazarus at kluug.net
Thu Mar 9 19:58:48 CET 2017


On 09.03.2017 19:42, Alexey via Lazarus wrote:
> On 09.03.2017 16:01, Ondrej Pokorny via Lazarus wrote:
>> will have the ScaleFactor equivalent (I'll keep PixelsPerInch). 
>> Probably more changes will be needed.
>> On Windows: DesignTimePPI=96 -> DesignTimeScaleFactor=100 <- On Mac: 
>> DesignTimePPI=72. The same goes for PixelsPerInch/ScaleFactor.
>
> IMO it's not needed yet.

It must be sorted out for 1.8 - i.e. this month.

> can you tell why the Mac font becomes bigger?

Because Font: Height := -MulDiv(Size, *PixelsPerInch*, 72);

Ondrej
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170309/eed03827/attachment.html>


More information about the Lazarus mailing list