ttkern.h (1093B)
1 /**************************************************************************** 2 * 3 * ttkern.h 4 * 5 * Routines to parse and access the 'kern' table for kerning 6 * (specification). 7 * 8 * Copyright (C) 1996-2025 by 9 * David Turner, Robert Wilhelm, and Werner Lemberg. 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 20 #ifndef TTKERN_H_ 21 #define TTKERN_H_ 22 23 24 #include <freetype/internal/ftstream.h> 25 #include <freetype/internal/tttypes.h> 26 27 28 FT_BEGIN_HEADER 29 30 31 FT_LOCAL( FT_Error ) 32 tt_face_load_kern( TT_Face face, 33 FT_Stream stream ); 34 35 FT_LOCAL( void ) 36 tt_face_done_kern( TT_Face face ); 37 38 FT_LOCAL( FT_Int ) 39 tt_face_get_kerning( TT_Face face, 40 FT_UInt left_glyph, 41 FT_UInt right_glyph ); 42 43 44 FT_END_HEADER 45 46 #endif /* TTKERN_H_ */ 47 48 49 /* END */