fontservices/freetypefontrasteriser/freetype2/include/freetype/internal/services/svpostnm.h
author Shabe Razvi <shaber@symbian.org>
Wed, 21 Apr 2010 10:38:57 +0100
changeset 18 67f6b0d39020
permissions -rw-r--r--
Apply Bug 1543 - freetype.dll cannot be built
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     1
/***************************************************************************/
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     2
/*                                                                         */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     3
/*  svpostnm.h                                                             */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     4
/*                                                                         */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     5
/*    The FreeType PostScript name services (specification).               */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     6
/*                                                                         */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     7
/*  Copyright 2003 by                                                      */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     8
/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     9
/*                                                                         */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    10
/*  This file is part of the FreeType project, and may only be used,       */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    11
/*  modified, and distributed under the terms of the FreeType project      */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    12
/*  license, FTL.TXT.  By continuing to use, modify, or distribute     */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    13
/*  this file you indicate that you have read the license and              */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    14
/*  understand and accept it fully.                                        */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    15
/*                                                                         */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    16
/***************************************************************************/
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    17
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    18
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    19
#ifndef __SVPOSTNM_H__
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    20
#define __SVPOSTNM_H__
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    21
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    22
#include FT_INTERNAL_SERVICE_H
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    23
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    24
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    25
FT_BEGIN_HEADER
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    26
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    27
  /*
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    28
   *  A trivial service used to retrieve the PostScript name of a given
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    29
   *  font when available.  The `get_name' field should never be NULL.
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    30
   *
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    31
   *  The correponding function can return NULL to indicate that the
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    32
   *  PostScript name is not available.
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    33
   *
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    34
   *  The name is owned by the face and will be destroyed with it.
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    35
   */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    36
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    37
#define FT_SERVICE_ID_POSTSCRIPT_FONT_NAME  "postscript-font-name"
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    38
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    39
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    40
  typedef const char*
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    41
  (*FT_PsName_GetFunc)( FT_Face  face );
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    42
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    43
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    44
  FT_DEFINE_SERVICE( PsFontName )
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    45
  {
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    46
    FT_PsName_GetFunc  get_ps_font_name;
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    47
  };
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    48
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    49
  /* */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    50
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    51
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    52
FT_END_HEADER
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    53
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    54
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    55
#endif /* __SVPOSTNM_H__ */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    56
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    57
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    58
/* END */