clarify the gui
[open-ps2-loader.git] / thirdparty / freetype-2.3.12 / src / base / ftwinfnt.c
blobbc2e90e1f6ba33d2a1f277bc4d2c6f3ba6ae11d1
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 /***************************************************************************/
19 #include <ft2build.h>
20 #include FT_WINFONTS_H
21 #include FT_INTERNAL_OBJECTS_H
22 #include FT_SERVICE_WINFNT_H
25 /* documentation is in ftwinfnt.h */
27 FT_EXPORT_DEF( FT_Error )
28 FT_Get_WinFNT_Header( FT_Face face,
29 FT_WinFNT_HeaderRec *header )
31 FT_Service_WinFnt service;
32 FT_Error error;
35 error = FT_Err_Invalid_Argument;
37 if ( face != NULL )
39 FT_FACE_LOOKUP_SERVICE( face, service, WINFNT );
41 if ( service != NULL )
43 error = service->get_header( face, header );
47 return error;
51 /* END */