Changeset 62798 in webkit


Ignore:
Timestamp:
Jul 8, 2010 10:26:22 AM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-07-08 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r62778.
http://trac.webkit.org/changeset/62778
https://bugs.webkit.org/show_bug.cgi?id=41866

Broke svg/W3C-SVG-1.1/text-intro-05-t.svg in debug (Requested
by pfeldman on #webkit).

  • fast/text/international/bidi-mirror-he-ar.html: Removed.
  • platform/mac/fast/text/international/bidi-mirror-he-ar-expected.checksum: Removed.
  • platform/mac/fast/text/international/bidi-mirror-he-ar-expected.png: Removed.
  • platform/mac/fast/text/international/bidi-mirror-he-ar-expected.txt: Removed.

2010-07-08 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r62778.
http://trac.webkit.org/changeset/62778
https://bugs.webkit.org/show_bug.cgi?id=41866

Broke svg/W3C-SVG-1.1/text-intro-05-t.svg in debug (Requested
by pfeldman on #webkit).

  • platform/graphics/chromium/FontLinux.cpp: (WebCore::TextRunWalker::TextRunWalker): (WebCore::TextRunWalker::~TextRunWalker):
Location:
trunk
Files:
4 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r62782 r62798  
     12010-07-08  Sheriff Bot  <webkit.review.bot@gmail.com>
     2
     3        Unreviewed, rolling out r62778.
     4        http://trac.webkit.org/changeset/62778
     5        https://bugs.webkit.org/show_bug.cgi?id=41866
     6
     7        Broke svg/W3C-SVG-1.1/text-intro-05-t.svg in debug (Requested
     8        by pfeldman on #webkit).
     9
     10        * fast/text/international/bidi-mirror-he-ar.html: Removed.
     11        * platform/mac/fast/text/international/bidi-mirror-he-ar-expected.checksum: Removed.
     12        * platform/mac/fast/text/international/bidi-mirror-he-ar-expected.png: Removed.
     13        * platform/mac/fast/text/international/bidi-mirror-he-ar-expected.txt: Removed.
     14
    1152010-07-08  Andreas Kling  <andreas.kling@nokia.com>
    216
  • trunk/WebCore/ChangeLog

    r62795 r62798  
     12010-07-08  Sheriff Bot  <webkit.review.bot@gmail.com>
     2
     3        Unreviewed, rolling out r62778.
     4        http://trac.webkit.org/changeset/62778
     5        https://bugs.webkit.org/show_bug.cgi?id=41866
     6
     7        Broke svg/W3C-SVG-1.1/text-intro-05-t.svg in debug (Requested
     8        by pfeldman on #webkit).
     9
     10        * platform/graphics/chromium/FontLinux.cpp:
     11        (WebCore::TextRunWalker::TextRunWalker):
     12        (WebCore::TextRunWalker::~TextRunWalker):
     13
    1142010-07-08  Vitaly Repeshko  <vitalyr@chromium.org>
    215
  • trunk/WebCore/platform/graphics/chromium/FontLinux.cpp

    r62778 r62798  
    5050#include <wtf/OwnArrayPtr.h>
    5151#include <wtf/OwnPtr.h>
    52 #include <wtf/unicode/Unicode.h>
    5352
    5453namespace WebCore {
     
    182181        m_item.font = allocHarfbuzzFont();
    183182
     183        m_item.string = m_run.characters();
     184        m_item.stringLength = m_run.length();
    184185        m_item.item.bidiLevel = m_run.rtl();
    185 
    186         int length = m_run.length();
    187         m_item.stringLength = length;
    188 
    189         if (!m_item.item.bidiLevel)
    190             m_item.string = m_run.characters();
    191         else {
    192             // Assume mirrored character is in the same multilingual plane as the original one.
    193             UChar* string = new UChar[length];
    194             mirrorCharacters(string, m_run.characters(), length);
    195             m_item.string = string;
    196         }
    197186
    198187        reset();
     
    204193        deleteGlyphArrays();
    205194        delete[] m_item.log_clusters;
    206         if (m_item.item.bidiLevel)
    207             delete[] m_item.string;
    208195    }
    209196
     
    469456    }
    470457
    471     void mirrorCharacters(UChar* destination, const UChar* source, int length) const
    472     {
    473         int position = 0;
    474         bool error;
    475         // Iterate characters in source and mirror character if needed.
    476         while (position < length) {
    477             UChar32 character;
    478             int nextPosition = position;
    479             U16_NEXT(source, nextPosition, length, character);
    480             character = u_charMirror(character);
    481             U16_APPEND(destination, position, length, character, error);
    482             ASSERT(!error);
    483             position = nextPosition;
    484         }
    485     }
    486 
    487458    const Font* const m_font;
    488459    HB_ShaperItem m_item;
Note: See TracChangeset for help on using the changeset viewer.