| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
| 3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> | 3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> |
| 4 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 64 |
| 65 // Used by SimpleFontData/WidthIterator. | 65 // Used by SimpleFontData/WidthIterator. |
| 66 SVGGlyph svgGlyphForGlyph(Glyph); | 66 SVGGlyph svgGlyphForGlyph(Glyph); |
| 67 Glyph missingGlyph(); | 67 Glyph missingGlyph(); |
| 68 | 68 |
| 69 SVGMissingGlyphElement* firstMissingGlyphElement() const; | 69 SVGMissingGlyphElement* firstMissingGlyphElement() const; |
| 70 | 70 |
| 71 private: | 71 private: |
| 72 explicit SVGFontElement(Document&); | 72 explicit SVGFontElement(Document&); |
| 73 | 73 |
| 74 virtual bool rendererIsNeeded(const RenderStyle&) { return false; } | 74 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; } |
| 75 | 75 |
| 76 void ensureGlyphCache(); | 76 void ensureGlyphCache(); |
| 77 void registerLigaturesInGlyphCache(Vector<String>&); | 77 void registerLigaturesInGlyphCache(Vector<String>&); |
| 78 | 78 |
| 79 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFontElement) | 79 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFontElement) |
| 80 END_DECLARE_ANIMATED_PROPERTIES | 80 END_DECLARE_ANIMATED_PROPERTIES |
| 81 | 81 |
| 82 KerningPairVector m_horizontalKerningPairs; | 82 KerningPairVector m_horizontalKerningPairs; |
| 83 KerningPairVector m_verticalKerningPairs; | 83 KerningPairVector m_verticalKerningPairs; |
| 84 SVGGlyphMap m_glyphMap; | 84 SVGGlyphMap m_glyphMap; |
| 85 Glyph m_missingGlyph; | 85 Glyph m_missingGlyph; |
| 86 bool m_isGlyphCacheValid; | 86 bool m_isGlyphCacheValid; |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 DEFINE_NODE_TYPE_CASTS(SVGFontElement, hasTagName(SVGNames::fontTag)); | 89 DEFINE_NODE_TYPE_CASTS(SVGFontElement, hasTagName(SVGNames::fontTag)); |
| 90 | 90 |
| 91 } // namespace WebCore | 91 } // namespace WebCore |
| 92 | 92 |
| 93 #endif // ENABLE(SVG_FONTS) | 93 #endif // ENABLE(SVG_FONTS) |
| 94 #endif | 94 #endif |
| OLD | NEW |