/[freetype]/freetype2/src/autofit/aflatin.c
ViewVC logotype

Diff of /freetype2/src/autofit/aflatin.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17 by wl, Tue Mar 8 06:00:35 2005 UTC revision 1.18 by wl, Wed Mar 23 16:45:24 2005 UTC
# Line 17  Line 17 
17    
18    
19  #include "aflatin.h"  #include "aflatin.h"
20    #include "aferrors.h"
21    
22    
23    /*************************************************************************/    /*************************************************************************/
# Line 377  Line 378 
378    af_latin_metrics_init( AF_LatinMetrics  metrics,    af_latin_metrics_init( AF_LatinMetrics  metrics,
379                           FT_Face          face )                           FT_Face          face )
380    {    {
381      FT_Error    error = FT_Err_Ok;      FT_Error    error = AF_Err_Ok;
382      FT_CharMap  oldmap = face->charmap;      FT_CharMap  oldmap = face->charmap;
383      FT_UInt     ee;      FT_UInt     ee;
384    
# Line 408  Line 409 
409      }      }
410    
411      FT_Set_Charmap( face, oldmap );      FT_Set_Charmap( face, oldmap );
412      return FT_Err_Ok;      return AF_Err_Ok;
413    }    }
414    
415    
# Line 577  Line 578 
578    {    {
579      AF_AxisHints  axis          = &hints->axis[dim];      AF_AxisHints  axis          = &hints->axis[dim];
580      FT_Memory     memory        = hints->memory;      FT_Memory     memory        = hints->memory;
581      FT_Error      error         = FT_Err_Ok;      FT_Error      error         = AF_Err_Ok;
582      AF_Segment    segment       = NULL;      AF_Segment    segment       = NULL;
583      AF_Point*     contour       = hints->contours;      AF_Point*     contour       = hints->contours;
584      AF_Point*     contour_limit = contour + hints->num_contours;      AF_Point*     contour_limit = contour + hints->num_contours;
# Line 921  Line 922 
922                                  AF_Dimension   dim )                                  AF_Dimension   dim )
923    {    {
924      AF_AxisHints  axis   = &hints->axis[dim];      AF_AxisHints  axis   = &hints->axis[dim];
925      FT_Error      error  = 0;      FT_Error      error  = AF_Err_Ok;
926      FT_Memory     memory = hints->memory;      FT_Memory     memory = hints->memory;
927      AF_LatinAxis  laxis  = &((AF_LatinMetrics)hints->metrics)->axis[dim];      AF_LatinAxis  laxis  = &((AF_LatinMetrics)hints->metrics)->axis[dim];
928    

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26