[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

eric at webkit.org eric at webkit.org
Thu Apr 8 00:12:01 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit a112fe5a8ab3642488b868d49d1328e36f340e92
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Dec 2 19:17:46 2009 +0000

    2009-12-02  Yusuke Sato  <yusukes at chromium.org>
    
            Reviewed by Dan Bernstein.
    
            Safari/Chromium for Windows fails to load CJK WebFonts
            https://bugs.webkit.org/show_bug.cgi?id=31804
    
            * platform/graphics/opentype/OpenTypeUtilities.cpp:
            (WebCore::renameAndActivateFont): Load a remote font even if the font has 2 or more faces.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51605 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 52d7fe2..0884c7c 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,13 @@
+2009-12-02  Yusuke Sato  <yusukes at chromium.org>
+
+        Reviewed by Dan Bernstein.
+
+        Safari/Chromium for Windows fails to load CJK WebFonts
+        https://bugs.webkit.org/show_bug.cgi?id=31804
+        
+        * platform/graphics/opentype/OpenTypeUtilities.cpp:
+        (WebCore::renameAndActivateFont): Load a remote font even if the font has 2 or more faces.
+
 2009-12-02  Avi Drissman  <avi at chromium.org>
 
         Reviewed by Darin Fisher.
diff --git a/WebCore/platform/graphics/opentype/OpenTypeUtilities.cpp b/WebCore/platform/graphics/opentype/OpenTypeUtilities.cpp
index b2e3d92..3a60160 100644
--- a/WebCore/platform/graphics/opentype/OpenTypeUtilities.cpp
+++ b/WebCore/platform/graphics/opentype/OpenTypeUtilities.cpp
@@ -435,7 +435,7 @@ HANDLE renameAndActivateFont(SharedBuffer* fontData, const String& fontName)
     DWORD numFonts = 0;
     HANDLE fontHandle = AddFontMemResourceEx(rewrittenFontData.data(), fontData->size() + nameTableSize, 0, &numFonts);
 
-    if (fontHandle && numFonts != 1) {
+    if (fontHandle && numFonts < 1) {
         RemoveFontMemResourceEx(fontHandle);
         return 0;
     }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list