2009-01-13 Dimitri Glazkov <dglazkov@chromium.org>
authordglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Jan 2009 20:55:04 +0000 (20:55 +0000)
committerdglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Jan 2009 20:55:04 +0000 (20:55 +0000)
commitdad6234400800bc769f6661e967c39533926513c
tree285463cd2aa952bfc226e496aaef6d05987bc367
parent4a0c898ce67bd542d1ff547c56cb64351f7a0116
2009-01-13  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Eric Seidel.

        Land portions of platform/graphics/chromium.
        https://bugs.webkit.org/show_bug.cgi?id=23297

        * platform/graphics/chromium/FontCustomPlatformData.cpp: Added.
        (WebCore::FontCustomPlatformData::~FontCustomPlatformData):
        (WebCore::FontCustomPlatformData::fontPlatformData):
        (WebCore::EOTStream::EOTStream):
        (WebCore::EOTStream::read):
        (WebCore::readEmbedProc):
        (WebCore::createUniqueFontName):
        (WebCore::createFontCustomPlatformData):
        * platform/graphics/chromium/FontCustomPlatformData.h: Added.
        (WebCore::FontCustomPlatformData::FontCustomPlatformData):
        * platform/graphics/chromium/FontLinux.cpp: Added.
        (WebCore::Font::drawGlyphs):
        (WebCore::Font::drawComplexText):
        (WebCore::Font::floatWidthForComplexText):
        (WebCore::Font::offsetForPositionForComplexText):
        (WebCore::Font::selectionRectForComplexText):
        * platform/graphics/chromium/FontPlatformData.h: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@39875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/graphics/chromium/FontCustomPlatformData.cpp [new file with mode: 0644]
WebCore/platform/graphics/chromium/FontCustomPlatformData.h [new file with mode: 0644]
WebCore/platform/graphics/chromium/FontLinux.cpp [new file with mode: 0644]
WebCore/platform/graphics/chromium/FontPlatformData.h [new file with mode: 0644]