fix a potential bug: reserve key when creating logfont by calling CreateLogFontIndirect

This commit is contained in:
Vincent Wei
2019-01-19 14:04:11 +08:00
parent 21ac9f2def
commit bbf2376f7a
3 changed files with 17 additions and 14 deletions
+1 -1
View File
@@ -6624,7 +6624,7 @@ MG_EXPORT void GUIAPI TermVectorialFonts (void);
* size expected.
* \param rotation The rotation of the logical font, it is in units of
* tenth degrees. Note that you can specify rotation only for
* TrueType and Adobe Type1 fonts.
* vector fonts (use FreeType2 font engine).
* \return The pointer to the logical font created, NULL on error.
*
* \sa CreateLogFontIndirect, CreateLogFontByName, SelectFont