Convert the width map for glyphs into the same new HashMap-style as the
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 18 May 2006 07:36:34 +0000 (07:36 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 18 May 2006 07:36:34 +0000 (07:36 +0000)
commit59f244b2bd5fce7cce1f03cbe8a4503336138b1c
tree69f9fa27480566c990b954e9220d69a60437e676
parent9ff519536269f283a34b1d7c60fe7cd9304acb6d
    Convert the width map for glyphs into the same new HashMap-style as the
        glyph map for characters.

        * WebCore.xcodeproj/project.pbxproj:
        * platform/FontData.cpp:
        (WebCore::FontData::~FontData):
        (WebCore::FontData::widthForGlyph):
        * platform/FontData.h:
        * platform/GlyphWidthMap.cpp: Added.
        (WebCore::GlyphWidthMap::widthForGlyph):
        (WebCore::GlyphWidthMap::setWidthForGlyph):
        (WebCore::GlyphWidthMap::locatePage):
        * platform/GlyphWidthMap.h: Added.
        (WebCore::GlyphWidthMap::GlyphWidthMap):
        (WebCore::GlyphWidthMap::~GlyphWidthMap):
        (WebCore::GlyphWidthMap::GlyphWidthPage::widthForGlyph):
        (WebCore::GlyphWidthMap::GlyphWidthPage::setWidthForGlyph):
        (WebCore::GlyphWidthMap::GlyphWidthPage::setWidthForIndex):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14462 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/platform/FontData.cpp
WebCore/platform/FontData.h
WebCore/platform/GlyphWidthMap.cpp [new file with mode: 0644]
WebCore/platform/GlyphWidthMap.h [new file with mode: 0644]