aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/extras/freetype2/src/otlayout/otlgsub.h
blob: db5edecf1256758c328049c7eb981dd12cf58137 (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
#ifndef __OTL_GSUB_H__
#define __OTL_GSUB_H__

#include "otlayout.h"

OTL_BEGIN_HEADER

  typedef OTL_UInt  (*OTL_GSUB_AlternateFunc)( OTL_UInt     gindex,
                                               OTL_UInt     count,
                                               OTL_Bytes    alternates,
                                               OTL_Pointer  data );

  typedef struct OTL_GSUB_AlternateRec_
  {
    OTL_GSUB_AlternateFunc  handler_func;
    OTL_Pointer             handler_data;

  } OTL_GSUB_AlternateRec, *OTL_GSUB_Alternate;

  OTL_LOCAL( void )
  otl_gsub_validate( OTL_Bytes      table,
                     OTL_Validator  valid );

OTL_END_HEADER

#endif /* __OTL_GSUB_H__ */