fix to pango GSUB



Here is a one-liner to fix pango's GSUB code for rendering
kannada text.

ftp://ftp.gtk.org/incoming/ftxgsub-bad.png
ftp://ftp.gtk.org/incoming/ftxgsub-good.png

Index: pango/opentype/ftxgsub.c
===================================================================
RCS file: /cvs/gnome/pango/pango/opentype/ftxgsub.c,v
retrieving revision 1.6
diff -u -r1.6 ftxgsub.c
--- pango/opentype/ftxgsub.c    16 Apr 2003 03:58:17 -0000      1.6
+++ pango/opentype/ftxgsub.c    17 Jun 2003 12:26:01 -0000
@@ -3823,7 +3823,7 @@
     /* we are starting for lookahead glyphs right after the last context
        glyph                                                             */
 
-    curr_pos = j;
+    curr_pos += j;
     s_in     = &in->string[curr_pos];
     lc       = ccsf3->LookaheadCoverage;
 

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]