File diff r24722:0a8c548ba6be → r24723:21d4079f2184
src/fontcache.cpp
Show inline comments
 
@@ -1008,7 +1008,7 @@ static void LoadWin32Font(FontSize fs)
 
		if (fontPath[0] != 0) {
 
			if (AddFontResourceEx(fontPath, FR_PRIVATE, 0) != 0) {
 
				/* Try a nice little undocumented function first for getting the internal font name.
 
				* Some documentation is found at: http://www.undocprint.org/winspool/getfontresourceinfo */
 
				 * Some documentation is found at: http://www.undocprint.org/winspool/getfontresourceinfo */
 
				typedef BOOL(WINAPI * PFNGETFONTRESOURCEINFO)(LPCTSTR, LPDWORD, LPVOID, DWORD);
 
#ifdef UNICODE
 
				static PFNGETFONTRESOURCEINFO GetFontResourceInfo = (PFNGETFONTRESOURCEINFO)GetProcAddress(GetModuleHandle(_T("Gdi32")), "GetFontResourceInfoW");