[Bug 28776] Korean text isn't shown

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Oct 31 06:33:54 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=28776

--- Comment #10 from YunSong Hwang <hys545 at dreamwiz.com> 2011-10-31 06:33:54 CDT ---
I test wine-a155292f98f62c10eaf3b9328cbd8c085b8818e9-dll/gdi32/freetype.c
WineEngInit fuction.
No Error.

My Fix..
-----
BOOL WineEngInit(void)
{
    HKEY hkey_font_cache;
    DWORD disposition;
    HANDLE font_mutex;

    /* update locale dependent font info in registry */
    update_font_info();

    if(!init_freetype()) return FALSE;

    if((font_mutex = CreateMutexW(NULL, FALSE, font_mutex_nameW)) == NULL)
    {
        ERR("Failed to create font mutex\n");
        return FALSE;
    }
    WaitForSingleObject(font_mutex, INFINITE);

    create_font_cache_key(&hkey_font_cache, &disposition);

//    if(disposition == REG_CREATED_NEW_KEY)//make error
        init_font_list();
  //  else//make error
    //    load_font_list_from_cache(hkey_font_cache);//make error.

    RegCloseKey(hkey_font_cache);

    reorder_font_list();

    DumpFontList();
    LoadSubstList();
    DumpSubstList();
    LoadReplaceList();

//    if(disposition == REG_CREATED_NEW_KEY)//wine-a155292 don't have
        update_reg_entries();

    update_system_links();
    init_system_links();

    ReleaseMutex(font_mutex);
    return TRUE;
}
--

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list