< prev index next >

src/java.desktop/share/native/libfreetype/src/cid/cidparse.h

Print this page

        

*** 1,21 **** ! /***************************************************************************/ ! /* */ ! /* cidparse.h */ ! /* */ ! /* CID-keyed Type1 parser (specification). */ ! /* */ ! /* Copyright 1996-2018 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 CIDPARSE_H_ #define CIDPARSE_H_ --- 1,21 ---- ! /**************************************************************************** ! * ! * cidparse.h ! * ! * CID-keyed Type1 parser (specification). ! * ! * Copyright (C) 1996-2019 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 CIDPARSE_H_ #define CIDPARSE_H_
*** 27,65 **** FT_BEGIN_HEADER ! /*************************************************************************/ ! /* */ ! /* <Struct> */ ! /* CID_Parser */ ! /* */ ! /* <Description> */ ! /* A CID_Parser is an object used to parse a Type 1 fonts very */ ! /* quickly. */ ! /* */ ! /* <Fields> */ ! /* root :: The root PS_ParserRec fields. */ ! /* */ ! /* stream :: The current input stream. */ ! /* */ ! /* postscript :: A pointer to the data to be parsed. */ ! /* */ ! /* postscript_len :: The length of the data to be parsed. */ ! /* */ ! /* data_offset :: The start position of the binary data (i.e., the */ ! /* end of the data to be parsed. */ ! /* */ ! /* binary_length :: The length of the data after the `StartData' */ ! /* command if the data format is hexadecimal. */ ! /* */ ! /* cid :: A structure which holds the information about */ ! /* the current font. */ ! /* */ ! /* num_dict :: The number of font dictionaries. */ ! /* */ typedef struct CID_Parser_ { PS_ParserRec root; FT_Stream stream; --- 27,73 ---- FT_BEGIN_HEADER ! /************************************************************************** ! * ! * @Struct: ! * CID_Parser ! * ! * @Description: ! * A CID_Parser is an object used to parse a Type 1 fonts very ! * quickly. ! * ! * @Fields: ! * root :: ! * The root PS_ParserRec fields. ! * ! * stream :: ! * The current input stream. ! * ! * postscript :: ! * A pointer to the data to be parsed. ! * ! * postscript_len :: ! * The length of the data to be parsed. ! * ! * data_offset :: ! * The start position of the binary data (i.e., the ! * end of the data to be parsed. ! * ! * binary_length :: ! * The length of the data after the `StartData' ! * command if the data format is hexadecimal. ! * ! * cid :: ! * A structure which holds the information about ! * the current font. ! * ! * num_dict :: ! * The number of font dictionaries. ! */ typedef struct CID_Parser_ { PS_ParserRec root; FT_Stream stream;
*** 84,98 **** FT_LOCAL( void ) cid_parser_done( CID_Parser* parser ); ! /*************************************************************************/ ! /* */ ! /* PARSING ROUTINES */ ! /* */ ! /*************************************************************************/ #define cid_parser_skip_spaces( p ) \ (p)->root.funcs.skip_spaces( &(p)->root ) #define cid_parser_skip_PS_token( p ) \ (p)->root.funcs.skip_PS_token( &(p)->root ) --- 92,106 ---- FT_LOCAL( void ) cid_parser_done( CID_Parser* parser ); ! /************************************************************************** ! * ! * PARSING ROUTINES ! * ! */ #define cid_parser_skip_spaces( p ) \ (p)->root.funcs.skip_spaces( &(p)->root ) #define cid_parser_skip_PS_token( p ) \ (p)->root.funcs.skip_PS_token( &(p)->root )
< prev index next >