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
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.
Consider these tidbits:
That 0.75 is unfortunate! It means that if we allow the user to choose points straight up, then the ideal rendering would draw on just part of a logical dot. It'd be nice if we could snap the entire rendering up or down to the nearest whole logical dot.
Ready? Here we go!
You get the idea.
Remember that these numbers will change if the user changes their logical resolution (96 dpi, 120 dpi, etc.)