22#ifndef GRAPHICS_FONTS_FREETYPE_H
23#define GRAPHICS_FONTS_FREETYPE_H
27#include "common/scummsys.h"
35extern FT_Error Init_FreeType(FT_Library *alibrary);
36extern FT_Error Init_FreeType_With_Mem(FT_Library *alibrary, FT_Memory *amem);
37extern FT_Error Done_FreeType(FT_Library library);
38extern FT_Error Done_FreeType_With_Mem(FT_Library library, FT_Memory mem);
39extern FT_Error Load_Glyph(FT_Face face, FT_UInt glyph_index, FT_Int32 load_flags);
40extern FT_Error Get_Glyph(FT_GlyphSlot slot, FT_Glyph *aglyph);
41extern FT_Error Glyph_Copy(FT_Glyph source, FT_Glyph *target);
42extern FT_Error Glyph_To_Bitmap(FT_Glyph *the_glyph, FT_Render_Mode render_mode,
43 FT_Vector *origin, FT_Bool destroy);
44extern void Done_Glyph(FT_Glyph glyph);
45extern FT_Error Set_Pixel_Sizes(FT_Face face, FT_UInt pixel_width,
46 FT_UInt pixel_height);
47extern FT_Error New_Face(FT_Library library,
const char *pathname,
48 FT_Long face_index, FT_Face *aface);
49extern FT_Error New_Memory_Face(FT_Library library,
const FT_Byte *file_base,
50 FT_Long file_size, FT_Long face_index, FT_Face *aface);
51extern FT_Error Done_Face(FT_Face face);
52extern FT_UInt Get_Char_Index(FT_Face face, FT_ULong charcode);
53extern FT_Error Get_Kerning(FT_Face face, FT_UInt left_glyph,
54 FT_UInt right_glyph, FT_UInt kern_mode, FT_Vector *akerning);
Definition: formatinfo.h:28