Changeset 8422
- Timestamp:
- 06/22/12 13:34:15 (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ImageMagick/branches/ImageMagick-6/magick/annotate.c
r8361 r8422 1291 1291 { 1292 1292 if (draw_info->kerning != 0.0) 1293 origin.x+= 64.0*direction*draw_info->kerning;1293 origin.x+=(FT_Pos) (64.0*direction*draw_info->kerning); 1294 1294 else 1295 1295 if (FT_HAS_KERNING(face)) … … 1301 1301 ft_kerning_default,&kerning); 1302 1302 if (status == 0) 1303 origin.x+= direction*kerning.x;1303 origin.x+=(FT_Pos) (direction*kerning.x); 1304 1304 } 1305 1305 } … … 1451 1451 (IsUTFSpace(GetUTFCode(p)) != MagickFalse) && 1452 1452 (IsUTFSpace(code) == MagickFalse)) 1453 origin.x+= 64.0*direction*draw_info->interword_spacing;1453 origin.x+=(FT_Pos) (64.0*direction*draw_info->interword_spacing); 1454 1454 else 1455 origin.x+= direction*face->glyph->advance.x;1455 origin.x+=(FT_Pos) (direction*face->glyph->advance.x); 1456 1456 metrics->origin.x=origin.x; 1457 1457 metrics->origin.y=origin.y;
Note: See TracChangeset
for help on using the changeset viewer.
