FT_Library g_FreeTypeLibrary;
-/* special font names */
-static const UNICODE_STRING g_MarlettW = RTL_CONSTANT_STRING(L"Marlett");
-#define MARLETT_HACK_CHARSET
-
/* registry */
static UNICODE_STRING g_FontRegPath =
RTL_CONSTANT_STRING(L"\\REGISTRY\\Machine\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts");
if (FT_IS_SFNT(Face))
{
FontGDI->CharSet = IntGetCharSet(iCharSet, os2_ulCodePageRange1);
-
-#ifdef MARLETT_HACK_CHARSET
- /* FIXME: CharSet is invalid on our Marlett */
- if (RtlEqualUnicodeString(&Entry->FaceName, &g_MarlettW, TRUE))
- {
- FontGDI->CharSet = SYMBOL_CHARSET;
- }
-#endif
}
else
{
Byte = LogFont->lfCharSet;
-#ifdef MARLETT_HACK_CHARSET
- if (Byte == DEFAULT_CHARSET)
- {
- if (_wcsicmp(LogFont->lfFaceName, L"Marlett") == 0)
- {
- if (Byte == ANSI_CHARSET)
- {
- DPRINT("Warning: FIXME: It's Marlett but ANSI_CHARSET.\n");
- }
- /* We assume SYMBOL_CHARSET for "Marlett" font */
- Byte = SYMBOL_CHARSET;
- }
- }
-#endif
-
if (Byte != TM->tmCharSet)
{
if (Byte != DEFAULT_CHARSET && Byte != ANSI_CHARSET)