| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2003, 2006, 2007, 2010, 2011 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2006, 2007, 2010, 2011 Apple Inc. All rights reserved. |
| 6 * Copyright (C) 2008 Holger Hans Peter Freyther | 6 * Copyright (C) 2008 Holger Hans Peter Freyther |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 #include "wtf/HashSet.h" | 35 #include "wtf/HashSet.h" |
| 36 #include "wtf/MathExtras.h" | 36 #include "wtf/MathExtras.h" |
| 37 #include "wtf/unicode/CharacterNames.h" | 37 #include "wtf/unicode/CharacterNames.h" |
| 38 | 38 |
| 39 // "X11/X.h" defines Complex to 0 and conflicts | 39 // "X11/X.h" defines Complex to 0 and conflicts |
| 40 // with Complex value in CodePath enum. | 40 // with Complex value in CodePath enum. |
| 41 #ifdef Complex | 41 #ifdef Complex |
| 42 #undef Complex | 42 #undef Complex |
| 43 #endif | 43 #endif |
| 44 | 44 |
| 45 namespace WebCore { | 45 namespace blink { |
| 46 | 46 |
| 47 class FloatPoint; | 47 class FloatPoint; |
| 48 class FloatRect; | 48 class FloatRect; |
| 49 class FontData; | 49 class FontData; |
| 50 class FontMetrics; | 50 class FontMetrics; |
| 51 class FontPlatformData; | 51 class FontPlatformData; |
| 52 class FontSelector; | 52 class FontSelector; |
| 53 class GlyphBuffer; | 53 class GlyphBuffer; |
| 54 class GraphicsContext; | 54 class GraphicsContext; |
| 55 class TextRun; | 55 class TextRun; |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 { | 213 { |
| 214 if (!tabSize) | 214 if (!tabSize) |
| 215 return fontDescription().letterSpacing(); | 215 return fontDescription().letterSpacing(); |
| 216 float tabWidth = tabSize * fontData.spaceWidth() + fontDescription().letterS
pacing(); | 216 float tabWidth = tabSize * fontData.spaceWidth() + fontDescription().letterS
pacing(); |
| 217 return tabWidth - fmodf(position, tabWidth); | 217 return tabWidth - fmodf(position, tabWidth); |
| 218 } | 218 } |
| 219 | 219 |
| 220 } | 220 } |
| 221 | 221 |
| 222 #endif | 222 #endif |
| OLD | NEW |