Changeset 39527 in webkit


Ignore:
Timestamp:
Dec 31, 2008 8:17:04 AM (15 years ago)
Author:
zecke@webkit.org
Message:

2008-12-31 Hiroyuki Ikezoe <poincare@ikezoe.net>

Reviewed by Holger Freyther.

https://bugs.webkit.org/show_bug.cgi?id=18310

  • platform/graphics/gtk/SimpleFontDataPango.cpp: (WebCore::SimpleFontData::determinePitch): Do not invoke isFixedPitch() when the font is a custom font.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r39526 r39527  
     12008-12-31  Hiroyuki Ikezoe  <poincare@ikezoe.net>
     2
     3        Reviewed by Holger Freyther.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=18310
     6
     7        * platform/graphics/gtk/SimpleFontDataPango.cpp:
     8        (WebCore::SimpleFontData::determinePitch): Do not invoke
     9        isFixedPitch() when the font is a custom font.
     10
    1112008-12-31  Oliver Hunt  <oliver@apple.com>
    212
  • trunk/WebCore/platform/graphics/gtk/SimpleFontDataPango.cpp

    r37716 r39527  
    117117void SimpleFontData::determinePitch()
    118118{
     119    if (isCustomFont()) {
     120        m_treatAsFixedPitch = false;
     121        return;
     122    }
     123
    119124    m_treatAsFixedPitch = m_font.isFixedPitch();
    120125}
Note: See TracChangeset for help on using the changeset viewer.