Index: Source/WebCore/platform/graphics/SimpleFontData.h |
diff --git a/Source/WebCore/platform/graphics/SimpleFontData.h b/Source/WebCore/platform/graphics/SimpleFontData.h |
index bc41376c440fb720e274bdf014e47706bca38af6..11917840c6eed2ecc36a2483b27bdc3728fe59a1 100644 |
--- a/Source/WebCore/platform/graphics/SimpleFontData.h |
+++ b/Source/WebCore/platform/graphics/SimpleFontData.h |
@@ -53,10 +53,6 @@ |
#include <usp10.h> |
#endif |
-#if PLATFORM(QT) |
-#include <QRawFont> |
-#endif |
- |
namespace WebCore { |
class FontDescription; |
@@ -198,9 +194,6 @@ public: |
#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED > 1080 |
wkCTFontTransformOptions options = (typesettingFeatures & Kerning ? wkCTFontTransformApplyPositioning : 0) | (typesettingFeatures & Ligatures ? wkCTFontTransformApplyShaping : 0); |
return wkCTFontTransformGlyphs(m_platformData.ctFont(), glyphs, reinterpret_cast<CGSize*>(advances), glyphCount, options); |
-#elif PLATFORM(QT) && QT_VERSION >= 0x050100 |
- QRawFont::LayoutFlags flags = (typesettingFeatures & Kerning) ? QRawFont::KernedAdvances : QRawFont::SeparateAdvances; |
- return m_platformData.rawFont().advancesForGlyphIndexes(glyphs, advances, glyphCount, flags); |
#else |
UNUSED_PARAM(glyphs); |
UNUSED_PARAM(advances); |
@@ -210,10 +203,6 @@ public: |
#endif |
} |
-#if PLATFORM(QT) |
- QRawFont getQtRawFont() const { return m_platformData.rawFont(); } |
-#endif |
- |
#if PLATFORM(WIN) |
bool isSystemFont() const { return m_isSystemFont; } |
#if !OS(WINCE) // disable unused members to save space |