| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 explicit SVGFontElement(Document&); | 74 explicit SVGFontElement(Document&); |
| 75 | 75 |
| 76 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; } | 76 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; } |
| 77 | 77 |
| 78 void ensureGlyphCache(); | 78 void ensureGlyphCache(); |
| 79 void registerLigaturesInGlyphCache(Vector<String>&); | 79 void registerLigaturesInGlyphCache(Vector<String>&); |
| 80 Vector<SVGGlyph> buildGlyphList(const UnicodeRanges&, const HashSet<String>&
unicodeNames, const HashSet<String>& glyphNames) const; | 80 Vector<SVGGlyph> buildGlyphList(const UnicodeRanges&, const HashSet<String>&
unicodeNames, const HashSet<String>& glyphNames) const; |
| 81 void addPairsToKerningTable(const SVGKerningPair&, KerningTable&); | 81 void addPairsToKerningTable(const SVGKerningPair&, KerningTable&); |
| 82 void buildKerningTable(const KerningPairVector&, KerningTable&); | 82 void buildKerningTable(const KerningPairVector&, KerningTable&); |
| 83 | 83 |
| 84 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFontElement) | |
| 85 END_DECLARE_ANIMATED_PROPERTIES | |
| 86 | 84 |
| 87 KerningTable m_horizontalKerningTable; | 85 KerningTable m_horizontalKerningTable; |
| 88 KerningTable m_verticalKerningTable; | 86 KerningTable m_verticalKerningTable; |
| 89 SVGGlyphMap m_glyphMap; | 87 SVGGlyphMap m_glyphMap; |
| 90 Glyph m_missingGlyph; | 88 Glyph m_missingGlyph; |
| 91 bool m_isGlyphCacheValid; | 89 bool m_isGlyphCacheValid; |
| 92 }; | 90 }; |
| 93 | 91 |
| 94 DEFINE_NODE_TYPE_CASTS(SVGFontElement, hasTagName(SVGNames::fontTag)); | 92 DEFINE_NODE_TYPE_CASTS(SVGFontElement, hasTagName(SVGNames::fontTag)); |
| 95 | 93 |
| 96 } // namespace WebCore | 94 } // namespace WebCore |
| 97 | 95 |
| 98 #endif // ENABLE(SVG_FONTS) | 96 #endif // ENABLE(SVG_FONTS) |
| 99 #endif | 97 #endif |
| OLD | NEW |