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

Side by Side Diff: src/base/ftwinfnt.c

Issue 89753003: Update freetype to latest version of ASOP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src/third_party/freetype.git@master
Patch Set: Created 7 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 | « src/base/ftutil.c ('k') | 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 /* ftwinfnt.c */ 3 /* ftwinfnt.c */
4 /* */ 4 /* */
5 /* FreeType API for accessing Windows FNT specific info (body). */ 5 /* FreeType API for accessing Windows FNT specific info (body). */
6 /* */ 6 /* */
7 /* Copyright 2003, 2004 by */ 7 /* Copyright 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, */
(...skipping 14 matching lines...) Expand all
25 /* documentation is in ftwinfnt.h */ 25 /* documentation is in ftwinfnt.h */
26 26
27 FT_EXPORT_DEF( FT_Error ) 27 FT_EXPORT_DEF( FT_Error )
28 FT_Get_WinFNT_Header( FT_Face face, 28 FT_Get_WinFNT_Header( FT_Face face,
29 FT_WinFNT_HeaderRec *header ) 29 FT_WinFNT_HeaderRec *header )
30 { 30 {
31 FT_Service_WinFnt service; 31 FT_Service_WinFnt service;
32 FT_Error error; 32 FT_Error error;
33 33
34 34
35 error = FT_Err_Invalid_Argument; 35 error = FT_ERR( Invalid_Argument );
36 36
37 if ( face != NULL ) 37 if ( face != NULL )
38 { 38 {
39 FT_FACE_LOOKUP_SERVICE( face, service, WINFNT ); 39 FT_FACE_LOOKUP_SERVICE( face, service, WINFNT );
40 40
41 if ( service != NULL ) 41 if ( service != NULL )
42 { 42 {
43 error = service->get_header( face, header ); 43 error = service->get_header( face, header );
44 } 44 }
45 } 45 }
46 46
47 return error; 47 return error;
48 } 48 }
49 49
50 50
51 /* END */ 51 /* END */
OLDNEW
« no previous file with comments | « src/base/ftutil.c ('k') | src/base/md5.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698