< prev index next >

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

Print this page


   1 /***************************************************************************/
   2 /*                                                                         */
   3 /*  cidtoken.h                                                             */
   4 /*                                                                         */
   5 /*    CID token definitions (specification only).                          */
   6 /*                                                                         */
   7 /*  Copyright 1996-2018 by                                                 */
   8 /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
   9 /*                                                                         */
  10 /*  This file is part of the FreeType project, and may only be used,       */
  11 /*  modified, and distributed under the terms of the FreeType project      */
  12 /*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
  13 /*  this file you indicate that you have read the license and              */
  14 /*  understand and accept it fully.                                        */
  15 /*                                                                         */
  16 /***************************************************************************/
  17 
  18 
  19 #undef  FT_STRUCTURE
  20 #define FT_STRUCTURE  CID_FaceInfoRec
  21 #undef  T1CODE
  22 #define T1CODE        T1_FIELD_LOCATION_CID_INFO
  23 
  24   T1_FIELD_KEY   ( "CIDFontName",    cid_font_name, 0 )
  25   T1_FIELD_FIXED ( "CIDFontVersion", cid_version,   0 )
  26   T1_FIELD_NUM   ( "CIDFontType",    cid_font_type, 0 )
  27   T1_FIELD_STRING( "Registry",       registry,      0 )
  28   T1_FIELD_STRING( "Ordering",       ordering,      0 )
  29   T1_FIELD_NUM   ( "Supplement",     supplement,    0 )
  30   T1_FIELD_NUM   ( "UIDBase",        uid_base,      0 )



  31   T1_FIELD_NUM   ( "CIDMapOffset",   cidmap_offset, 0 )
  32   T1_FIELD_NUM   ( "FDBytes",        fd_bytes,      0 )
  33   T1_FIELD_NUM   ( "GDBytes",        gd_bytes,      0 )
  34   T1_FIELD_NUM   ( "CIDCount",       cid_count,     0 )
  35 
  36 
  37 #undef  FT_STRUCTURE
  38 #define FT_STRUCTURE  PS_FontInfoRec
  39 #undef  T1CODE
  40 #define T1CODE        T1_FIELD_LOCATION_FONT_INFO
  41 
  42   T1_FIELD_STRING( "version",            version,             0 )
  43   T1_FIELD_STRING( "Notice",             notice,              0 )
  44   T1_FIELD_STRING( "FullName",           full_name,           0 )
  45   T1_FIELD_STRING( "FamilyName",         family_name,         0 )
  46   T1_FIELD_STRING( "Weight",             weight,              0 )
  47   T1_FIELD_NUM   ( "ItalicAngle",        italic_angle,        0 )
  48   T1_FIELD_BOOL  ( "isFixedPitch",       is_fixed_pitch,      0 )
  49   T1_FIELD_NUM   ( "UnderlinePosition",  underline_position,  0 )
  50   T1_FIELD_NUM   ( "UnderlineThickness", underline_thickness, 0 )


   1 /****************************************************************************
   2  *
   3  * cidtoken.h
   4  *
   5  *   CID token definitions (specification only).
   6  *
   7  * Copyright (C) 1996-2019 by
   8  * David Turner, Robert Wilhelm, and Werner Lemberg.
   9  *
  10  * This file is part of the FreeType project, and may only be used,
  11  * modified, and distributed under the terms of the FreeType project
  12  * license, LICENSE.TXT.  By continuing to use, modify, or distribute
  13  * this file you indicate that you have read the license and
  14  * understand and accept it fully.
  15  *
  16  */
  17 
  18 
  19 #undef  FT_STRUCTURE
  20 #define FT_STRUCTURE  CID_FaceInfoRec
  21 #undef  T1CODE
  22 #define T1CODE        T1_FIELD_LOCATION_CID_INFO
  23 
  24   T1_FIELD_KEY      ( "CIDFontName",    cid_font_name, 0 )
  25   T1_FIELD_FIXED    ( "CIDFontVersion", cid_version,   0 )
  26   T1_FIELD_NUM      ( "CIDFontType",    cid_font_type, 0 )
  27   T1_FIELD_STRING   ( "Registry",       registry,      0 )
  28   T1_FIELD_STRING   ( "Ordering",       ordering,      0 )
  29   T1_FIELD_NUM      ( "Supplement",     supplement,    0 )
  30   T1_FIELD_NUM      ( "UIDBase",        uid_base,      0 )
  31 
  32   T1_FIELD_NUM_TABLE( "XUID",           xuid,          16, 0 )
  33 
  34   T1_FIELD_NUM      ( "CIDMapOffset",   cidmap_offset, 0 )
  35   T1_FIELD_NUM      ( "FDBytes",        fd_bytes,      0 )
  36   T1_FIELD_NUM      ( "GDBytes",        gd_bytes,      0 )
  37   T1_FIELD_NUM      ( "CIDCount",       cid_count,     0 )
  38 
  39 
  40 #undef  FT_STRUCTURE
  41 #define FT_STRUCTURE  PS_FontInfoRec
  42 #undef  T1CODE
  43 #define T1CODE        T1_FIELD_LOCATION_FONT_INFO
  44 
  45   T1_FIELD_STRING( "version",            version,             0 )
  46   T1_FIELD_STRING( "Notice",             notice,              0 )
  47   T1_FIELD_STRING( "FullName",           full_name,           0 )
  48   T1_FIELD_STRING( "FamilyName",         family_name,         0 )
  49   T1_FIELD_STRING( "Weight",             weight,              0 )
  50   T1_FIELD_NUM   ( "ItalicAngle",        italic_angle,        0 )
  51   T1_FIELD_BOOL  ( "isFixedPitch",       is_fixed_pitch,      0 )
  52   T1_FIELD_NUM   ( "UnderlinePosition",  underline_position,  0 )
  53   T1_FIELD_NUM   ( "UnderlineThickness", underline_thickness, 0 )


< prev index next >