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

Side by Side Diff: core/src/fxge/fx_freetype/fxft2.5.01/src/base/ftwinfnt.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
OLDNEW
(Empty)
1 /***************************************************************************/
2 /* */
3 /* ftwinfnt.c */
4 /* */
5 /* FreeType API for accessing Windows FNT specific info (body). */
6 /* */
7 /* Copyright 2003, 2004 by */
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9 /* */
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 */
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 /* this file you indicate that you have read the license and */
14 /* understand and accept it fully. */
15 /* */
16 /***************************************************************************/
17
18
19 #include "../../include/ft2build.h"
20 #include "../../include/freetype/ftwinfnt.h"
21 #include "../../include/freetype/internal/ftobjs.h"
22 #include "../../include/freetype/internal/services/svwinfnt.h"
23
24
25 /* documentation is in ftwinfnt.h */
26
27 FT_EXPORT_DEF( FT_Error )
28 FT_Get_WinFNT_Header( FT_Face face,
29 FT_WinFNT_HeaderRec *header )
30 {
31 FT_Service_WinFnt service;
32 FT_Error error;
33
34
35 error = FT_ERR( Invalid_Argument );
36
37 if ( face != NULL )
38 {
39 FT_FACE_LOOKUP_SERVICE( face, service, WINFNT );
40
41 if ( service != NULL )
42 {
43 error = service->get_header( face, header );
44 }
45 }
46
47 return error;
48 }
49
50
51 /* END */
OLDNEW
« no previous file with comments | « core/src/fxge/fx_freetype/fxft2.5.01/src/base/ftutil.c ('k') | core/src/fxge/fx_freetype/fxft2.5.01/src/base/ftxf86.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698