zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ftwinfnt.c
Go to the documentation of this file.
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 <ft2build.h>
20 #include FT_WINFONTS_H
21 #include FT_INTERNAL_OBJECTS_H
22 #include FT_SERVICE_WINFNT_H
23 
24 
25  /* documentation is in ftwinfnt.h */
26 
30  {
31  FT_Service_WinFnt service;
33 
34 
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 */
int FT_Error
Definition: fttypes.h:296
cannot open resource broken file module version is too low unimplemented feature broken offset within table missing module invalid character code cannot render this glyph format invalid composite glyph invalid pixel size invalid library handle invalid face handle invalid glyph slot handle invalid cache manager handle too many modules out of memory cannot open stream invalid stream skip invalid stream operation nested frame access raster uninitialized raster overflow too many registered caches too few arguments code overflow division by zero found debug opcode nested DEFS execution context too long too many instruction definitions horizontal header(hhea) table missing" ) FT_ERRORDEF_( Locations_Missing
FT_Get_WinFNT_Header(FT_Face face, FT_WinFNT_HeaderRec *aheader)
Definition: ftwinfnt.c:28
#define NULL
Definition: ftobjs.h:61
return FT_Err_Invalid_Argument
Definition: ftbbox.c:584
#define FT_FACE_LOOKUP_SERVICE(face, ptr, id)
Definition: ftserv.h:625
FT_Error error
Definition: cffdrivr.c:407
GLenum face
Definition: gl2ext.h:1490
#define FT_EXPORT_DEF(x)
Definition: ftconfig.h:511