Title: [133563] trunk/Source/WebCore
Revision
133563
Author
[email protected]
Date
2012-11-05 22:43:10 -0800 (Mon, 05 Nov 2012)

Log Message

Unreviewed, Adding #if PLATFORM(CHROMIUM) for the fix of
https://bugs.webkit.org/show_bug.cgi?id=101009

This fix requires the most recent version of harfbuzz-ng.
EFL port uses version 0.9.2, which doesn't have the fix.

* platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp:
(WebCore::HarfBuzzShaper::shapeHarfBuzzRuns):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (133562 => 133563)


--- trunk/Source/WebCore/ChangeLog	2012-11-06 06:41:29 UTC (rev 133562)
+++ trunk/Source/WebCore/ChangeLog	2012-11-06 06:43:10 UTC (rev 133563)
@@ -1,3 +1,14 @@
+2012-11-05  Kenichi Ishibashi  <[email protected]>
+
+        Unreviewed, Adding #if PLATFORM(CHROMIUM) for the fix of
+        https://bugs.webkit.org/show_bug.cgi?id=101009
+
+        This fix requires the most recent version of harfbuzz-ng.
+        EFL port uses version 0.9.2, which doesn't have the fix.
+
+        * platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp:
+        (WebCore::HarfBuzzShaper::shapeHarfBuzzRuns):
+
 2012-11-05  Glenn Adams  <[email protected]>
 
         Ensure acquireLineBreakIterator signature consistency on non-ICU ports.

Modified: trunk/Source/WebCore/platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp (133562 => 133563)


--- trunk/Source/WebCore/platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp	2012-11-06 06:41:29 UTC (rev 133562)
+++ trunk/Source/WebCore/platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp	2012-11-06 06:43:10 UTC (rev 133563)
@@ -322,10 +322,13 @@
         HarfBuzzRun* currentRun = m_harfbuzzRuns[runIndex].get();
         const SimpleFontData* currentFontData = currentRun->fontData();
 
+        // This #if should be removed after all ports update harfbuzz-ng.
+#if PLATFORM(CHROMIUM)
         // Add a space as pre-context to the buffer. This prevents showing dotted-circle
         // for combining marks at the beginning of runs.
         static const uint16_t preContext = ' ';
         hb_buffer_add_utf16(harfbuzzBuffer.get(), &preContext, 1, 1, 0);
+#endif
 
         if (m_font->isSmallCaps() && u_islower(m_normalizedBuffer[currentRun->startIndex()])) {
             String upperText = String(m_normalizedBuffer.get() + currentRun->startIndex(), currentRun->numCharacters());
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to