misc/libfreetype/include/freetype/ftbdf.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
/*  ftbdf.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
/*    FreeType API for accessing BDF-specific strings (specification).     */
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 2002, 2003, 2004, 2006, 2009 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
#ifndef __FTBDF_H__
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    20
#define __FTBDF_H__
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
#include <ft2build.h>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    23
#include FT_FREETYPE_H
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
#ifdef FREETYPE_H
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    26
#error "freetype.h of FreeType 1 has been loaded!"
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    27
#error "Please fix the directory search order for header files"
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    28
#error "so that freetype.h of FreeType 2 is found first."
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    29
#endif
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    30
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    31
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    32
FT_BEGIN_HEADER
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    33
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    34
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    35
  /*************************************************************************/
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    36
  /*                                                                       */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    37
  /* <Section>                                                             */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    38
  /*    bdf_fonts                                                          */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    39
  /*                                                                       */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    40
  /* <Title>                                                               */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    41
  /*    BDF and PCF Files                                                  */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    42
  /*                                                                       */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    43
  /* <Abstract>                                                            */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    44
  /*    BDF and PCF specific API.                                          */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    45
  /*                                                                       */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    46
  /* <Description>                                                         */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    47
  /*    This section contains the declaration of functions specific to BDF */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    48
  /*    and PCF fonts.                                                     */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    49
  /*                                                                       */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    50
  /*************************************************************************/
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    51
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    52
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    53
  /**********************************************************************
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
   * @enum:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    56
   *    FT_PropertyType
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    57
   *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    58
   * @description:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    59
   *    A list of BDF property types.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    60
   *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    61
   * @values:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    62
   *    BDF_PROPERTY_TYPE_NONE ::
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    63
   *      Value~0 is used to indicate a missing property.
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
   *    BDF_PROPERTY_TYPE_ATOM ::
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    66
   *      Property is a string atom.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    67
   *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    68
   *    BDF_PROPERTY_TYPE_INTEGER ::
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    69
   *      Property is a 32-bit signed integer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    70
   *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    71
   *    BDF_PROPERTY_TYPE_CARDINAL ::
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    72
   *      Property is a 32-bit unsigned integer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    73
   */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    74
  typedef enum  BDF_PropertyType_
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    75
  {
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    76
    BDF_PROPERTY_TYPE_NONE     = 0,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    77
    BDF_PROPERTY_TYPE_ATOM     = 1,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    78
    BDF_PROPERTY_TYPE_INTEGER  = 2,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    79
    BDF_PROPERTY_TYPE_CARDINAL = 3
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    80
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    81
  } BDF_PropertyType;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    82
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    83
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    84
  /**********************************************************************
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    85
   *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    86
   * @type:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    87
   *    BDF_Property
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    88
   *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    89
   * @description:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    90
   *    A handle to a @BDF_PropertyRec structure to model a given
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    91
   *    BDF/PCF property.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    92
   */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    93
  typedef struct BDF_PropertyRec_*  BDF_Property;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    94
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
  *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    98
  * @struct:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    99
  *    BDF_PropertyRec
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   100
  *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   101
  * @description:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   102
  *    This structure models a given BDF/PCF property.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   103
  *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   104
  * @fields:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   105
  *    type ::
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   106
  *      The property type.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   107
  *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   108
  *    u.atom ::
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   109
  *      The atom string, if type is @BDF_PROPERTY_TYPE_ATOM.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   110
  *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   111
  *    u.integer ::
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   112
  *      A signed integer, if type is @BDF_PROPERTY_TYPE_INTEGER.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   113
  *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   114
  *    u.cardinal ::
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   115
  *      An unsigned integer, if type is @BDF_PROPERTY_TYPE_CARDINAL.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   116
  */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   117
  typedef struct  BDF_PropertyRec_
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   118
  {
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   119
    BDF_PropertyType  type;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   120
    union {
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   121
      const char*     atom;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   122
      FT_Int32        integer;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   123
      FT_UInt32       cardinal;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   124
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   125
    } u;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   126
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   127
  } BDF_PropertyRec;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   128
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   129
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   130
 /**********************************************************************
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   131
  *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   132
  * @function:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   133
  *    FT_Get_BDF_Charset_ID
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   134
  *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   135
  * @description:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   136
  *    Retrieve a BDF font character set identity, according to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   137
  *    the BDF specification.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   138
  *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   139
  * @input:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   140
  *    face ::
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   141
  *       A handle to the input face.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   142
  *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   143
  * @output:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   144
  *    acharset_encoding ::
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   145
  *       Charset encoding, as a C~string, owned by the face.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   146
  *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   147
  *    acharset_registry ::
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   148
  *       Charset registry, as a C~string, owned by the face.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   149
  *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   150
  * @return:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   151
  *   FreeType error code.  0~means success.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   152
  *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   153
  * @note:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   154
  *   This function only works with BDF faces, returning an error otherwise.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   155
  */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   156
  FT_EXPORT( FT_Error )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   157
  FT_Get_BDF_Charset_ID( FT_Face       face,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   158
                         const char*  *acharset_encoding,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   159
                         const char*  *acharset_registry );
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   160
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   161
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   162
 /**********************************************************************
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   163
  *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   164
  * @function:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   165
  *    FT_Get_BDF_Property
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   166
  *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   167
  * @description:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   168
  *    Retrieve a BDF property from a BDF or PCF font file.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   169
  *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   170
  * @input:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   171
  *    face :: A handle to the input face.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   172
  *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   173
  *    name :: The property name.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   174
  *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   175
  * @output:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   176
  *    aproperty :: The property.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   177
  *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   178
  * @return:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   179
  *   FreeType error code.  0~means success.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   180
  *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   181
  * @note:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   182
  *   This function works with BDF _and_ PCF fonts.  It returns an error
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   183
  *   otherwise.  It also returns an error if the property is not in the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   184
  *   font.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   185
  *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   186
  *   A `property' is a either key-value pair within the STARTPROPERTIES
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   187
  *   ... ENDPROPERTIES block of a BDF font or a key-value pair from the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   188
  *   `info->props' array within a `FontRec' structure of a PCF font.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   189
  *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   190
  *   Integer properties are always stored as `signed' within PCF fonts;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   191
  *   consequently, @BDF_PROPERTY_TYPE_CARDINAL is a possible return value
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   192
  *   for BDF fonts only.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   193
  *
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   194
  *   In case of error, `aproperty->type' is always set to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   195
  *   @BDF_PROPERTY_TYPE_NONE.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   196
  */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   197
  FT_EXPORT( FT_Error )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   198
  FT_Get_BDF_Property( FT_Face           face,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   199
                       const char*       prop_name,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   200
                       BDF_PropertyRec  *aproperty );
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   201
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   202
 /* */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   203
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   204
FT_END_HEADER
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   205
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   206
#endif /* __FTBDF_H__ */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   207
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   208
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   209
/* END */