Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

ftmac.c File Reference

#include <ft2build.h>
#include "ftbase.h"
#include <CoreServices/CoreServices.h>
#include <ApplicationServices/ApplicationServices.h>
#include <sys/syslimits.h>

Go to the source code of this file.

Defines

#define OS_INLINE   static __inline__
#define HAVE_TYPE_RESOURCE_INDEX   0
#define FT_DEPRECATED_ATTRIBUTE
#define kATSOptionFlagsUnRestrictedScope   kATSOptionFlagsDefault
#define PREFER_LWFN   1

Typedefs

typedef short ResourceIndex

Functions

 FT_GetFile_From_Mac_Name (const char *fontName, FSSpec *pathSpec, FT_Long *face_index)
static OSStatus FT_ATSFontGetFileReference (ATSFontRef ats_font_id, FSRef *ats_font_ref)
static FT_Error FT_GetFileRef_From_Mac_ATS_Name (const char *fontName, FSRef *ats_font_ref, FT_Long *face_index)
 FT_GetFilePath_From_Mac_ATS_Name (const char *fontName, UInt8 *path, UInt32 maxPathSize, FT_Long *face_index)
 FT_GetFile_From_Mac_ATS_Name (const char *fontName, FSSpec *pathSpec, FT_Long *face_index)
static OSErr FT_FSPathMakeRes (const UInt8 *pathname, ResFileRefNum *res)
static OSType get_file_type_from_path (const UInt8 *pathname)
static void create_lwfn_name (char *ps_name, Str255 lwfn_file_name)
static short count_faces_sfnt (char *fond_data)
static short count_faces_scalable (char *fond_data)
static void parse_fond (char *fond_data, short *have_sfnt, ResID *sfnt_id, Str255 lwfn_file_name, short face_index)
static FT_Error lookup_lwfn_by_fond (const UInt8 *path_fond, ConstStr255Param base_lwfn, UInt8 *path_lwfn, size_t path_size)
static short count_faces (Handle fond, const UInt8 *pathname)
static FT_Error read_lwfn (FT_Memory memory, ResFileRefNum res, FT_Byte **pfb_data, FT_ULong *size)
static FT_Error FT_New_Face_From_LWFN (FT_Library library, const UInt8 *pathname, FT_Long face_index, FT_Face *aface)
static FT_Error FT_New_Face_From_SFNT (FT_Library library, ResID sfnt_id, FT_Long face_index, FT_Face *aface)
static FT_Error FT_New_Face_From_Suitcase (FT_Library library, const UInt8 *pathname, FT_Long face_index, FT_Face *aface)
 FT_New_Face_From_FOND (FT_Library library, Handle fond, FT_Long face_index, FT_Face *aface)
static FT_Error FT_New_Face_From_Resource (FT_Library library, const UInt8 *pathname, FT_Long face_index, FT_Face *aface)
 FT_New_Face (FT_Library library, const char *pathname, FT_Long face_index, FT_Face *aface)
 FT_New_Face_From_FSRef (FT_Library library, const FSRef *ref, FT_Long face_index, FT_Face *aface)
 FT_New_Face_From_FSSpec (FT_Library library, const FSSpec *spec, FT_Long face_index, FT_Face *aface)

Generated on Thu Feb 9 06:09:57 2012 for ReactOS by doxygen 1.6.3

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.