PrivateFontCollection with gdi+ sometimes uses the wrong FontStyle in WIndows 8 or newer
问题 If you have a Font which you've created from a PrivateFontCollection and try to draw strings with it using GDI+ it will sometimes use the wrong FontStyle. I've observed this both with Fonts loaded into a PrivateFontCollection from memory and fonts loaded into PrivateFontCollection from files. In my following example I'm loading fonts from file. I have them all in a folder called Fonts. if we would load them like below. private void loadFontsIntoPrivateCollection() { _privateFontCollection =