[WIN32SS][NTGDI] Registry-based font management (#1816)
authorKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Sat, 10 Aug 2019 05:52:09 +0000 (14:52 +0900)
committerGitHub <noreply@github.com>
Sat, 10 Aug 2019 05:52:09 +0000 (14:52 +0900)
commit2b526bceac3b6bad263b308be779b7525d3cd8aa
tree35aeb4aa34c5b11bcda9f27743842023ba3217b2
parent0749a868fcae2f7c0963b7cc010aa622d2515c6c
[WIN32SS][NTGDI] Registry-based font management (#1816)

CORE-16269
- Add IntGdiAddFontResourceEx function that is extended from IntGdiAddFontResource, in order to add dwFlags parameter.
- Add IntLoadFontsInRegistry function that will load the fonts from registry info.
- If loading from registry failed, IntLoadSystemFonts will be called.
- Use IntLoadFontsInRegistry rather than IntLoadSystemFonts in the OS startup.
- Add NameFromCharSet function.
- Append " (CharSetName)" to registry value name if not TrueType.
win32ss/gdi/ntgdi/font.h
win32ss/gdi/ntgdi/freetype.c
win32ss/gdi/ntgdi/text.h