在Windows中,CreateFontIndirect()如果未请求所请求的字体,调用可以静默替换兼容的字体。GetObject()调用不反射(reflect)此替换;它返回传入的相同LOGFONT。如何找到实际创建的字体?或者,我如何才能强制Windows仅返回请求的确切字体? 最佳答案 InWindows,theCreateFontIndirect()callcansilentlysubstitutecompatiblefontsiftherequestedfontisnotrequested.TheGetObject()ca