1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00
putty-source/unix
Simon Tatham 6ef6cb1573 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.
2016-03-20 20:06:04 +00:00
..
configure Move the Unix configure script up to the top level. 2014-02-22 18:01:32 +00:00
gtkask.c Don't defer displaying the prompt label in gtkask. 2015-09-26 11:30:59 +01:00
gtkcfg.c On OS X, be able to configure either Option or Command as Meta. 2015-09-01 19:12:19 +01:00
gtkcols.c Make Columns disregard the preferred width of GtkEntry. 2015-08-27 18:59:24 +01:00
gtkcols.h New Columns method, columns_force_same_height(). 2015-08-24 19:34:23 +01:00
gtkcompat.h Avoid using gdk_cursor_new() in GTK 3. 2015-08-31 13:41:16 +01:00
gtkdlg.c Stop copying the licence text into C source code. 2015-12-22 13:33:42 +00:00
gtkfont.c Fix goof in Pango bidi suppression. 2016-03-20 20:06:04 +00:00
gtkfont.h Fix combining character handling in Pango. 2015-09-26 11:30:59 +01:00
gtkmisc.c Implement align_label_left for GTK 3.[14,16). 2015-11-22 23:10:11 +00:00
gtkmisc.h Move more functions into the new gtkmisc.c. 2015-08-31 15:45:43 +01:00
gtkwin.c GTK3: give I/O events lower priority than window redraws. 2016-03-20 19:44:23 +00:00
unix.h Make some static text in GTK dialogs selectable. 2015-12-22 13:27:49 +00:00
ux_x11.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxagentc.c Support synchronous agent requests on Unix. 2015-05-11 17:52:19 +01:00
uxcfg.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxcons.c Fix spurious EAGAIN in Plink host key (and other) prompts. 2015-09-24 11:58:44 +01:00
uxgen.c Fix another giant batch of resource leaks. (Mostly memory, but there's 2013-07-14 10:46:07 +00:00
uxgss.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxmisc.c Sanitise bad characters in log file names. 2015-09-25 09:35:07 +01:00
uxnet.c Fix strict-aliasing warnings in sk_tcp_peer_info. 2016-01-30 14:33:54 +00:00
uxnoise.c Fix minor file descriptor leaks. Found by cppcheck, reported by Tim Kosse. 2009-09-16 22:28:20 +00:00
uxpeer.c Log identifying information for the other end of connections. 2015-05-18 14:03:10 +01:00
uxpgnt.c Option to log proxy setup diagnostics to the terminal. 2015-11-22 15:12:10 +00:00
uxplink.c Rationalise and document log options somewhat. 2015-11-08 11:58:45 +00:00
uxprint.c Update to r8614: another -D_FORTIFY_SOURCE=2 fix. 2010-02-20 11:21:25 +00:00
uxproxy.c Avoid passing -1 as an fd to uxsel_set(). 2015-11-25 18:18:45 +00:00
uxpterm.c Giant const-correctness patch of doom! 2015-05-15 12:47:44 +01:00
uxpty.c New Plink operating mode: 'plink -shareexists'. 2015-09-25 12:11:27 +01:00
uxputty.c Stop using GTK3-deprecated gdk_get_display(). 2015-08-22 14:07:02 +01:00
uxsel.c Avoid passing -1 as an fd to uxsel_set(). 2015-11-25 18:18:45 +00:00
uxser.c New Plink operating mode: 'plink -shareexists'. 2015-09-25 12:11:27 +01:00
uxsftp.c Centralise stripslashes() and make it OS-sensitive. 2015-09-24 17:47:10 +01:00
uxshare.c Move make_dir_and_check_ours() out into uxmisc.c. 2015-05-05 20:16:22 +01:00
uxsignal.c Rename some of the more stupidly named files in the Unix back end. 2004-12-31 13:02:46 +00:00
uxstore.c Fix format string vulnerabilities. 2015-08-10 20:03:41 +01:00
uxucs.c Giant const-correctness patch of doom! 2015-05-15 12:47:44 +01:00
x11misc.c Ignore X11 BadMatch errors during cut buffer setup. 2016-03-20 18:30:03 +00:00
x11misc.h Ignore X11 BadMatch errors during cut buffer setup. 2016-03-20 18:30:03 +00:00
xkeysym.c Support for non-ISO-8859-1 X keysyms. So in particular, pterm in a 2003-04-27 11:10:48 +00:00
xpmptcfg.c Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
xpmpterm.c Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
xpmpucfg.c Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
xpmputty.c Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00