Changeset 8422


Ignore:
Timestamp:
06/22/12 13:34:15 (11 months ago)
Author:
cristy
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ImageMagick/branches/ImageMagick-6/magick/annotate.c

    r8361 r8422  
    12911291      { 
    12921292        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); 
    12941294        else 
    12951295          if (FT_HAS_KERNING(face)) 
     
    13011301                ft_kerning_default,&kerning); 
    13021302              if (status == 0) 
    1303                 origin.x+=direction*kerning.x; 
     1303                origin.x+=(FT_Pos) (direction*kerning.x); 
    13041304            } 
    13051305        } 
     
    14511451        (IsUTFSpace(GetUTFCode(p)) != MagickFalse) && 
    14521452        (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); 
    14541454    else 
    1455       origin.x+=direction*face->glyph->advance.x; 
     1455      origin.x+=(FT_Pos) (direction*face->glyph->advance.x); 
    14561456    metrics->origin.x=origin.x; 
    14571457    metrics->origin.y=origin.y; 
Note: See TracChangeset for help on using the changeset viewer.