[Lazarus] Hi-DPI tweak of components
giuliano.colla at fastwebnet.it
Thu Jun 8 19:30:53 CEST 2023
Il 08/06/23 18:40, Ondrej Pokorny via lazarus ha scritto:
> And because it is so much fun, I wrote a completely general program to
> test it.
Well you've shown that it isn't so bad. But there's another detail to
consider, when resizing: font size. Font size can (and should be)
specified in typographic points, in order to ensure that text is both
readable and not too large. i.e. in units which are 1/72". Resizing when
text size is specified in inches, i.e. in its actual, system
independent, size, while width and height are specified in pixels i.e.
in system dependent units is the best way to create the mess which is
there since the early times of Delphi.
More information about the lazarus