~ubuntu-branches/ubuntu/maverick/pango1.0/maverick-proposed

« back to all changes in this revision

Viewing changes to pango/glyphstring.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-07-21 14:04:44 UTC
  • mfrom: (64.2.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090721140444-zbfz5ty1y935e9a0
Tags: 1.24.5-1ubuntu1
* Resync on Debian
* debian/rules:
  - Enable VFP pass on armel

Show diffs side-by-side

added added

removed removed

Lines of Context:
320
320
 * @text: the text corresponding to the glyphs
321
321
 * @length: the length of @text, in bytes
322
322
 * @embedding_level: the embedding level of the string
323
 
 * @logical_widths: an array whose length is g_utf8_strlen (text, length)
 
323
 * @logical_widths: an array whose length is the number of characters in
 
324
 *                  text (equal to g_utf8_strlen (text, length) unless
 
325
 *                  text has NUL bytes)
324
326
 *                  to be filled in with the resulting character widths.
325
327
 *
326
328
 * Given a #PangoGlyphString resulting from pango_shape() and the corresponding
337
339
{
338
340
  /* Build a PangoGlyphItem so we can use PangoGlyphItemIter.
339
341
   * This API should have been made to take a PangoGlyphItem... */
340
 
  PangoItem item = {0, length, g_utf8_strlen (text, length),
 
342
  PangoItem item = {0, length, pango_utf8_strlen (text, length),
341
343
                    {NULL, NULL, NULL,
342
344
                     embedding_level, PANGO_GRAVITY_AUTO, 0,
343
345
                     PANGO_SCRIPT_UNKNOWN, NULL,