Commit 29d35db9 authored by Alexandre Julliard's avatar Alexandre Julliard

gdi32: Move font codepage setup out of freetype.c.

parent 932bc899
...@@ -280,6 +280,8 @@ struct font_gamma_ramp ...@@ -280,6 +280,8 @@ struct font_gamma_ramp
BYTE decode[256]; BYTE decode[256];
}; };
extern void font_init(void) DECLSPEC_HIDDEN;
/* freetype.c */ /* freetype.c */
/* Undocumented structure filled in by GetFontRealizationInfo */ /* Undocumented structure filled in by GetFontRealizationInfo */
......
...@@ -690,7 +690,7 @@ BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved ) ...@@ -690,7 +690,7 @@ BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
gdi32_module = inst; gdi32_module = inst;
DisableThreadLibraryCalls( inst ); DisableThreadLibraryCalls( inst );
WineEngInit(); font_init();
/* create stock objects */ /* create stock objects */
stock_objects[WHITE_BRUSH] = CreateBrushIndirect( &WhiteBrush ); stock_objects[WHITE_BRUSH] = CreateBrushIndirect( &WhiteBrush );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment