Mattias Gaertner ha scritto:
On Mon, 05 Nov 2007 01:40:06 +0100
Giuliano Colla <[EMAIL PROTECTED]> wrote:
Font size can only be given in either an integer number of pixels, or
in Point Size, which (currently) gets rounded to an integer number of
pixels, and therefore, given usual font metrics, fpFixed should never
give rise to a fractional width.
Not right.
For example: Character Size 10 (10 pixels long and 7 pixels
wide). Now use Size 9. The Height is integer and width must be rounded
or using fractionals. For most applications rounding is ok. For layout
programs it is not.
Then an extra TFont property (such as FractionalAllowed), could make
sense, to let the widgetset know that the application is unable to deal
with fractional values, and font should be set accordingly.
Giuliano
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives