Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenftbase.h
Go to the documentation of this file.
00001 /***************************************************************************/ 00002 /* */ 00003 /* ftbase.h */ 00004 /* */ 00005 /* The FreeType private functions used in base module (specification). */ 00006 /* */ 00007 /* Copyright 2008, 2010 by */ 00008 /* David Turner, Robert Wilhelm, Werner Lemberg, and suzuki toshiya. */ 00009 /* */ 00010 /* This file is part of the FreeType project, and may only be used, */ 00011 /* modified, and distributed under the terms of the FreeType project */ 00012 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 00013 /* this file you indicate that you have read the license and */ 00014 /* understand and accept it fully. */ 00015 /* */ 00016 /***************************************************************************/ 00017 00018 00019 #ifndef __FTBASE_H__ 00020 #define __FTBASE_H__ 00021 00022 00023 #include <ft2build.h> 00024 #include FT_INTERNAL_OBJECTS_H 00025 00026 00027 FT_BEGIN_HEADER 00028 00029 00030 /* Assume the stream is sfnt-wrapped PS Type1 or sfnt-wrapped CID-keyed */ 00031 /* font, and try to load a face specified by the face_index. */ 00032 FT_LOCAL( FT_Error ) 00033 open_face_PS_from_sfnt_stream( FT_Library library, 00034 FT_Stream stream, 00035 FT_Long face_index, 00036 FT_Int num_params, 00037 FT_Parameter *params, 00038 FT_Face *aface ); 00039 00040 00041 /* Create a new FT_Face given a buffer and a driver name. */ 00042 /* From ftmac.c. */ 00043 FT_LOCAL( FT_Error ) 00044 open_face_from_buffer( FT_Library library, 00045 FT_Byte* base, 00046 FT_ULong size, 00047 FT_Long face_index, 00048 const char* driver_name, 00049 FT_Face *aface ); 00050 00051 00052 #ifdef FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK 00053 /* Mac OS X/Darwin kernel often changes recommended method to access */ 00054 /* the resource fork and older methods makes the kernel issue the */ 00055 /* warning of deprecated method. To calm it down, the methods based */ 00056 /* on Darwin VFS should be grouped and skip the rest methods after */ 00057 /* the case the resource is opened but found to lack a font in it. */ 00058 FT_LOCAL( FT_Bool ) 00059 raccess_rule_by_darwin_vfs( FT_UInt rule_index ); 00060 #endif /* FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK */ 00061 00062 00063 FT_END_HEADER 00064 00065 #endif /* __FTBASE_H__ */ 00066 00067 00068 /* END */ Generated on Sat May 26 2012 04:32:29 for ReactOS by
1.7.6.1
|