Naba Kumar:
> The attached patch fixes a bug where pango layout is incorrectly
> iterated (also added a bound checks for array indexes), which breaks
> rendering in pango 1.8 (cvs).
>
> Related bug report:
> http://bugzilla.gnome.org/show_bug.cgi?id=311846
The patch breaks selection on this 3 character UTF-8 Japanese
example file. Using GTK+ 2.6.7 as distributed in Fedora Core 4, select
from position 0 to 1 (that is, the first character) in Scintilla 1.64,
then try with the patch. With the patch, an extra space appears
between the two characters. The file is CJK UNIFIED IDEOGRAPH-691C,
CJK UNIFIED IDEOGRAPH-7D22, \n. This is preceded in the file by a
UTF-8 Byte Order Mark (which is not visible as it should be stripped
by the application on read and reinserted on write).
[EMAIL PROTECTED] ~]# od -t x1 japan.html
0000000 ef bb bf e6 a4 9c e7 b4 a2 0a
Neil
æ¤ç´¢
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest