OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2002, 2003 The Karbon Developers | 2 * Copyright (C) 2002, 2003 The Karbon Developers |
3 * Copyright (C) 2006, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2006, 2007 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2013 Apple Inc. All rights reserved. | 4 * Copyright (C) 2013 Apple Inc. 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 return false; | 72 return false; |
73 if (skipOptionalSVGSpaces(ptr, end)) { | 73 if (skipOptionalSVGSpaces(ptr, end)) { |
74 if (ptr < end && *ptr == delimiter) { | 74 if (ptr < end && *ptr == delimiter) { |
75 ptr++; | 75 ptr++; |
76 skipOptionalSVGSpaces(ptr, end); | 76 skipOptionalSVGSpaces(ptr, end); |
77 } | 77 } |
78 } | 78 } |
79 return ptr < end; | 79 return ptr < end; |
80 } | 80 } |
81 | 81 |
| 82 #if ENABLE(SVG_FONTS) |
82 Vector<String> parseDelimitedString(const String& input, const char seperator); | 83 Vector<String> parseDelimitedString(const String& input, const char seperator); |
83 bool parseKerningUnicodeString(const String& input, UnicodeRanges&, HashSet<Stri
ng>& stringList); | 84 bool parseKerningUnicodeString(const String& input, UnicodeRanges&, HashSet<Stri
ng>& stringList); |
84 bool parseGlyphName(const String& input, HashSet<String>& values); | 85 bool parseGlyphName(const String& input, HashSet<String>& values); |
| 86 #endif |
85 | 87 |
86 template<typename CharType> | 88 template<typename CharType> |
87 bool parseAndSkipTransformType(const CharType*& ptr, const CharType* end, SVGTra
nsformType&); | 89 bool parseAndSkipTransformType(const CharType*& ptr, const CharType* end, SVGTra
nsformType&); |
88 SVGTransformType parseTransformType(const String&); | 90 SVGTransformType parseTransformType(const String&); |
89 | 91 |
90 } // namespace blink | 92 } // namespace blink |
91 | 93 |
92 #endif // SVGParserUtilities_h | 94 #endif // SVGParserUtilities_h |
OLD | NEW |