pango r2682 - in trunk: . modules/indic
- From: behdad svn gnome org
- To: svn-commits-list gnome org
- Subject: pango r2682 - in trunk: . modules/indic
- Date: Wed, 6 Aug 2008 08:40:12 +0000 (UTC)
Author: behdad
Date: Wed Aug 6 08:40:12 2008
New Revision: 2682
URL: http://svn.gnome.org/viewvc/pango?rev=2682&view=rev
Log:
2008-08-06 Behdad Esfahbod <behdad gnome org>
Bug 441654 â prefix fails when more than one base characters (as
conjuncts) present after a half form the next prefix renders
incorrectly
Patch from Rahul Bhalerao
* modules/indic/mprefixups.c (indic_mprefixups_apply):
Do what I was told to do.
Modified:
trunk/ChangeLog
trunk/modules/indic/mprefixups.c
Modified: trunk/modules/indic/mprefixups.c
==============================================================================
--- trunk/modules/indic/mprefixups.c (original)
+++ trunk/modules/indic/mprefixups.c Wed Aug 6 08:40:12 2008
@@ -81,7 +81,7 @@
pango_ot_buffer_get_glyphs (buffer, &glyphs, &n_glyphs);
for (i = 0; i < n_glyphs; i++) {
- if (baseGlyph < 0 && glyphs[i].cluster == baseIndex)
+ if ((baseIndex >= glyphs[i].cluster) && (baseIndex-glyphs[i].cluster) % 2 == 0) /* bug 441654 */
baseGlyph = i;
if (glyphs[i].cluster == mpreIndex) {
if (mpreGlyph < 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]