| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of the internal font implementation. | 2 * This file is part of the internal font implementation. |
| 3 * | 3 * |
| 4 * Copyright (C) 2006, 2008, 2010 Apple Inc. All rights reserved. | 4 * Copyright (C) 2006, 2008, 2010 Apple Inc. All rights reserved. |
| 5 * Copyright (C) 2007-2008 Torch Mobile, Inc. | 5 * Copyright (C) 2007-2008 Torch Mobile, Inc. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 #include "core/platform/graphics/FloatRect.h" | 27 #include "core/platform/graphics/FloatRect.h" |
| 28 #include "core/platform/graphics/FontBaseline.h" | 28 #include "core/platform/graphics/FontBaseline.h" |
| 29 #include "core/platform/graphics/FontData.h" | 29 #include "core/platform/graphics/FontData.h" |
| 30 #include "core/platform/graphics/FontMetrics.h" | 30 #include "core/platform/graphics/FontMetrics.h" |
| 31 #include "core/platform/graphics/FontPlatformData.h" | 31 #include "core/platform/graphics/FontPlatformData.h" |
| 32 #include "core/platform/graphics/GlyphBuffer.h" | 32 #include "core/platform/graphics/GlyphBuffer.h" |
| 33 #include "core/platform/graphics/GlyphMetricsMap.h" | 33 #include "core/platform/graphics/GlyphMetricsMap.h" |
| 34 #include "core/platform/graphics/GlyphPageTreeNode.h" | 34 #include "core/platform/graphics/GlyphPageTreeNode.h" |
| 35 #if ENABLE(OPENTYPE_VERTICAL) | 35 #if ENABLE(OPENTYPE_VERTICAL) |
| 36 #include "OpenTypeVerticalData.h" | 36 #include "core/platform/graphics/opentype/OpenTypeVerticalData.h" |
| 37 #endif | 37 #endif |
| 38 #include "core/platform/graphics/TypesettingFeatures.h" | 38 #include "core/platform/graphics/TypesettingFeatures.h" |
| 39 #include <wtf/OwnPtr.h> | 39 #include <wtf/OwnPtr.h> |
| 40 #include <wtf/PassOwnPtr.h> | 40 #include <wtf/PassOwnPtr.h> |
| 41 #include <wtf/text/StringHash.h> | 41 #include <wtf/text/StringHash.h> |
| 42 #include <wtf/UnusedParam.h> | 42 #include <wtf/UnusedParam.h> |
| 43 | 43 |
| 44 #if OS(DARWIN) | 44 #if OS(DARWIN) |
| 45 #include <wtf/RetainPtr.h> | 45 #include <wtf/RetainPtr.h> |
| 46 #endif | 46 #endif |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 #endif | 311 #endif |
| 312 else | 312 else |
| 313 width = platformWidthForGlyph(glyph); | 313 width = platformWidthForGlyph(glyph); |
| 314 | 314 |
| 315 m_glyphToWidthMap.setMetricsForGlyph(glyph, width); | 315 m_glyphToWidthMap.setMetricsForGlyph(glyph, width); |
| 316 return width; | 316 return width; |
| 317 } | 317 } |
| 318 | 318 |
| 319 } // namespace WebCore | 319 } // namespace WebCore |
| 320 #endif // SimpleFontData_h | 320 #endif // SimpleFontData_h |
| OLD | NEW |