zenilib: zenilib/jni/external/freetype2/src/base/ftbase.h Source File

zenilib 0.5.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ftbase.h
Go to the documentation of this file.
1 /***************************************************************************/
2 /* */
3 /* ftbase.h */
4 /* */
5 /* The FreeType private functions used in base module (specification). */
6 /* */
7 /* Copyright 2008, 2010 by */
8 /* David Turner, Robert Wilhelm, Werner Lemberg, and suzuki toshiya. */
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 #ifndef __FTBASE_H__
20 #define __FTBASE_H__
21
22
23 #include <ft2build.h>
24 #include FT_INTERNAL_OBJECTS_H
25
26
27 FT_BEGIN_HEADER
28
29
30 /* Assume the stream is sfnt-wrapped PS Type1 or sfnt-wrapped CID-keyed */
31 /* font, and try to load a face specified by the face_index. */
32 FT_LOCAL( FT_Error )
33 open_face_PS_from_sfnt_stream( FT_Library library,
34 FT_Stream stream,
35 FT_Long face_index,
36 FT_Int num_params,
37 FT_Parameter *params,
38 FT_Face *aface );
39
40
41 /* Create a new FT_Face given a buffer and a driver name. */
42 /* From ftmac.c. */
43 FT_LOCAL( FT_Error )
44 open_face_from_buffer( FT_Library library,
45 FT_Byte* base,
46 FT_ULong size,
47 FT_Long face_index,
48 const char* driver_name,
49 FT_Face *aface );
50
51
52 #if defined( FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK ) && \
53 !defined( FT_MACINTOSH )
54 /* Mac OS X/Darwin kernel often changes recommended method to access */
55 /* the resource fork and older methods makes the kernel issue the */
56 /* warning of deprecated method. To calm it down, the methods based */
57 /* on Darwin VFS should be grouped and skip the rest methods after */
58 /* the case the resource is opened but found to lack a font in it. */
59 FT_LOCAL( FT_Bool )
60 ft_raccess_rule_by_darwin_vfs( FT_Library library, FT_UInt rule_index );
61 #endif
62
63
64 FT_END_HEADER
65
66 #endif /* __FTBASE_H__ */
67
68
69 /* END */
FT_Error
int FT_Error
Definition: fttypes.h:296
FT_Long
signed long FT_Long
Definition: fttypes.h:238
FT_ULong
unsigned long FT_ULong
Definition: fttypes.h:249
FT_END_HEADER
#define FT_END_HEADER
Definition: ftheader.h:54
FT_Int
signed int FT_Int
Definition: fttypes.h:216
stream
GLuint GLuint stream
Definition: glew.h:6573
library
FT_Library library
Definition: cffdrivr.c:409
open_face_PS_from_sfnt_stream
FT_BEGIN_HEADER open_face_PS_from_sfnt_stream(FT_Library library, FT_Stream stream, FT_Long face_index, FT_Int num_params, FT_Parameter *params, FT_Face *aface)
FT_Bool
FT_BEGIN_HEADER typedef unsigned char FT_Bool
Definition: fttypes.h:104
open_face_from_buffer
open_face_from_buffer(FT_Library library, FT_Byte *base, FT_ULong size, FT_Long face_index, const char *driver_name, FT_Face *aface)
FT_Byte
unsigned char FT_Byte
Definition: fttypes.h:150
FT_BEGIN_HEADER
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
params
GLenum GLvoid ** params
Definition: gl2ext.h:806
FT_LOCAL
#define FT_LOCAL(x)
Definition: ftconfig.h:466
FT_FaceRec_
Definition: freetype.h:912
FT_LibraryRec_
Definition: ftobjs.h:824
const
#define const
Definition: zconf.h:91
ft2build.h
FT_UInt
unsigned int FT_UInt
Definition: fttypes.h:227
FT_StreamRec_
Definition: ftsystem.h:321
FT_Parameter_
Definition: freetype.h:1763
size
GLsizei size
Definition: gl2ext.h:1467