Skip to content
0.2.0-dev Download ZIP
52 lines ·1.1 KB Raw
1/****************************************************************************
2 *
3 * ttgpos.h
4 *
5 * Routines to parse and access the 'GPOS' table for simple kerning
6 * (specification).
7 *
8 * Copyright (C) 2024-2026 by
9 * David Saltzman
10 *
11 * This file is part of the FreeType project, and may only be used,
12 * modified, and distributed under the terms of the FreeType project
13 * license, LICENSE.TXT. By continuing to use, modify, or distribute
14 * this file you indicate that you have read the license and
15 * understand and accept it fully.
16 */
17
18
19#ifndef TTGPOS_H_
20#define TTGPOS_H_
21
22
23#include <freetype/internal/ftstream.h>
24#include <freetype/internal/tttypes.h>
25
26
27FT_BEGIN_HEADER
28
29
30#ifdef TT_CONFIG_OPTION_GPOS_KERNING
31
32 FT_LOCAL( FT_Error )
33 tt_face_load_gpos( TT_Face face,
34 FT_Stream stream );
35
36 FT_LOCAL( void )
37 tt_face_done_gpos( TT_Face face );
38
39 FT_LOCAL( FT_Int )
40 tt_face_get_gpos_kerning( TT_Face face,
41 FT_UInt first_glyph,
42 FT_UInt second_glyph );
43
44#endif /* TT_CONFIG_OPTION_GPOS_KERNING */
45
46
47FT_END_HEADER
48
49#endif /* TTGPOS_H_ */
50
51
52/* END */