OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org> |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 #include "SVGNames.h" | 25 #include "SVGNames.h" |
26 #include "XMLNames.h" | 26 #include "XMLNames.h" |
27 #include "core/platform/graphics/SVGGlyph.h" | 27 #include "core/platform/graphics/SVGGlyph.h" |
28 #include "core/platform/graphics/TextRun.h" | 28 #include "core/platform/graphics/TextRun.h" |
29 #include "core/platform/graphics/WidthIterator.h" | 29 #include "core/platform/graphics/WidthIterator.h" |
30 #include "core/rendering/RenderObject.h" | 30 #include "core/rendering/RenderObject.h" |
31 #include "core/rendering/svg/SVGTextRunRenderingContext.h" | 31 #include "core/rendering/svg/SVGTextRunRenderingContext.h" |
32 #include "core/svg/SVGAltGlyphElement.h" | 32 #include "core/svg/SVGAltGlyphElement.h" |
33 #include "core/svg/SVGFontElement.h" | 33 #include "core/svg/SVGFontElement.h" |
| 34 #include "core/svg/SVGFontFaceElement.h" |
| 35 #include "core/svg/SVGGlyphElement.h" |
34 #include <wtf/text/StringBuilder.h> | 36 #include <wtf/text/StringBuilder.h> |
35 #include <wtf/unicode/CharacterNames.h> | 37 #include <wtf/unicode/CharacterNames.h> |
36 #include <wtf/unicode/Unicode.h> | 38 #include <wtf/unicode/Unicode.h> |
37 | 39 |
38 using namespace WTF; | 40 using namespace WTF; |
39 using namespace Unicode; | 41 using namespace Unicode; |
40 | 42 |
41 namespace WebCore { | 43 namespace WebCore { |
42 | 44 |
43 SVGFontData::SVGFontData(SVGFontFaceElement* fontFaceElement) | 45 SVGFontData::SVGFontData(SVGFontFaceElement* fontFaceElement) |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 U16_NEXT(characters, i, length, character); | 299 U16_NEXT(characters, i, length, character); |
298 mirroredCharacters.append(mirroredChar(character)); | 300 mirroredCharacters.append(mirroredChar(character)); |
299 } | 301 } |
300 | 302 |
301 return mirroredCharacters.toString(); | 303 return mirroredCharacters.toString(); |
302 } | 304 } |
303 | 305 |
304 } // namespace WebCore | 306 } // namespace WebCore |
305 | 307 |
306 #endif | 308 #endif |
OLD | NEW |