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

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

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

revision 1.5 by wl, Wed Mar 2 11:24:23 2005 UTC revision 1.6 by wl, Thu Mar 3 17:09:07 2005 UTC
# Line 1  Line 1 
1    /***************************************************************************/
2    /*                                                                         */
3    /*  afdummy.c                                                              */
4    /*                                                                         */
5    /*    Auto-fitter dummy routines to be used if no hinting should be        */
6    /*    performed (body).                                                    */
7    /*                                                                         */
8    /*  Copyright 2003, 2004, 2005 by                                          */
9    /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
10    /*                                                                         */
11    /*  This file is part of the FreeType project, and may only be used,       */
12    /*  modified, and distributed under the terms of the FreeType project      */
13    /*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
14    /*  this file you indicate that you have read the license and              */
15    /*  understand and accept it fully.                                        */
16    /*                                                                         */
17    /***************************************************************************/
18    
19    
20  #include "afdummy.h"  #include "afdummy.h"
21  #include "afhints.h"  #include "afhints.h"
22    
# Line 11  Line 30 
30      return 0;      return 0;
31    }    }
32    
33    
34    static FT_Error    static FT_Error
35    af_dummy_hints_apply( AF_GlyphHints  hints,    af_dummy_hints_apply( AF_GlyphHints  hints,
36                          FT_Outline*    outline )                          FT_Outline*    outline )
# Line 29  Line 49 
49      NULL,      NULL,
50    
51      sizeof( AF_ScriptMetricsRec ),      sizeof( AF_ScriptMetricsRec ),
     (AF_Script_InitMetricsFunc)  NULL,  
     (AF_Script_ScaleMetricsFunc) NULL,  
     (AF_Script_DoneMetricsFunc)  NULL,  
52    
53      (AF_Script_InitHintsFunc)    af_dummy_hints_init,      (AF_Script_InitMetricsFunc) NULL,
54      (AF_Script_ApplyHintsFunc)   af_dummy_hints_apply      (AF_Script_ScaleMetricsFunc)NULL,
55        (AF_Script_DoneMetricsFunc) NULL,
56    
57        (AF_Script_InitHintsFunc)   af_dummy_hints_init,
58        (AF_Script_ApplyHintsFunc)  af_dummy_hints_apply
59    };    };
60    
61    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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