(update_seq_area): Fix sign of yoff.
authorhanda <handa>
Thu, 5 Aug 2004 06:45:29 +0000 (06:45 +0000)
committerhanda <handa>
Thu, 5 Aug 2004 06:45:29 +0000 (06:45 +0000)
example/otfview.c

index 9fa625f..d4b2c40 100644 (file)
@@ -415,7 +415,7 @@ update_seq_area ()
          
       XCopyArea (display, bmp->pixmap, seq_pixmap, gc_or,
                 glyph_x + bmp->x, glyph_y + bmp->y, bmp->width, bmp->height,
-                x + bmp->x + xoff, glyph_y + bmp->y + yoff);
+                x + bmp->x + xoff, glyph_y + bmp->y - yoff);
       x += prev_width = advance;
     }
   XtSetArg (arg[0], XtNbitmap, seq_pixmap);