• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /****************************************************************************
2  *
3  * cffobjs.h
4  *
5  *   OpenType objects manager (specification).
6  *
7  * Copyright (C) 1996-2020 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 CFFOBJS_H_
20 #define CFFOBJS_H_
21 
22 
23 
24 
25 FT_BEGIN_HEADER
26 
27 
28   FT_LOCAL( FT_Error )
29   cff_size_init( FT_Size  size );           /* CFF_Size */
30 
31   FT_LOCAL( void )
32   cff_size_done( FT_Size  size );           /* CFF_Size */
33 
34   FT_LOCAL( FT_Error )
35   cff_size_request( FT_Size          size,
36                     FT_Size_Request  req );
37 
38 #ifdef TT_CONFIG_OPTION_EMBEDDED_BITMAPS
39 
40   FT_LOCAL( FT_Error )
41   cff_size_select( FT_Size   size,
42                    FT_ULong  strike_index );
43 
44 #endif
45 
46   FT_LOCAL( void )
47   cff_slot_done( FT_GlyphSlot  slot );
48 
49   FT_LOCAL( FT_Error )
50   cff_slot_init( FT_GlyphSlot  slot );
51 
52 
53   /**************************************************************************
54    *
55    * Face functions
56    */
57   FT_LOCAL( FT_Error )
58   cff_face_init( FT_Stream      stream,
59                  FT_Face        face,           /* CFF_Face */
60                  FT_Int         face_index,
61                  FT_Int         num_params,
62                  FT_Parameter*  params );
63 
64   FT_LOCAL( void )
65   cff_face_done( FT_Face  face );               /* CFF_Face */
66 
67 
68   /**************************************************************************
69    *
70    * Driver functions
71    */
72   FT_LOCAL( FT_Error )
73   cff_driver_init( FT_Module  module );         /* PS_Driver */
74 
75   FT_LOCAL( void )
76   cff_driver_done( FT_Module  module );         /* PS_Driver */
77 
78 
79 FT_END_HEADER
80 
81 #endif /* CFFOBJS_H_ */
82 
83 
84 /* END */
85