Edit

kc3-lang/freetype/src/type1/t1load.h

Branch :

  • Browse

    Commit

  • Author : David Turner
    Date : 2000-06-16 19:34:52
    Hash : f9b8dec4
    Message : major reformatting of the modules source code in order to get rid of most of the basic types redefinitions (i.e. FT_Int instead of "FT_Int", etc..) The format-specific prefixs like "TT_", "T1_", "T2_" & 'CID_" are now only used in relevant structures.. fixed Werner's fix to t2gload.c :-) other small bug fixes

  • src/type1/t1load.h
  • /*******************************************************************
     *
     *  t1load.h                                                    1.0
     *
     *    Type1 Loader.
     *
     *  Copyright 1996-1998 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 T1LOAD_H
    #define T1LOAD_H
    
    #include <freetype/internal/ftstream.h>
    #include <t1parse.h>
    
    #ifdef __cplusplus
      extern "C" {
    #endif
    
      /*************************************************************************/
      /*                                                                       */
      /* <Function> Init_T1_Parser                                             */
      /*                                                                       */
      /* <Description>                                                         */
      /*    Initialise a given parser object to build a given T1_Face          */
      /*                                                                       */
      /* <Input>                                                               */
      /*    parser  :: handle to the newly built parser object                 */
      /*    face    :: handle to target T1 face object                         */
      /*                                                                       */
       LOCAL_DEF
       void  Init_T1_Parser( T1_Parser*    parser,
                             T1_Face       face,
                             T1_Tokenizer  tokenizer );
    
    
      /*************************************************************************/
      /*                                                                       */
      /* <Function> Parse_T1_FontProgram                                       */
      /*                                                                       */
      /* <Description>                                                         */
      /*    Parses a given Type 1 font file and builds its face object         */
      /*                                                                       */
      /* <Input>                                                               */
      /*    parser  :: handle to target parser object                          */
      /*                                                                       */
      /* <Return>                                                              */
      /*    Error code. 0 means success..                                      */
      /*                                                                       */
      /* <Note>                                                                */
      /*    The parser contains a handle to the target face object.            */
      /*                                                                       */
       LOCAL_DEF
       FT_Error  Parse_T1_FontProgram( T1_Parser*  parser );
    
    
    #ifdef __cplusplus
      }
    #endif
    
    #endif /* T1LOAD_H */
    
    
    /* END */