Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: third_party/freetype/src/sfnt/ttkern.h

Issue 815103002: Update freetype to 2.5.4. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Adjust GYP and GN Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/freetype/src/sfnt/ttcmapc.h ('k') | third_party/freetype/src/sfnt/ttkern.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /***************************************************************************/ 1 /***************************************************************************/
2 /* */ 2 /* */
3 /* ttkern.h */ 3 /* ttkern.h */
4 /* */ 4 /* */
5 /* Load the basic TrueType kerning table. This doesn't handle */ 5 /* Load the basic TrueType kerning table. This doesn't handle */
6 /* kerning data within the GPOS table at the moment. */ 6 /* kerning data within the GPOS table at the moment. */
7 /* */ 7 /* */
8 /* Copyright 1996-2001, 2002, 2005, 2007 by */ 8 /* Copyright 1996-2001, 2002, 2005, 2007 by */
9 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
10 /* */ 10 /* */
11 /* This file is part of the FreeType project, and may only be used, */ 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 */ 12 /* modified, and distributed under the terms of the FreeType project */
13 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
14 /* this file you indicate that you have read the license and */ 14 /* this file you indicate that you have read the license and */
15 /* understand and accept it fully. */ 15 /* understand and accept it fully. */
16 /* */ 16 /* */
17 /***************************************************************************/ 17 /***************************************************************************/
18 18
19 19
20 #ifndef __TTKERN_H__ 20 #ifndef __TTKERN_H__
21 #define __TTKERN_H__ 21 #define __TTKERN_H__
22 22
23 23
24 #include "../../include/ft2build.h" 24 #include <ft2build.h>
25 #include "../../include/freetype/internal/ftstream.h" 25 #include FT_INTERNAL_STREAM_H
26 #include "../../include/freetype/internal/tttypes.h" 26 #include FT_INTERNAL_TRUETYPE_TYPES_H
27 27
28 28
29 FT_BEGIN_HEADER 29 FT_BEGIN_HEADER
30 30
31 31
32 FT_LOCAL( FT_Error ) 32 FT_LOCAL( FT_Error )
33 tt_face_load_kern( TT_Face face, 33 tt_face_load_kern( TT_Face face,
34 FT_Stream stream ); 34 FT_Stream stream );
35 35
36 FT_LOCAL( void ) 36 FT_LOCAL( void )
37 tt_face_done_kern( TT_Face face ); 37 tt_face_done_kern( TT_Face face );
38 38
39 FT_LOCAL( FT_Int ) 39 FT_LOCAL( FT_Int )
40 tt_face_get_kerning( TT_Face face, 40 tt_face_get_kerning( TT_Face face,
41 FT_UInt left_glyph, 41 FT_UInt left_glyph,
42 FT_UInt right_glyph ); 42 FT_UInt right_glyph );
43 43
44 #define TT_FACE_HAS_KERNING( face ) ( (face)->kern_avail_bits != 0 ) 44 #define TT_FACE_HAS_KERNING( face ) ( (face)->kern_avail_bits != 0 )
45 45
46 46
47 FT_END_HEADER 47 FT_END_HEADER
48 48
49 #endif /* __TTKERN_H__ */ 49 #endif /* __TTKERN_H__ */
50 50
51 51
52 /* END */ 52 /* END */
OLDNEW
« no previous file with comments | « third_party/freetype/src/sfnt/ttcmapc.h ('k') | third_party/freetype/src/sfnt/ttkern.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698