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 27 matching lines...) Expand all Loading... |
38 #include "wtf/text/StringBuilder.h" | 38 #include "wtf/text/StringBuilder.h" |
39 #include "wtf/unicode/CharacterNames.h" | 39 #include "wtf/unicode/CharacterNames.h" |
40 #include "wtf/unicode/Unicode.h" | 40 #include "wtf/unicode/Unicode.h" |
41 | 41 |
42 using namespace WTF; | 42 using namespace WTF; |
43 using namespace Unicode; | 43 using namespace Unicode; |
44 | 44 |
45 namespace WebCore { | 45 namespace WebCore { |
46 | 46 |
47 SVGFontData::SVGFontData(SVGFontFaceElement* fontFaceElement) | 47 SVGFontData::SVGFontData(SVGFontFaceElement* fontFaceElement) |
48 : CustomFontData(false) | 48 : CustomFontData(false, false) |
49 , m_svgFontFaceElement(fontFaceElement) | 49 , m_svgFontFaceElement(fontFaceElement) |
50 , m_horizontalOriginX(fontFaceElement->horizontalOriginX()) | 50 , m_horizontalOriginX(fontFaceElement->horizontalOriginX()) |
51 , m_horizontalOriginY(fontFaceElement->horizontalOriginY()) | 51 , m_horizontalOriginY(fontFaceElement->horizontalOriginY()) |
52 , m_horizontalAdvanceX(fontFaceElement->horizontalAdvanceX()) | 52 , m_horizontalAdvanceX(fontFaceElement->horizontalAdvanceX()) |
53 , m_verticalOriginX(fontFaceElement->verticalOriginX()) | 53 , m_verticalOriginX(fontFaceElement->verticalOriginX()) |
54 , m_verticalOriginY(fontFaceElement->verticalOriginY()) | 54 , m_verticalOriginY(fontFaceElement->verticalOriginY()) |
55 , m_verticalAdvanceY(fontFaceElement->verticalAdvanceY()) | 55 , m_verticalAdvanceY(fontFaceElement->verticalAdvanceY()) |
56 { | 56 { |
57 ASSERT_ARG(fontFaceElement, fontFaceElement); | 57 ASSERT_ARG(fontFaceElement, fontFaceElement); |
58 } | 58 } |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 mirroredCharacters.append(mirroredChar(character)); | 313 mirroredCharacters.append(mirroredChar(character)); |
314 } | 314 } |
315 } | 315 } |
316 | 316 |
317 return mirroredCharacters.toString(); | 317 return mirroredCharacters.toString(); |
318 } | 318 } |
319 | 319 |
320 } // namespace WebCore | 320 } // namespace WebCore |
321 | 321 |
322 #endif | 322 #endif |
OLD | NEW |