[Lazarus] Lazarus has unique font sizes
Michael Van Canneyt
michael at freepascal.org
Sat Aug 15 18:39:22 CEST 2009
On Sat, 15 Aug 2009, Graeme Geldenhuys wrote:
> Michael Van Canneyt wrote:
>>
>> Am I missing something ?
>
> Yes, why is it an option in the first place? No other application asks the
> user for the Font Size or Font Height. If the one can be calculated from the
> other, then just give us the ONE normal option - Font Size. Anything else is
> just confusing to the user.
User, yes. programmer: no.
As I understood it, the difference is as follows:
- Setting size selects the point size of the font, no matter what the DPI is.
- Setting height sets the pixel size of the font, and then the correct point size
is calculated (using DPI) so the height is reached.
The second option had to be chosen if you wanted your font to be the same
pixel height no matter what the DPI.
Makes sense to me, we only use height at work, never ever size.
Michael.
More information about the Lazarus
mailing list