~ubuntu-branches/debian/experimental/pango1.0/experimental

« back to all changes in this revision

Viewing changes to modules/indic/mprefixups.c

  • Committer: Bazaar Package Importer
  • Author(s): Loic Minier
  • Date: 2008-08-13 16:59:28 UTC
  • mfrom: (1.2.52 upstream)
  • Revision ID: james.westby@ubuntu.com-20080813165928-d5s5l83po052rrnr
Tags: 1.21.6-1
* Don't hardcode the pathes to defoma-app and update-pangox-aliases in
  maintainer scripts.
* Refresh patches 60_link-pangoxft-to-fontconfig and 70_automake and convert
  60_link-pangoxft-to-fontconfig to a -p1 level patch to support
  dpkg-source's quilt format.
* Let libpango1.0-dev recommend debhelper for dh_pangomodules.
* New upstream development releases; new API, API depreciations, and slights
  changes in semantics of the finalization of fontmaps.
  - Bump up bdeps to libcairo2-dev >= 1.7.4 and libglib2.0-dev >= 2.17.3.
  - Drop patch 60_link-pangoxft-to-fontconfig, fixed upstream.
  - Drop patch 70_automake, was only useful for
    60_link-pangoxft-to-fontconfig.
  - Bump shlibs version to 1.21.6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 * Boston, MA 02111-1307, USA.
22
22
 */
23
23
 
24
 
#include <config.h>
 
24
#include "config.h"
25
25
#include <pango/pango-types.h>
26
26
#include "mprefixups.h"
27
27
#include <stdio.h>
81
81
        pango_ot_buffer_get_glyphs (buffer, &glyphs, &n_glyphs);
82
82
 
83
83
        for (i = 0; i < n_glyphs; i++) {
84
 
            if (baseGlyph < 0 && glyphs[i].cluster == baseIndex)
 
84
            if ((baseIndex >= glyphs[i].cluster) && (baseIndex-glyphs[i].cluster) % 2 == 0) /* bug 441654 */
85
85
                baseGlyph = i;
86
86
            if (glyphs[i].cluster == mpreIndex) {
87
87
                    if (mpreGlyph < 0)