~ubuntu-branches/ubuntu/karmic/pango1.0/karmic-security

« back to all changes in this revision

Viewing changes to pango-view/viewer-pangocairo.c

  • Committer: Bazaar Package Importer
  • Author(s): Loic Minier
  • Date: 2007-12-18 21:11:37 UTC
  • mfrom: (1.2.44 upstream)
  • Revision ID: james.westby@ubuntu.com-20071218211137-0ibmwreimvxf3cp1
Tags: 1.19.2-1ubuntu1
* Sync with Debian; Ubuntu changes are:
  - Add patch 30_anymetrics, turns on FC_ANY_METRICS whenever looking up
    fonts with fontconfig; lets fontconfig's configuration know that we
    don't care about getting a font with exactly the same shape as the
    family we asked for and fixes (eg) a firefox vs. evince font metrics
    ugliness issue.

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
      cairo_translate   (cr,  1.0,  1.0);
164
164
      cairo_rotate (cr,
165
165
        pango_gravity_to_rotation (
166
 
          pango_context_get_base_gravity (
 
166
          pango_context_get_gravity (
167
167
            pango_layout_get_context (layout))));
168
168
      cairo_move_to     (cr, -1.0, -1.0);
169
169
      cairo_rel_line_to (cr, +1.0, -0.2); /* /   */