simon-git: putty (master): Simon Tatham

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Sun Mar 20 20:08:25 GMT 2016


TL;DR:
  6ef6cb1 Fix goof in Pango bidi suppression.

Repository:     git://git.tartarus.org/simon/putty.git
On the web:     http://tartarus.org/~simon-git/gitweb/?p=putty.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2016-03-20 20:08:25

commit 6ef6cb1573a9a587e4912f735ad837f149f50a5a
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=6ef6cb1573a9a587e4912f735ad837f149f50a5a;hp=eb4730e0bf89ebc2e4e8cb3acf8eae053323f29d
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Mar 20 20:04:26 2016 +0000

    Fix goof in Pango bidi suppression.
    
    When we're displaying bidirectionally active text (that is, text that
    the Unicode bidi algorithm will fiddle with), we need to suppress
    Pango's bidi because we've already done our own. We were doing this by
    calling is_rtl() on each character, and if it returned true,
    displaying just that character in a separate Pango call.
    
    Except that, ahem, we were only doing this if the _first_ character
    encountered during a scan of the display buffer was rtl-sensitive. If
    the first one was fine but a subsequent one was rtl-sensitive, then
    that one would just get shoved into the buffer we'd already started.
    
    Running pterm -fn 'client:Monospace 12' and displaying
    testdata/utf8.txt now works again.

 unix/gtkfont.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)



More information about the tartarus-commits mailing list