Skip to content
  • Matan Ziv-Av's avatar
    Draw characters in exact positions · 76f879cd
    Matan Ziv-Av authored and Kurt Hindenburg's avatar Kurt Hindenburg committed
    QT can't be made to draw monospaced text (if the font does not cooperate),
    so avoid combining characters, using a QPainter::drawText() call for each
    character.
    
    For bidi text support this change requires konsole to reorder and reshape
    the characters. This is done using the ICU library (which QT also uses).
    
    This change allows for some improvements related to text rendering:
    
    - More precise bidi reordering, which is no longer changed by characters'
      attributes and selection.
    - underlines drawn separately from the text, allowing for differing
      underline modes (double, curly, dashed, dotted, colored).
    - Overriding font for emoji characters.
    
    This commit fixes a few bugs and addresses a lot more:
    
    Feature requests: More standard conforming RTL and various underlines:
    BUG: 403729
    BUG: 387811
    
    Using non-monospace font:
    BUG: 416508
    BUG: 452087
    BUG: 425973
    BUG: 430822
    BUG: 442742
    BUG: 441037
    BUG: 430822
    
    
    
    Emoji:
    BUG: 440070
    CCBUG: 450017
    CCBUG: 445846
    CCBUG: 453086
    
    Regressio...
    76f879cd