10#ifndef _FREETYPEENV_H_
11#define _FREETYPEENV_H_
22#define FT_CEIL(X) (((X + 63) & -64) >> 6)
23#define FT_FLOOR(X) ((X & -64) >>6)
97 unsigned char* buffer,
115 FT_Face* pTheLoadedFace,
116 const FT_Library* pFTLibrary);
Helper Macros in Guiliani
FontResource_t
List of font resource ids.
Definition: GUIFontResource.h:54
Class for all common FreeType functions.
Definition: FreeTypeEnv.h:35
static eC_Bool ms_bDisableKerning
True will disable Kerning. False will enable it (if supported by the given FontWrapper)
Definition: FreeTypeEnv.h:38
static eC_Int LoadRequestedFont(const FontResource_t eFontID, FT_Face *pTheLoadedFace, const FT_Library *pFTLibrary)
static unsigned long FreeType_Stream_IoFunc(FT_Stream stream, unsigned long offset, unsigned char *buffer, unsigned long count)
static void SetDisableKerning(const eC_Bool bDisableKerning)
static eC_Bool GetDisableKerning()
static void SetFakeBoldAndItalic(const eC_Bool bFakeBoldAndItalic)
static void * FreeType_ReAllocFunc(FT_Memory memory, long cur_size, long new_size, void *block)
static void FreeType_CloseStreamFunc(FT_Stream stream)
static eC_Bool GetFakeBoldAndItalic()
static void * FreeType_AllocFunc(FT_Memory memory, long size)
static eC_Bool ms_bFakeBoldAndItalic
True will enable auto-generation of bold/italic effects. False will disable it. (if supported by the ...
Definition: FreeTypeEnv.h:37
static void FreeType_FreeFunc(FT_Memory memory, void *block)