OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2006, 2007, 2008, Google Inc. All rights reserved. | 2 * Copyright (c) 2006, 2007, 2008, Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 m_style.hintStyle = style; | 132 m_style.hintStyle = style; |
133 } | 133 } |
134 #endif | 134 #endif |
135 bool fontContainsCharacter(UChar32 character); | 135 bool fontContainsCharacter(UChar32 character); |
136 | 136 |
137 #if ENABLE(OPENTYPE_VERTICAL) | 137 #if ENABLE(OPENTYPE_VERTICAL) |
138 PassRefPtr<OpenTypeVerticalData> verticalData() const; | 138 PassRefPtr<OpenTypeVerticalData> verticalData() const; |
139 PassRefPtr<SharedBuffer> openTypeTable(uint32_t table) const; | 139 PassRefPtr<SharedBuffer> openTypeTable(uint32_t table) const; |
140 #endif | 140 #endif |
141 | 141 |
142 #ifndef NDEBUG | |
143 String description() const; | |
144 #endif | |
145 | |
146 #if !OS(MACOSX) | 142 #if !OS(MACOSX) |
147 // The returned styles are all actual styles without FontRenderStyle::NoPref
erence. | 143 // The returned styles are all actual styles without FontRenderStyle::NoPref
erence. |
148 const FontRenderStyle& fontRenderStyle() const { return m_style; } | 144 const FontRenderStyle& fontRenderStyle() const { return m_style; } |
149 void setupPaint(SkPaint*, GraphicsContext* = 0) const; | 145 void setupPaint(SkPaint*, GraphicsContext* = 0) const; |
150 #endif | 146 #endif |
151 | 147 |
152 #if OS(WIN) | 148 #if OS(WIN) |
153 int paintTextFlags() const { return m_paintTextFlags; } | 149 int paintTextFlags() const { return m_paintTextFlags; } |
154 #else | 150 #else |
155 static void setHinting(SkPaint::Hinting); | 151 static void setHinting(SkPaint::Hinting); |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 int m_paintTextFlags; | 204 int m_paintTextFlags; |
209 bool m_useSubpixelPositioning; | 205 bool m_useSubpixelPositioning; |
210 unsigned m_minSizeForAntiAlias; | 206 unsigned m_minSizeForAntiAlias; |
211 float m_minSizeForSubpixel; | 207 float m_minSizeForSubpixel; |
212 #endif | 208 #endif |
213 }; | 209 }; |
214 | 210 |
215 } // namespace blink | 211 } // namespace blink |
216 | 212 |
217 #endif // ifdef FontPlatformData_h | 213 #endif // ifdef FontPlatformData_h |
OLD | NEW |