⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 psaux.h

📁 linux控件xml 搭建apache支持php openssl
💻 H
📖 第 1 页 / 共 3 页
字号:
#define T1_FIELD_FIXED_1000( _ident, _fname, _dict )                     \          T1_NEW_SIMPLE_FIELD( _ident, T1_FIELD_TYPE_FIXED_1000, _fname, \                               _dict )#define T1_FIELD_STRING( _ident, _fname, _dict )                             \          T1_NEW_SIMPLE_FIELD( _ident, T1_FIELD_TYPE_STRING, _fname, _dict )#define T1_FIELD_KEY( _ident, _fname, _dict )                             \          T1_NEW_SIMPLE_FIELD( _ident, T1_FIELD_TYPE_KEY, _fname, _dict )#define T1_FIELD_BBOX( _ident, _fname, _dict )                             \          T1_NEW_SIMPLE_FIELD( _ident, T1_FIELD_TYPE_BBOX, _fname, _dict )#define T1_FIELD_NUM_TABLE( _ident, _fname, _fmax, _dict )         \          T1_NEW_TABLE_FIELD( _ident, T1_FIELD_TYPE_INTEGER_ARRAY, \                              _fname, _fmax, _dict )#define T1_FIELD_FIXED_TABLE( _ident, _fname, _fmax, _dict )     \          T1_NEW_TABLE_FIELD( _ident, T1_FIELD_TYPE_FIXED_ARRAY, \                              _fname, _fmax, _dict )#define T1_FIELD_NUM_TABLE2( _ident, _fname, _fmax, _dict )         \          T1_NEW_TABLE_FIELD2( _ident, T1_FIELD_TYPE_INTEGER_ARRAY, \                               _fname, _fmax, _dict )#define T1_FIELD_FIXED_TABLE2( _ident, _fname, _fmax, _dict )     \          T1_NEW_TABLE_FIELD2( _ident, T1_FIELD_TYPE_FIXED_ARRAY, \                               _fname, _fmax, _dict )#define T1_FIELD_CALLBACK( _ident, _name, _dict )       \          T1_NEW_CALLBACK_FIELD( _ident, _name, _dict )  /*************************************************************************/  /*************************************************************************/  /*****                                                               *****/  /*****                            T1 PARSER                          *****/  /*****                                                               *****/  /*************************************************************************/  /*************************************************************************/  typedef const struct PS_Parser_FuncsRec_*  PS_Parser_Funcs;  typedef struct  PS_Parser_FuncsRec_  {    void    (*init)( PS_Parser  parser,             FT_Byte*   base,             FT_Byte*   limit,             FT_Memory  memory );    void    (*done)( PS_Parser  parser );    void    (*skip_spaces)( PS_Parser  parser );    void    (*skip_PS_token)( PS_Parser  parser );    FT_Long    (*to_int)( PS_Parser  parser );    FT_Fixed    (*to_fixed)( PS_Parser  parser,                 FT_Int     power_ten );    FT_Error    (*to_bytes)( PS_Parser  parser,                 FT_Byte*   bytes,                 FT_Long    max_bytes,                 FT_Long*   pnum_bytes,                 FT_Bool    delimiters );    FT_Int    (*to_coord_array)( PS_Parser  parser,                       FT_Int     max_coords,                       FT_Short*  coords );    FT_Int    (*to_fixed_array)( PS_Parser  parser,                       FT_Int     max_values,                       FT_Fixed*  values,                       FT_Int     power_ten );    void    (*to_token)( PS_Parser  parser,                 T1_Token   token );    void    (*to_token_array)( PS_Parser  parser,                       T1_Token   tokens,                       FT_UInt    max_tokens,                       FT_Int*    pnum_tokens );    FT_Error    (*load_field)( PS_Parser       parser,                   const T1_Field  field,                   void**          objects,                   FT_UInt         max_objects,                   FT_ULong*       pflags );    FT_Error    (*load_field_table)( PS_Parser       parser,                         const T1_Field  field,                         void**          objects,                         FT_UInt         max_objects,                         FT_ULong*       pflags );  } PS_Parser_FuncsRec;  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    PS_ParserRec                                                       */  /*                                                                       */  /* <Description>                                                         */  /*    A PS_Parser is an object used to parse a Type 1 font very quickly. */  /*                                                                       */  /* <Fields>                                                              */  /*    cursor :: The current position in the text.                        */  /*                                                                       */  /*    base   :: Start of the processed text.                             */  /*                                                                       */  /*    limit  :: End of the processed text.                               */  /*                                                                       */  /*    error  :: The last error returned.                                 */  /*                                                                       */  /*    memory :: The object used for memory operations (alloc/realloc).   */  /*                                                                       */  /*    funcs  :: A table of functions for the parser.                     */  /*                                                                       */  typedef struct  PS_ParserRec_  {    FT_Byte*   cursor;    FT_Byte*   base;    FT_Byte*   limit;    FT_Error   error;    FT_Memory  memory;    PS_Parser_FuncsRec  funcs;  } PS_ParserRec;  /*************************************************************************/  /*************************************************************************/  /*****                                                               *****/  /*****                         T1 BUILDER                            *****/  /*****                                                               *****/  /*************************************************************************/  /*************************************************************************/  typedef struct T1_BuilderRec_*  T1_Builder;  typedef FT_Error  (*T1_Builder_Check_Points_Func)( T1_Builder  builder,                                   FT_Int      count );  typedef void  (*T1_Builder_Add_Point_Func)( T1_Builder  builder,                                FT_Pos      x,                                FT_Pos      y,                                FT_Byte     flag );  typedef FT_Error  (*T1_Builder_Add_Point1_Func)( T1_Builder  builder,                                 FT_Pos      x,                                 FT_Pos      y );  typedef FT_Error  (*T1_Builder_Add_Contour_Func)( T1_Builder  builder );  typedef FT_Error  (*T1_Builder_Start_Point_Func)( T1_Builder  builder,                                  FT_Pos      x,                                  FT_Pos      y );  typedef void  (*T1_Builder_Close_Contour_Func)( T1_Builder  builder );  typedef const struct T1_Builder_FuncsRec_*  T1_Builder_Funcs;  typedef struct  T1_Builder_FuncsRec_  {    void    (*init)( T1_Builder    builder,             FT_Face       face,             FT_Size       size,             FT_GlyphSlot  slot,             FT_Bool       hinting );    void    (*done)( T1_Builder   builder );    T1_Builder_Check_Points_Func   check_points;    T1_Builder_Add_Point_Func      add_point;    T1_Builder_Add_Point1_Func     add_point1;    T1_Builder_Add_Contour_Func    add_contour;    T1_Builder_Start_Point_Func    start_point;    T1_Builder_Close_Contour_Func  close_contour;  } T1_Builder_FuncsRec;  /* an enumeration type to handle charstring parsing states */  typedef enum  T1_ParseState_  {    T1_Parse_Start,    T1_Parse_Have_Width,    T1_Parse_Have_Moveto,    T1_Parse_Have_Path  } T1_ParseState;  /*************************************************************************/  /*                                                                       */  /* <Structure>                                                           */  /*    T1_BuilderRec                                                      */  /*                                                                       */  /* <Description>                                                         */  /*     A structure used during glyph loading to store its outline.       */  /*                                                                       */  /* <Fields>                                                              */  /*    memory       :: The current memory object.                         */  /*                                                                       */  /*    face         :: The current face object.                           */  /*                                                                       */  /*    glyph        :: The current glyph slot.                            */  /*                                                                       */  /*    loader       :: XXX                                                */  /*                                                                       */  /*    base         :: The base glyph outline.                            */  /*                                                                       */  /*    current      :: The current glyph outline.                         */  /*                                                                       */  /*    max_points   :: maximum points in builder outline                  */  /*                                                                       */  /*    max_contours :: Maximal number of contours in builder outline.     */  /*                                                                       */  /*    last         :: The last point position.                           */  /*                                                                       */  /*    pos_x        :: The horizontal translation (if composite glyph).   */  /*                                                                       */  /*    pos_y        :: The vertical translation (if composite glyph).     */  /*                                                                       */  /*    left_bearing :: The left side bearing point.                       */  /*                                                                       */  /*    advance      :: The horizontal advance vector.                     */  /*                                                                       */  /*    bbox         :: Unused.                                            */  /*                                                                       */  /*    parse_state  :: An enumeration which controls the charstring       */  /*                    parsing state.                                     */  /*                                                                       */  /*    load_points  :: If this flag is not set, no points are loaded.     */  /*                                                                       */  /*    no_recurse   :: Set but not used.                                  */  /*                                                                       */  /*    metrics_only :: A boolean indicating that we only want to compute  */  /*                    the metrics of a given glyph, not load all of its  */  /*                    points.                                            */  /*                                                                       */  /*    funcs        :: An array of function pointers for the builder.     */  /*                                                                       */  typedef struct  T1_BuilderRec_  {    FT_Memory       memory;    FT_Face         face;    FT_GlyphSlot    glyph;    FT_GlyphLoader  loader;    FT_Outline*     base;    FT_Outline*     current;    FT_Vector       last;    FT_Pos          pos_x;    FT_Pos          pos_y;    FT_Vector       left_bearing;    FT_Vector       advance;    FT_BBox         bbox;          /* bounding box */    T1_ParseState   parse_state;    FT_Bool         load_points;    FT_Bool         no_recurse;    FT_Bool         shift;    FT_Bool         metrics_only;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -