Changes between Initial Version and Version 1 of Ticket #16725, comment 2


Ignore:
Timestamp:
Dec 17, 2021, 3:52:03 PM (3 years ago)
Author:
pulkomandy

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16725, comment 2

    initial v1  
    11You have to compute it from the font ascents and descents from the font metrics (there is a GetMetrics function or something like that), not the Size (which is not in pixels, but in typographic points and not really usable directly).
    22
    3 Add a few pixels at the top and bottom so that there is some empty pixels above and below the text.
     3Add a few pixels (kInsetSpacing?) at the top and bottom so that there is some empty pixels above and below the text.