Title: [109080] trunk/Source/WebCore
- Revision
- 109080
- Author
- commit-qu...@webkit.org
- Date
- 2012-02-27 22:49:21 -0800 (Mon, 27 Feb 2012)
Log Message
kCTFontTableOptionExcludeSynthetic is unneeded
https://bugs.webkit.org/show_bug.cgi?id=79744
Patch by Ned Holbrook <nholbr...@apple.com> on 2012-02-27
Reviewed by Dan Bernstein.
The aforementioned option is a no-op, so no new tests.
* platform/graphics/mac/SimpleFontDataMac.mm:
(WebCore::fontHasVerticalGlyphs): Specify no options.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (109079 => 109080)
--- trunk/Source/WebCore/ChangeLog 2012-02-28 06:47:29 UTC (rev 109079)
+++ trunk/Source/WebCore/ChangeLog 2012-02-28 06:49:21 UTC (rev 109080)
@@ -1,3 +1,15 @@
+2012-02-27 Ned Holbrook <nholbr...@apple.com>
+
+ kCTFontTableOptionExcludeSynthetic is unneeded
+ https://bugs.webkit.org/show_bug.cgi?id=79744
+
+ Reviewed by Dan Bernstein.
+
+ The aforementioned option is a no-op, so no new tests.
+
+ * platform/graphics/mac/SimpleFontDataMac.mm:
+ (WebCore::fontHasVerticalGlyphs): Specify no options.
+
2012-02-27 Wei James <james....@intel.com>
Multi-Channel support in AudioBufferSourceNode
Modified: trunk/Source/WebCore/platform/graphics/mac/SimpleFontDataMac.mm (109079 => 109080)
--- trunk/Source/WebCore/platform/graphics/mac/SimpleFontDataMac.mm 2012-02-28 06:47:29 UTC (rev 109079)
+++ trunk/Source/WebCore/platform/graphics/mac/SimpleFontDataMac.mm 2012-02-28 06:49:21 UTC (rev 109080)
@@ -57,7 +57,7 @@
static bool fontHasVerticalGlyphs(CTFontRef ctFont)
{
// The check doesn't look neat but this is what AppKit does for vertical writing...
- RetainPtr<CFArrayRef> tableTags(AdoptCF, CTFontCopyAvailableTables(ctFont, kCTFontTableOptionExcludeSynthetic));
+ RetainPtr<CFArrayRef> tableTags(AdoptCF, CTFontCopyAvailableTables(ctFont, kCTFontTableOptionNoOptions));
CFIndex numTables = CFArrayGetCount(tableTags.get());
for (CFIndex index = 0; index < numTables; ++index) {
CTFontTableTag tag = (CTFontTableTag)(uintptr_t)CFArrayGetValueAtIndex(tableTags.get(), index);
@@ -72,7 +72,6 @@
if (!fontData->platformData().cgFont())
return false;
-
return true;
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes