PageRenderTime 55ms CodeModel.GetById 49ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/src/freetype/src/cid/cidload.h

https://bitbucket.org/cabalistic/ogredeps/
C++ Header | 53 lines | 19 code | 17 blank | 17 comment | 0 complexity | e1c697e8b1e6575f39fc2b85f6c65c0d MD5 | raw file
 1/***************************************************************************/
 2/*                                                                         */
 3/*  cidload.h                                                              */
 4/*                                                                         */
 5/*    CID-keyed Type1 font loader (specification).                         */
 6/*                                                                         */
 7/*  Copyright 1996-2001, 2002, 2003, 2004 by                               */
 8/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
 9/*                                                                         */
10/*  This file is part of the FreeType project, and may only be used,       */
11/*  modified, and distributed under the terms of the FreeType project      */
12/*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
13/*  this file you indicate that you have read the license and              */
14/*  understand and accept it fully.                                        */
15/*                                                                         */
16/***************************************************************************/
17
18
19#ifndef __CIDLOAD_H__
20#define __CIDLOAD_H__
21
22
23#include <ft2build.h>
24#include FT_INTERNAL_STREAM_H
25#include "cidparse.h"
26
27
28FT_BEGIN_HEADER
29
30
31  typedef struct  CID_Loader_
32  {
33    CID_Parser  parser;          /* parser used to read the stream */
34    FT_Int      num_chars;       /* number of characters in encoding */
35
36  } CID_Loader;
37
38
39  FT_LOCAL( FT_Long )
40  cid_get_offset( FT_Byte**  start,
41                  FT_Byte    offsize );
42
43  FT_LOCAL( FT_Error )
44  cid_face_open( CID_Face  face,
45                 FT_Int    face_index );
46
47
48FT_END_HEADER
49
50#endif /* __CIDLOAD_H__ */
51
52
53/* END */