I am having trouble with fonts on Windows 10. When I run Lazarus (I'm using v1.8.2), everything looks good. I create a form, put a button on it, put a TSelectDirectoryDialog on it and for code of the button, I just perform an Execute on the dialog.
If I right-click the Dialog icon and choose Test Dialog, it looks correct.
When I run my app, the fonts do not look correct. The button font is different than Windows 10 default and slightly bold. The same for the dialog font.
I've attached a good version (what Test Dialog shows) and a bad version (what my app shows).
Since Lazarus itself looks right, I'm guessing I have to set something in my app to use the correct default font. What does Lazarus do?