Edit

kc3-lang/freetype/src/sfnt/ttpost.h

Branch :

  • Show log

    Commit

  • Author : Werner Lemberg
    Date : 2000-07-05 04:32:02
    Hash : bd5ae400
    Message : Run g++ on the FreeType library. This should make the use of code in C++ programs easier: Renamed FT_WordXX to FT_UIntXX. Changed a lot of void* to FT_Byte* if related to i/o streams -- FreeType always accesses streams byte-wise, so this makes sense IMHO. Added a lot of #ifdef __cplusplus to header files (and removed a few). Other minor syntax fixes (mostly casts). Replaced the variable `private' with `private_dict' -- `private' is reserved in C++.

  • src/sfnt/ttpost.h
  • /***************************************************************************/
    /*                                                                         */
    /*  ttpost.h                                                               */
    /*                                                                         */
    /*    Postcript name table processing for TrueType and OpenType fonts      */
    /*    (specification).                                                     */
    /*                                                                         */
    /*  Copyright 1996-2000 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 TTPOST_H
    #define TTPOST_H
    
    #include <freetype/config/ftconfig.h>
    #include <freetype/internal/tttypes.h>
    
    #ifdef __cplusplus
      extern "C" {
    #endif
    
    
    #define TT_Err_Invalid_Post_Table_Format  0x0B00
    #define TT_Err_Invalid_Post_Table         0x0B01
    
    
      LOCAL_DEF
      FT_Error TT_Get_PS_Name( TT_Face      face,
                               FT_UInt      index,
                               FT_String**  PSname );
    
      LOCAL_DEF
      void  TT_Free_Post_Names( TT_Face  face );
    
    
    #ifdef __cplusplus
      }
    #endif
    
    
    #endif /* TTPOST_H */
    
    
    /* END */