I can create a project in Lazarus and XCode if you'd like.
So the button has to have height set to 32? Or did you mean the font size of the button?
32 should be height of the button.
But!!! if you find the way to change font of the button in Xcode in design time, please let me know ;)
Not sure (yet) how this translates to Windows and Linux (when moving code from platform to another), but maybe that's a worry for later.
At this point, I want to make sure that a widgetset renders
Font X with Size Y (in points)
in exactly the same manner, as a system text editor with
Font X with Size Y (in points)
selected.
That is a measurement for a widgetset to render a font properly.
If we assume that Carbon-WS is correct, and Cocoa-WS should render the font in same manner, then we're actually bringing Carbon-WS bug into Cocoa-WS. And I'd like to avoid that, taking system font rendering as a standard