src/java.desktop/share/native/libfreetype/include/freetype/internal/cfftypes.h
changeset 54876 da3834261f0c
parent 49234 3375a8039fde
equal deleted inserted replaced
54875:bcfedddcf4ce 54876:da3834261f0c
     1 /***************************************************************************/
     1 /****************************************************************************
     2 /*                                                                         */
     2  *
     3 /*  cfftypes.h                                                             */
     3  * cfftypes.h
     4 /*                                                                         */
     4  *
     5 /*    Basic OpenType/CFF type definitions and interface (specification     */
     5  *   Basic OpenType/CFF type definitions and interface (specification
     6 /*    only).                                                               */
     6  *   only).
     7 /*                                                                         */
     7  *
     8 /*  Copyright 1996-2018 by                                                 */
     8  * Copyright (C) 1996-2019 by
     9 /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
     9  * David Turner, Robert Wilhelm, and Werner Lemberg.
    10 /*                                                                         */
    10  *
    11 /*  This file is part of the FreeType project, and may only be used,       */
    11  * This file is part of the FreeType project, and may only be used,
    12 /*  modified, and distributed under the terms of the FreeType project      */
    12  * modified, and distributed under the terms of the FreeType project
    13 /*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
    13  * license, LICENSE.TXT.  By continuing to use, modify, or distribute
    14 /*  this file you indicate that you have read the license and              */
    14  * this file you indicate that you have read the license and
    15 /*  understand and accept it fully.                                        */
    15  * understand and accept it fully.
    16 /*                                                                         */
    16  *
    17 /***************************************************************************/
    17  */
    18 
    18 
    19 
    19 
    20 #ifndef CFFTYPES_H_
    20 #ifndef CFFTYPES_H_
    21 #define CFFTYPES_H_
    21 #define CFFTYPES_H_
    22 
    22 
    31 
    31 
    32 
    32 
    33 FT_BEGIN_HEADER
    33 FT_BEGIN_HEADER
    34 
    34 
    35 
    35 
    36   /*************************************************************************/
    36   /**************************************************************************
    37   /*                                                                       */
    37    *
    38   /* <Struct>                                                              */
    38    * @struct:
    39   /*    CFF_IndexRec                                                       */
    39    *   CFF_IndexRec
    40   /*                                                                       */
    40    *
    41   /* <Description>                                                         */
    41    * @description:
    42   /*    A structure used to model a CFF Index table.                       */
    42    *   A structure used to model a CFF Index table.
    43   /*                                                                       */
    43    *
    44   /* <Fields>                                                              */
    44    * @fields:
    45   /*    stream      :: The source input stream.                            */
    45    *   stream ::
    46   /*                                                                       */
    46    *     The source input stream.
    47   /*    start       :: The position of the first index byte in the         */
    47    *
    48   /*                   input stream.                                       */
    48    *   start ::
    49   /*                                                                       */
    49    *     The position of the first index byte in the input stream.
    50   /*    count       :: The number of elements in the index.                */
    50    *
    51   /*                                                                       */
    51    *   count ::
    52   /*    off_size    :: The size in bytes of object offsets in index.       */
    52    *     The number of elements in the index.
    53   /*                                                                       */
    53    *
    54   /*    data_offset :: The position of first data byte in the index's      */
    54    *   off_size ::
    55   /*                   bytes.                                              */
    55    *     The size in bytes of object offsets in index.
    56   /*                                                                       */
    56    *
    57   /*    data_size   :: The size of the data table in this index.           */
    57    *   data_offset ::
    58   /*                                                                       */
    58    *     The position of first data byte in the index's bytes.
    59   /*    offsets     :: A table of element offsets in the index.  Must be   */
    59    *
    60   /*                   loaded explicitly.                                  */
    60    *   data_size ::
    61   /*                                                                       */
    61    *     The size of the data table in this index.
    62   /*    bytes       :: If the index is loaded in memory, its bytes.        */
    62    *
    63   /*                                                                       */
    63    *   offsets ::
       
    64    *     A table of element offsets in the index.  Must be loaded explicitly.
       
    65    *
       
    66    *   bytes ::
       
    67    *     If the index is loaded in memory, its bytes.
       
    68    */
    64   typedef struct  CFF_IndexRec_
    69   typedef struct  CFF_IndexRec_
    65   {
    70   {
    66     FT_Stream  stream;
    71     FT_Stream  stream;
    67     FT_ULong   start;
    72     FT_ULong   start;
    68     FT_UInt    hdr_size;
    73     FT_UInt    hdr_size;