| 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 17 matching lines...) Expand all Loading... |
| 28 #include "platform/LayoutUnit.h" | 28 #include "platform/LayoutUnit.h" |
| 29 #include "platform/PlatformExport.h" | 29 #include "platform/PlatformExport.h" |
| 30 #include "platform/fonts/FontDescription.h" | 30 #include "platform/fonts/FontDescription.h" |
| 31 #include "platform/fonts/FontFallbackList.h" | 31 #include "platform/fonts/FontFallbackList.h" |
| 32 #include "platform/fonts/FontFallbackPriority.h" | 32 #include "platform/fonts/FontFallbackPriority.h" |
| 33 #include "platform/fonts/SimpleFontData.h" | 33 #include "platform/fonts/SimpleFontData.h" |
| 34 #include "platform/graphics/paint/PaintCanvas.h" | 34 #include "platform/graphics/paint/PaintCanvas.h" |
| 35 #include "platform/graphics/paint/PaintFlags.h" | 35 #include "platform/graphics/paint/PaintFlags.h" |
| 36 #include "platform/text/TabSize.h" | 36 #include "platform/text/TabSize.h" |
| 37 #include "platform/text/TextDirection.h" | 37 #include "platform/text/TextDirection.h" |
| 38 #include "wtf/Allocator.h" | 38 #include "platform/wtf/Allocator.h" |
| 39 #include "wtf/HashMap.h" | 39 #include "platform/wtf/HashMap.h" |
| 40 #include "wtf/HashSet.h" | 40 #include "platform/wtf/HashSet.h" |
| 41 #include "wtf/MathExtras.h" | 41 #include "platform/wtf/MathExtras.h" |
| 42 #include "wtf/text/CharacterNames.h" | 42 #include "platform/wtf/text/CharacterNames.h" |
| 43 | 43 |
| 44 namespace blink { | 44 namespace blink { |
| 45 | 45 |
| 46 struct CharacterRange; | 46 struct CharacterRange; |
| 47 class FloatPoint; | 47 class FloatPoint; |
| 48 class FloatRect; | 48 class FloatRect; |
| 49 class FontFallbackIterator; | 49 class FontFallbackIterator; |
| 50 class FontData; | 50 class FontData; |
| 51 class FontSelector; | 51 class FontSelector; |
| 52 class ShapeCache; | 52 class ShapeCache; |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 // advance an additional tab stop. | 230 // advance an additional tab stop. |
| 231 if (distanceToTabStop < fontData->spaceWidth() / 2) | 231 if (distanceToTabStop < fontData->spaceWidth() / 2) |
| 232 distanceToTabStop += baseTabWidth; | 232 distanceToTabStop += baseTabWidth; |
| 233 | 233 |
| 234 return distanceToTabStop; | 234 return distanceToTabStop; |
| 235 } | 235 } |
| 236 | 236 |
| 237 } // namespace blink | 237 } // namespace blink |
| 238 | 238 |
| 239 #endif | 239 #endif |
| OLD | NEW |