fontservices/freetypefontrasteriser/freetype2/include/freetype/internal/services/svsfnt.h
author MattD <mattd@symbian.org>
Mon, 08 Feb 2010 15:30:13 +0000
changeset 66 18fedaf0292a
permissions -rw-r--r--
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
66
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
     1
/***************************************************************************/
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
     2
/*                                                                         */
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
     3
/*  svsfnt.h                                                               */
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
     4
/*                                                                         */
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
     5
/*    The FreeType SFNT table loading service (specification).             */
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
     6
/*                                                                         */
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
     7
/*  Copyright 2003, 2004 by                                                */
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
     8
/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
     9
/*                                                                         */
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    10
/*  This file is part of the FreeType project, and may only be used,       */
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    11
/*  modified, and distributed under the terms of the FreeType project      */
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    12
/*  license, FTL.TXT.  By continuing to use, modify, or distribute     */
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    13
/*  this file you indicate that you have read the license and              */
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    14
/*  understand and accept it fully.                                        */
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    15
/*                                                                         */
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    16
/***************************************************************************/
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    17
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    18
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    19
#ifndef __SVSFNT_H__
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    20
#define __SVSFNT_H__
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    21
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    22
#include FT_INTERNAL_SERVICE_H
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    23
#include FT_TRUETYPE_TABLES_H
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    24
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    25
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    26
FT_BEGIN_HEADER
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    27
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    28
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    29
  /*
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    30
   *  SFNT table loading service.
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    31
   */
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    32
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    33
#define FT_SERVICE_ID_SFNT_TABLE  "sfnt-table"
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    34
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    35
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    36
  /*
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    37
   * Used to implement FT_Load_Sfnt_Table().
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    38
   */
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    39
  typedef FT_Error
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    40
  (*FT_SFNT_TableLoadFunc)( FT_Face    face,
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    41
                            FT_ULong   tag,
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    42
                            FT_Long    offset,
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    43
                            FT_Byte*   buffer,
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    44
                            FT_ULong*  length );
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    45
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    46
  /*
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    47
   * Used to implement FT_Get_Sfnt_Table().
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    48
   */
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    49
  typedef void*
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    50
  (*FT_SFNT_TableGetFunc)( FT_Face      face,
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    51
                           FT_Sfnt_Tag  tag );
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    52
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    53
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    54
  /*
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    55
   * Used to implement FT_Sfnt_Table_Info().
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    56
   */
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    57
  typedef FT_Error
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    58
  (*FT_SFNT_TableInfoFunc)( FT_Face    face,
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    59
                            FT_UInt    idx,
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    60
                            FT_ULong  *tag,
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    61
                            FT_ULong  *length );
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    62
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    63
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    64
  FT_DEFINE_SERVICE( SFNT_Table )
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    65
  {
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    66
    FT_SFNT_TableLoadFunc  load_table;
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    67
    FT_SFNT_TableGetFunc   get_table;
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    68
    FT_SFNT_TableInfoFunc  table_info;
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    69
  };
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    70
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    71
  /* */
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    72
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    73
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    74
FT_END_HEADER
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    75
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    76
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    77
#endif /* __SVSFNT_H__ */
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    78
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    79
18fedaf0292a Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff changeset
    80
/* END */