1 /***************************************************************************/
5 /* The FreeType private functions used in base module (specification). */
7 /* Copyright 2008, 2010 by */
8 /* David Turner, Robert Wilhelm, Werner Lemberg, and suzuki toshiya. */
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. */
16 /***************************************************************************/
24 #include FT_INTERNAL_OBJECTS_H
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. */
33 open_face_PS_from_sfnt_stream( FT_Library library,
41 /* Create a new FT_Face given a buffer and a driver name. */
44 open_face_from_buffer( FT_Library library,
48 const char* driver_name,
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. */
60 ft_raccess_rule_by_darwin_vfs( FT_Library library, FT_UInt rule_index );
66 #endif /* __FTBASE_H__ */