Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(638)

Unified Diff: third_party/WebKit/WebCore/platform/graphics/opentype/OpenTypeUtilities.cpp

Issue 16494: Add dynamic web font support to Chrome's port of Webkit. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/WebCore/platform/graphics/opentype/OpenTypeUtilities.cpp
===================================================================
--- third_party/WebKit/WebCore/platform/graphics/opentype/OpenTypeUtilities.cpp (revision 0)
+++ third_party/WebKit/WebCore/platform/graphics/opentype/OpenTypeUtilities.cpp (working copy)
@@ -69,6 +69,15 @@
BigEndianULong length;
};
+#if !PLATFORM(CG)
+// Fixed type is not defined on non-CG platforms. |version| in sfntHeader
+// and headTable and |fontRevision| in headTable are of Fixed, but they're
+// not actually refered to anywhere. Therefore, we just have to match
+// the size (4 bytes). For the definition of Fixed type, see
+// http://developer.apple.com/documentation/mac/Legacy/GXEnvironment/GXEnvironment-356.html#HEADING356-6.
+typedef int32_t Fixed;
+#endif
+
struct sfntHeader {
Fixed version;
BigEndianUShort numTables;
Property changes on: third_party\WebKit\WebCore\platform\graphics\opentype\OpenTypeUtilities.cpp
___________________________________________________________________
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/deps/third_party/WebKit/WebCore/platform/graphics/win/OpenTypeUtilities.cpp:r3734-4214,4606-5108,5177-5263

Powered by Google App Engine
This is Rietveld 408576698