Initial patch.
[vuplus_webkit] / Source / WebCore / platform / graphics / SimpleFontData.h
index caca3d7..dcb79f4 100644 (file)
@@ -34,6 +34,7 @@
 #include "TypesettingFeatures.h"
 #include <wtf/OwnPtr.h>
 #include <wtf/PassOwnPtr.h>
+#include <wtf/text/StringHash.h>
 
 #if USE(ATSUI)
 typedef struct OpaqueATSUStyle* ATSUStyle;
@@ -176,6 +177,10 @@ public:
     CFDictionaryRef getCFStringAttributes(TypesettingFeatures, FontOrientation) const;
 #endif
 
+#if PLATFORM(MAC) || (PLATFORM(CHROMIUM) && OS(DARWIN))
+    bool canRenderCombiningCharacterSequence(const UChar*, size_t) const;
+#endif
+
 #if USE(ATSUI)
     void checkShapesArabic() const;
     bool shapesArabic() const
@@ -289,6 +294,10 @@ private:
     mutable HashMap<unsigned, RetainPtr<CFDictionaryRef> > m_CFStringAttributes;
 #endif
 
+#if PLATFORM(MAC) || (PLATFORM(CHROMIUM) && OS(DARWIN))
+    mutable OwnPtr<HashMap<String, bool> > m_combiningCharacterSequenceSupport;
+#endif
+
 #if PLATFORM(WIN) || (OS(WINDOWS) && PLATFORM(WX))
     bool m_isSystemFont;
 #if !OS(WINCE) // disable unused members to save space