12016-09-08 Myles C. Maxfield <mmaxfield@apple.com>
2
3 [Cocoa] Improve performance of glyph advance metrics gathering
4 https://bugs.webkit.org/show_bug.cgi?id=161119
5
6 Reviewed by NOBODY (OOPS!).
7
8 No new tests (OOPS!).
9
10 * platform/graphics/Font.cpp:
11 (WebCore::Font::platformGlyphInit):
12 * platform/graphics/Font.h:
13 (WebCore::Font::widthForGlyph):
14 * platform/graphics/GlyphPage.h:
15 (WebCore::GlyphData::GlyphData):
16 (WebCore::GlyphPage::advanceForCharacter):
17 (WebCore::GlyphPage::glyphDataForIndex):
18 (WebCore::GlyphPage::advanceForIndex):
19 (WebCore::GlyphPage::setGlyphForIndex):
20 * platform/graphics/WidthIterator.cpp:
21 (WebCore::WidthIterator::advanceInternal):
22 * platform/graphics/cocoa/FontCocoa.mm:
23 (WebCore::Font::platformWidthForGlyph):
24 * platform/graphics/mac/GlyphPageMac.cpp:
25 (WebCore::GlyphPage::fill):
26 * platform/spi/cocoa/CoreTextSPI.h:
27