• rjw's avatar
    Fixed 3148932. Account for zero width characters · 77a985bc
    rjw authored
            in <pre> fixed-width optimization.
    
            Reviewed by hyatt.
    
            * khtml/rendering/render_text.cpp:
            (RenderText::widthFromCache):
    
            Reviewed by Richard (written by Mike S.)  'Clean' implementations of these
            functions that were too similar to the Qt implementations.
    
            * kwq/KWQString.mm:
            (QString::left):
            (QString::right):
            (QString::mid):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3344 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    77a985bc
render_text.cpp 39.6 KB