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

Side by Side Diff: third_party/freetype/src/base/ftxf86.c

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/base/ftwinfnt.c ('k') | third_party/freetype/src/base/md5.h » ('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 /* ftxf86.c */ 3 /* ftxf86.c */
4 /* */ 4 /* */
5 /* FreeType utility file for X11 support (body). */ 5 /* FreeType utility file for X11 support (body). */
6 /* */ 6 /* */
7 /* Copyright 2002, 2003, 2004 by */ 7 /* Copyright 2002, 2003, 2004 by */
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9 /* */ 9 /* */
10 /* This file is part of the FreeType project, and may only be used, */ 10 /* This file is part of the FreeType project, and may only be used, */
11 /* modified, and distributed under the terms of the FreeType project */ 11 /* modified, and distributed under the terms of the FreeType project */
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 /* this file you indicate that you have read the license and */ 13 /* this file you indicate that you have read the license and */
14 /* understand and accept it fully. */ 14 /* understand and accept it fully. */
15 /* */ 15 /* */
16 /***************************************************************************/ 16 /***************************************************************************/
17 17
18 18
19 #include "../../include/ft2build.h" 19 #include <ft2build.h>
20 #include "../../include/freetype/ftxf86.h" 20 #include FT_XFREE86_H
21 #include "../../include/freetype/internal/ftobjs.h" 21 #include FT_INTERNAL_OBJECTS_H
22 #include "../../include/freetype/internal/services/svxf86nm.h" 22 #include FT_SERVICE_XFREE86_NAME_H
23 23
24 24
25 /* documentation is in ftxf86.h */ 25 /* documentation is in ftxf86.h */
26 26
27 FT_EXPORT_DEF( const char* ) 27 FT_EXPORT_DEF( const char* )
28 FT_Get_X11_Font_Format( FT_Face face ) 28 FT_Get_X11_Font_Format( FT_Face face )
29 { 29 {
30 const char* result = NULL; 30 const char* result = NULL;
31 31
32 32
33 if ( face ) 33 if ( face )
34 FT_FACE_FIND_SERVICE( face, result, XF86_NAME ); 34 FT_FACE_FIND_SERVICE( face, result, XF86_NAME );
35 35
36 return result; 36 return result;
37 } 37 }
38 38
39 39
40 /* END */ 40 /* END */
OLDNEW
« no previous file with comments | « third_party/freetype/src/base/ftwinfnt.c ('k') | third_party/freetype/src/base/md5.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698