misc/libfreetype/src/cff/cfftoken.h
author vitiv <nikita.utiu@gmail.com>
Sun, 30 Dec 2012 16:04:28 +0200
changeset 8345 9d9b498cfb03
parent 5172 88f2e05288ba
permissions -rw-r--r--
Preserve windowed resolution after manual resize
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5172
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     1
/***************************************************************************/
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     2
/*                                                                         */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     3
/*  cfftoken.h                                                             */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     4
/*                                                                         */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     5
/*    CFF token definitions (specification only).                          */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     6
/*                                                                         */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     7
/*  Copyright 1996-2001, 2002, 2003 by                                     */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     8
/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     9
/*                                                                         */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    10
/*  This file is part of the FreeType project, and may only be used,       */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    11
/*  modified, and distributed under the terms of the FreeType project      */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    12
/*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    13
/*  this file you indicate that you have read the license and              */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    14
/*  understand and accept it fully.                                        */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    15
/*                                                                         */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    16
/***************************************************************************/
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    17
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    18
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    19
#undef  FT_STRUCTURE
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    20
#define FT_STRUCTURE  CFF_FontRecDictRec
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    21
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    22
#undef  CFFCODE
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    23
#define CFFCODE       CFFCODE_TOPDICT
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    24
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    25
  CFF_FIELD_STRING  ( 0,     version )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    26
  CFF_FIELD_STRING  ( 1,     notice )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    27
  CFF_FIELD_STRING  ( 0x100, copyright )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    28
  CFF_FIELD_STRING  ( 2,     full_name )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    29
  CFF_FIELD_STRING  ( 3,     family_name )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    30
  CFF_FIELD_STRING  ( 4,     weight )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    31
  CFF_FIELD_BOOL    ( 0x101, is_fixed_pitch )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    32
  CFF_FIELD_FIXED   ( 0x102, italic_angle )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    33
  CFF_FIELD_FIXED   ( 0x103, underline_position )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    34
  CFF_FIELD_FIXED   ( 0x104, underline_thickness )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    35
  CFF_FIELD_NUM     ( 0x105, paint_type )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    36
  CFF_FIELD_NUM     ( 0x106, charstring_type )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    37
  CFF_FIELD_CALLBACK( 0x107, font_matrix )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    38
  CFF_FIELD_NUM     ( 13,    unique_id )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    39
  CFF_FIELD_CALLBACK( 5,     font_bbox )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    40
  CFF_FIELD_NUM     ( 0x108, stroke_width )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    41
  CFF_FIELD_NUM     ( 15,    charset_offset )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    42
  CFF_FIELD_NUM     ( 16,    encoding_offset )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    43
  CFF_FIELD_NUM     ( 17,    charstrings_offset )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    44
  CFF_FIELD_CALLBACK( 18,    private_dict )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    45
  CFF_FIELD_NUM     ( 0x114, synthetic_base )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    46
  CFF_FIELD_STRING  ( 0x115, embedded_postscript )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    47
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    48
#if 0
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    49
  CFF_FIELD_STRING  ( 0x116, base_font_name )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    50
  CFF_FIELD_DELTA   ( 0x117, base_font_blend, 16 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    51
  CFF_FIELD_CALLBACK( 0x118, multiple_master )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    52
  CFF_FIELD_CALLBACK( 0x119, blend_axis_types )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    53
#endif
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    54
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    55
  CFF_FIELD_CALLBACK( 0x11E, cid_ros )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    56
  CFF_FIELD_NUM     ( 0x11F, cid_font_version )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    57
  CFF_FIELD_NUM     ( 0x120, cid_font_revision )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    58
  CFF_FIELD_NUM     ( 0x121, cid_font_type )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    59
  CFF_FIELD_NUM     ( 0x122, cid_count )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    60
  CFF_FIELD_NUM     ( 0x123, cid_uid_base )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    61
  CFF_FIELD_NUM     ( 0x124, cid_fd_array_offset )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    62
  CFF_FIELD_NUM     ( 0x125, cid_fd_select_offset )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    63
  CFF_FIELD_STRING  ( 0x126, cid_font_name )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    64
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    65
#if 0
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    66
  CFF_FIELD_NUM     ( 0x127, chameleon )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    67
#endif
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    68
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    69
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    70
#undef  FT_STRUCTURE
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    71
#define FT_STRUCTURE  CFF_PrivateRec
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    72
#undef  CFFCODE
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    73
#define CFFCODE       CFFCODE_PRIVATE
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    74
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    75
  CFF_FIELD_DELTA     ( 6,     blue_values, 14 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    76
  CFF_FIELD_DELTA     ( 7,     other_blues, 10 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    77
  CFF_FIELD_DELTA     ( 8,     family_blues, 14 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    78
  CFF_FIELD_DELTA     ( 9,     family_other_blues, 10 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    79
  CFF_FIELD_FIXED_1000( 0x109, blue_scale )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    80
  CFF_FIELD_NUM       ( 0x10A, blue_shift )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    81
  CFF_FIELD_NUM       ( 0x10B, blue_fuzz )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    82
  CFF_FIELD_NUM       ( 10,    standard_width )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    83
  CFF_FIELD_NUM       ( 11,    standard_height )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    84
  CFF_FIELD_DELTA     ( 0x10C, snap_widths, 13 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    85
  CFF_FIELD_DELTA     ( 0x10D, snap_heights, 13 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    86
  CFF_FIELD_BOOL      ( 0x10E, force_bold )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    87
  CFF_FIELD_FIXED     ( 0x10F, force_bold_threshold )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    88
  CFF_FIELD_NUM       ( 0x110, lenIV )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    89
  CFF_FIELD_NUM       ( 0x111, language_group )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    90
  CFF_FIELD_FIXED     ( 0x112, expansion_factor )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    91
  CFF_FIELD_NUM       ( 0x113, initial_random_seed )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    92
  CFF_FIELD_NUM       ( 19,    local_subrs_offset )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    93
  CFF_FIELD_NUM       ( 20,    default_width )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    94
  CFF_FIELD_NUM       ( 21,    nominal_width )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    95
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    96
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    97
/* END */