Changeset 31442 in webkit


Ignore:
Timestamp:
Mar 30, 2008 10:25:40 AM (16 years ago)
Author:
alp@webkit.org
Message:

2008-03-30 Hiroyuki Ikezoe <poincare@ikezoe.net>

Reviewed by Alp Toker.

http://bugs.webkit.org/show_bug.cgi?id=18036
Rendering invalid japanese characters with pango backend.

  • platform/graphics/gtk/FontPlatformDataPango.cpp: (FontPlatformData::FontPlatformData): Set PangoFontDescription for PangoContext explicitly to use proper font.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r31441 r31442  
     12008-03-30  Hiroyuki Ikezoe  <poincare@ikezoe.net>
     2
     3        Reviewed by Alp Toker.
     4
     5        http://bugs.webkit.org/show_bug.cgi?id=18036
     6        Rendering invalid japanese characters with pango backend.
     7
     8        * platform/graphics/gtk/FontPlatformDataPango.cpp:
     9        (FontPlatformData::FontPlatformData): Set PangoFontDescription for
     10        PangoContext explicitly to use proper font.
     11
    1122008-03-30  Rob Buis  <buis@kde.org>
    213
  • trunk/WebCore/platform/graphics/gtk/FontPlatformDataPango.cpp

    r30989 r31442  
    8888    for (unsigned int i = 0; !m_font && i < G_N_ELEMENTS(families); i++) {
    8989        pango_font_description_set_family(description, families[i]);
     90        pango_context_set_font_description(m_context, description);
    9091        m_font = pango_font_map_load_font(m_fontMap, m_context, description);
    9192    }
Note: See TracChangeset for help on using the changeset viewer.