Font size discrepancy in .NET GDI+?

后端 未结 2 1998
半阙折子戏
半阙折子戏 2021-02-20 14:16

I am wracking my brains in trying to understand the discrepancy between the font sizes users select or specify (for example, using a FontDialog) and the em-size

2条回答
  •  日久生厌
    2021-02-20 14:32

    there is no pattern in the discrepancy

    As you can see, font sizes happen in increments of 0.75.

    Edit: You can fine tune sizes if you do not use the font dialog, but the results I suspect will be less pleasing than the 'preferred' sizes.

提交回复
热议问题