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

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

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

revision 1.4 by werner, Wed Apr 21 22:27:11 2004 UTC revision 1.5 by wl, Thu Mar 3 17:09:07 2005 UTC
# Line 1  Line 1 
1    /***************************************************************************/
2    /*                                                                         */
3    /*  afmodule.c                                                             */
4    /*                                                                         */
5    /*    Auto-fitter module implementation (body).                            */
6    /*                                                                         */
7    /*  Copyright 2003, 2004, 2005 by                                          */
8    /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
9    /*                                                                         */
10    /*  This file is part of the FreeType project, and may only be used,       */
11    /*  modified, and distributed under the terms of the FreeType project      */
12    /*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
13    /*  this file you indicate that you have read the license and              */
14    /*  understand and accept it fully.                                        */
15    /*                                                                         */
16    /***************************************************************************/
17    
18    
19  #include "afmodule.h"  #include "afmodule.h"
20  #include "afloader.h"  #include "afloader.h"
21    
22  #include FT_INTERNAL_OBJECTS_H  #include FT_INTERNAL_OBJECTS_H
23    
24    
25    typedef struct  FT_AutofitterRec_    typedef struct  FT_AutofitterRec_
26    {    {
27      FT_ModuleRec  root;      FT_ModuleRec  root;
# Line 38  Line 58 
58    }    }
59    
60    
   
61    FT_CALLBACK_TABLE_DEF    FT_CALLBACK_TABLE_DEF
62    const FT_AutoHinter_ServiceRec  af_autofitter_service =    const FT_AutoHinter_ServiceRec  af_autofitter_service =
63    {    {
64      NULL,      NULL,
65      NULL,      NULL,
66      NULL,      NULL,
67      (FT_AutoHinter_GlyphLoadFunc) af_autofitter_load_glyph      (FT_AutoHinter_GlyphLoadFunc)af_autofitter_load_glyph
68    };    };
69    
70    
# Line 59  Line 78 
78      0x10000L,   /* version 1.0 of the autofitter  */      0x10000L,   /* version 1.0 of the autofitter  */
79      0x20000L,   /* requires FreeType 2.0 or above */      0x20000L,   /* requires FreeType 2.0 or above */
80    
81      (const void*) &af_autofitter_service,      (const void*)&af_autofitter_service,
82    
83      (FT_Module_Constructor) af_autofitter_init,      (FT_Module_Constructor)af_autofitter_init,
84      (FT_Module_Destructor)  af_autofitter_done,      (FT_Module_Destructor) af_autofitter_done,
85      (FT_Module_Requester)   0      (FT_Module_Requester)  NULL
86    };    };
87    
88    

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

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