| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2003, 2006, 2007, 2010, 2011 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2006, 2007, 2010, 2011 Apple Inc. All rights reserved. |
| 6 * Copyright (C) 2008 Holger Hans Peter Freyther | 6 * Copyright (C) 2008 Holger Hans Peter Freyther |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 int emphasisMarkAscent(const AtomicString&) const; | 141 int emphasisMarkAscent(const AtomicString&) const; |
| 142 int emphasisMarkDescent(const AtomicString&) const; | 142 int emphasisMarkDescent(const AtomicString&) const; |
| 143 int emphasisMarkHeight(const AtomicString&) const; | 143 int emphasisMarkHeight(const AtomicString&) const; |
| 144 | 144 |
| 145 const SimpleFontData* primaryFont() const; | 145 const SimpleFontData* primaryFont() const; |
| 146 const FontData* fontDataAt(unsigned) const; | 146 const FontData* fontDataAt(unsigned) const; |
| 147 inline GlyphData glyphDataForCharacter(UChar32 c, bool mirror, FontDataVaria
nt variant = AutoVariant) const | 147 inline GlyphData glyphDataForCharacter(UChar32 c, bool mirror, FontDataVaria
nt variant = AutoVariant) const |
| 148 { | 148 { |
| 149 return glyphDataAndPageForCharacter(c, mirror, variant).first; | 149 return glyphDataAndPageForCharacter(c, mirror, variant).first; |
| 150 } | 150 } |
| 151 #if PLATFORM(MAC) || (PLATFORM(CHROMIUM) && OS(DARWIN)) | 151 #if OS(DARWIN) |
| 152 const SimpleFontData* fontDataForCombiningCharacterSequence(const UChar*, si
ze_t length, FontDataVariant) const; | 152 const SimpleFontData* fontDataForCombiningCharacterSequence(const UChar*, si
ze_t length, FontDataVariant) const; |
| 153 #endif | 153 #endif |
| 154 std::pair<GlyphData, GlyphPage*> glyphDataAndPageForCharacter(UChar32, bool
mirror, FontDataVariant = AutoVariant) const; | 154 std::pair<GlyphData, GlyphPage*> glyphDataAndPageForCharacter(UChar32, bool
mirror, FontDataVariant = AutoVariant) const; |
| 155 bool primaryFontHasGlyphForCharacter(UChar32) const; | 155 bool primaryFontHasGlyphForCharacter(UChar32) const; |
| 156 | 156 |
| 157 static bool isCJKIdeograph(UChar32); | 157 static bool isCJKIdeograph(UChar32); |
| 158 static bool isCJKIdeographOrSymbol(UChar32); | 158 static bool isCJKIdeographOrSymbol(UChar32); |
| 159 | 159 |
| 160 static unsigned expansionOpportunityCount(const LChar*, size_t length, TextD
irection, bool& isAfterExpansion); | 160 static unsigned expansionOpportunityCount(const LChar*, size_t length, TextD
irection, bool& isAfterExpansion); |
| 161 static unsigned expansionOpportunityCount(const UChar*, size_t length, TextD
irection, bool& isAfterExpansion); | 161 static unsigned expansionOpportunityCount(const UChar*, size_t length, TextD
irection, bool& isAfterExpansion); |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 | 332 |
| 333 } | 333 } |
| 334 | 334 |
| 335 namespace WTF { | 335 namespace WTF { |
| 336 | 336 |
| 337 template <> void deleteOwnedPtr<WebCore::TextLayout>(WebCore::TextLayout*); | 337 template <> void deleteOwnedPtr<WebCore::TextLayout>(WebCore::TextLayout*); |
| 338 | 338 |
| 339 } | 339 } |
| 340 | 340 |
| 341 #endif | 341 #endif |
| OLD | NEW |