summaryrefslogtreecommitdiff
path: root/src/psaux/psdecode.c
blob: 70034258249bbb25105981fbd4dda6cdc18185ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57


#include <ft2build.h>
#include FT_INTERNAL_SERVICE_H
#include FT_SERVICE_CFF_TABLE_LOAD_H

#include "psdecode.h"
#include "psobjs.h"

#include "psauxerr.h"


  /*************************************************************************/
  /*                                                                       */
  /* <Function>                                                            */
  /*    ps_decoder_init                                                    */
  /*                                                                       */
  /* <Description>                                                         */
  /*    Initializes a given glyph decoder.                                 */
  /*                                                                       */
  /* <InOut>                                                               */
  /*    decoder :: A pointer to the glyph builder to initialize.           */
  /*                                                                       */
  /* <Input>                                                               */
  /*    face      :: The current face object.                              */
  /*                                                                       */
  /*    size      :: The current size object.                              */
  /*                                                                       */
  /*    slot      :: The current glyph object.                             */
  /*                                                                       */
  /*    hinting   :: Whether hinting is active.                            */
  /*                                                                       */
  /*    hint_mode :: The hinting mode.                                     */
  /*                                                                       */
  FT_LOCAL_DEF( void )
  ps_decoder_init( PS_Decoder*     decoder,
                   TT_Face         face,
                   FT_Size         size,
                   CFF_GlyphSlot   slot,
                   FT_Byte**       glyph_names,
                   PS_Blend        blend,
                   FT_Bool         hinting,
                   FT_Render_Mode  hint_mode,
                   PS_Decoder_Get_Glyph_Callback   get_callback,
                   PS_Decoder_Free_Glyph_Callback  free_callback )
  {
  }


  /* this function is used to select the subfont */
  /* and the locals subrs array                  */
  FT_LOCAL_DEF( FT_Error )
  ps_decoder_prepare( PS_Decoder*  decoder,
                      FT_Size      size,
                      FT_UInt      glyph_index )
  {
  }