d43aa9281264ffa4d60e2b6152c6b4070bce7451
[WebKit-https.git] / WebCore / ChangeLog
1 2006-05-10  Darin Adler  <darin@apple.com>
2
3         * WebCore: Removed an extra WebCore subtree that somehow got checked in.
4
5 2006-05-10  David Carson <dacarson@gmail.com>
6
7         - Fix for bug 8833. Removed inline keyword from functions declared
8         in .mm and .cpp files. inline function code needs to reside in the
9         header file for the linker to find the code. 
10         http://www.parashift.com/c++-faq-lite/inline-functions.html#faq-9.7
11
12         Reviewed by Darin, landed by Timothy.
13
14         * platform/Font.cpp:
15         (WebCore::isSpace):
16         * platform/mac/FontData.mm:
17         (WebCore::widthForGlyph):
18         (WebCore::isRoundingHackCharacter):
19         (WebCore::glyphForCharacter):
20
21 2006-05-10  Mitz Pettel  <opendarwin.org@mitzpettel.com>
22
23         Reviewed and landed by Anders.
24
25         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8830
26           REGRESSION: Words render on top of each other when fallback font is used
27
28         Already covered by several pixel tests in fast/text
29
30         * platform/Font.cpp:
31         (WebCore::Font::drawSimpleText):
32
33 2006-05-10  David Hyatt  <hyatt@apple.com>
34
35         Fix for bug 8809, lift the Mac-specific WebTextRenderer code for
36         drawing and measuring of runs up into the Font class.  The fast code
37         path is in Font.cpp and is designed to be mostly cross-platform.  The
38         slow code path is in FontMac.cpp and is Mac-specific.
39
40         Reviewed by darin
41
42         * WebCore.xcodeproj/project.pbxproj:
43         * platform/Font.cpp:
44         (WebCore::isSpace):
45         (WebCore::):
46         (WebCore::isRoundingHackCharacter):
47         (WebCore::m_finalRoundingWidth):
48         (WebCore::WidthIterator::advance):
49         (WebCore::WidthIterator::normalizeVoicingMarks):
50         (WebCore::Font::primaryFont):
51         (WebCore::Font::setAlwaysUseComplexPath):
52         (WebCore::Font::canUseGlyphCache):
53         (WebCore::Font::drawSimpleText):
54         (WebCore::Font::drawText):
55         (WebCore::Font::floatWidth):
56         (WebCore::Font::floatWidthForSimpleText):
57         * platform/Font.h:
58         * platform/FontData.h:
59         (WebCore::FontData::platformData):
60         * platform/GlyphBuffer.h: Added.
61         (WebCore::GlyphBuffer::GlyphBuffer):
62         (WebCore::GlyphBuffer::isEmpty):
63         (WebCore::GlyphBuffer::size):
64         (WebCore::GlyphBuffer::glyphs):
65         (WebCore::GlyphBuffer::advances):
66         (WebCore::GlyphBuffer::fontDataAt):
67         (WebCore::GlyphBuffer::swap):
68         (WebCore::GlyphBuffer::glyphAt):
69         (WebCore::GlyphBuffer::advanceAt):
70         (WebCore::GlyphBuffer::add):
71         * platform/mac/FontData.mm:
72         (WebCore::isSpace):
73         (WebCore::isRoundingHackCharacter):
74         (WebCore::FontData::widthForGlyph):
75         (WebCore::m_ATSUMirrors):
76         (WebCore::FontData::xHeight):
77         (WebCore::FontData::smallCapsFontData):
78         (WebCore::findSubstituteFont):
79         (WebCore::rendererForAlternateFont):
80         (WebCore::findSubstituteRenderer):
81         (WebCore::FontData::findSubstituteFontData):
82         (WebCore::computeWidthForSpace):
83         (WebCore::FontData::updateGlyphMapEntry):
84         (WebCore::extendGlyphMap):
85         (WebCore::extendWidthMap):
86         (WebCore::createATSULayoutParameters):
87         (WebCore::FontData::glyphForCharacter):
88         (WebCore::advanceWidthIterator):
89         (WebCore::shouldUseATSU):
90         * platform/mac/FontMac.mm:
91         (WebCore::ATSULayoutParameters::m_padPerSpace):
92         (WebCore::addDirectionalOverride):
93         (WebCore::initializeATSUStyle):
94         (WebCore::overrideLayoutOperation):
95         (WebCore::ATSULayoutParameters::initialize):
96         (WebCore::disposeATSULayoutParameters):
97         (WebCore::Font::drawComplexText):
98         (WebCore::Font::floatWidthForComplexText):
99         (WebCore::Font::drawGlyphs):
100         * platform/mac/WebCoreTextRenderer.mm:
101         (WebCoreSetAlwaysUseATSU):
102
103 2006-05-10  Darin Adler  <darin@apple.com>
104
105         - another try at fixing the Windows build
106
107         * platform/win/FontWin.cpp: (WebCore::getFontData): Use characters()
108         instead of unicode().
109
110 == Rolled over to ChangeLog-2006-05-10 ==