svcid.h revision a38fc482eeeb2c1929803c233835369dcf1b8781
1/***************************************************************************/
2/*                                                                         */
3/*  svcid.h                                                                */
4/*                                                                         */
5/*    The FreeType CID font services (specification).                      */
6/*                                                                         */
7/*  Copyright 2007 by Derek Clegg.                                         */
8/*                                                                         */
9/*  This file is part of the FreeType project, and may only be used,       */
10/*  modified, and distributed under the terms of the FreeType project      */
11/*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
12/*  this file you indicate that you have read the license and              */
13/*  understand and accept it fully.                                        */
14/*                                                                         */
15/***************************************************************************/
16
17
18#ifndef __SVCID_H__
19#define __SVCID_H__
20
21#include FT_INTERNAL_SERVICE_H
22
23
24FT_BEGIN_HEADER
25
26
27#define FT_SERVICE_ID_CID  "CID"
28
29  typedef FT_Error
30  (*FT_CID_GetRegistryOrderingSupplementFunc)( FT_Face       face,
31                                               const char*  *registry,
32                                               const char*  *ordering,
33                                               FT_Int       *supplement );
34
35  FT_DEFINE_SERVICE( CID )
36  {
37    FT_CID_GetRegistryOrderingSupplementFunc  get_ros;
38  };
39
40  /* */
41
42
43FT_END_HEADER
44
45
46#endif /* __SVCID_H__ */
47
48
49/* END */
50