Edit

kc3-lang/freetype/src/autofit/afmodule.h

Branch :

  • Show log

    Commit

  • Author : Werner Lemberg
    Date : 2005-03-03 17:09:08
    Hash : f13516c8
    Message : Various fixes for C and C++ compiling. * src/autofit/*: Add copyright messages. Formatting. * src/autofit/afhints.c (af_glyph_hints_done): Don't use `AF_Dimension' but `int' for loop counter. * src/autofit/aflatin.c (af_latin_metrics_init_widths): Don't use `AF_Dimension' but `int' for loop counter. Use proper enumeration value for `render_mode'. (af_latin_metrics_scale_dim): Don't shadow variables. (af_latin_hints_compute_segments): Use proper cast for `major_dir' and `segment_dir'. (af_latin_align_linked_edge, af_latin_hint_edges): Fix arguments of call to `af_latin_compute_stem_width'. (af_latin_hints_apply): Don't use `AF_Dimension' but `int' for loop counter. * src/base/ftdbgmem.c (ft_mem_table_get_source, FT_DumpMemory): Use proper cast for memory allocation. * src/cff/cffdrivr.c (cff_get_kerning): Use proper cast for initialization of `sfnt'. * src/sfnt/sfdriver.c: Include `ttkern.h'. * src/sfnt/ttkern.c (tt_face_get_kerning): Don't shadow variables. * src/truetype/ttgload.c: Include `ttpload.h'. * src/truetype/ttpload.c (tt_face_load_loca) [FT_OPTIMIZE_MEMORY]: Remove redundant variable.

  • src/autofit/afmodule.h
  • /***************************************************************************/
    /*                                                                         */
    /*  afmodule.h                                                             */
    /*                                                                         */
    /*    Auto-fitter module implementation (specification).                   */
    /*                                                                         */
    /*  Copyright 2003, 2004, 2005 by                                          */
    /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
    /*                                                                         */
    /*  This file is part of the FreeType project, and may only be used,       */
    /*  modified, and distributed under the terms of the FreeType project      */
    /*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
    /*  this file you indicate that you have read the license and              */
    /*  understand and accept it fully.                                        */
    /*                                                                         */
    /***************************************************************************/
    
    
    #ifndef __AFMODULE_H__
    #define __AFMODULE_H__
    
    #include <ft2build.h>
    #include FT_MODULE_H
    
    
    FT_BEGIN_HEADER
    
      FT_CALLBACK_TABLE
      const FT_Module_Class  autofit_module_class;
    
    
    FT_END_HEADER
    
    #endif /* __AFMODULE_H__ */
    
    
    /* END */