~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to app/text/gimptextlayout.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-10-06 13:30:41 UTC
  • mto: This revision was merged to the branch mainline in revision 35.
  • Revision ID: james.westby@ubuntu.com-20081006133041-3panbkcanaymfsmp
Tags: upstream-2.6.0
ImportĀ upstreamĀ versionĀ 2.6.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
      alignment = PANGO_ALIGN_CENTER;
151
151
      break;
152
152
    case GIMP_TEXT_JUSTIFY_FILL:
153
 
      /* FIXME: This doesn't work since the implementation is missing
154
 
         at the Pango level.
155
 
       */
156
153
      alignment = PANGO_ALIGN_LEFT;
157
154
      pango_layout_set_justify (layout->layout, TRUE);
158
155
      break;
206
203
    case GIMP_TEXT_BOX_DYNAMIC:
207
204
      break;
208
205
    case GIMP_TEXT_BOX_FIXED:
 
206
      layout->extents.width =
 
207
        PANGO_PIXELS (gimp_text_layout_pixel_size (image->gimp,
 
208
                                                   text->box_width,
 
209
                                                   text->box_unit,
 
210
                                                   xres));
209
211
      layout->extents.height =
210
212
        PANGO_PIXELS (gimp_text_layout_pixel_size (image->gimp,
211
213
                                                   text->box_height,