zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
freetype.h File Reference
#include <ft2build.h>
#include <FT_CONFIG_CONFIG_H>
#include <FT_ERRORS_H>
#include <FT_TYPES_H>

Go to the source code of this file.

Classes

struct  FT_Bitmap_Size_
 
struct  FT_CharMapRec_
 
struct  FT_FaceRec_
 
struct  FT_Glyph_Metrics_
 
struct  FT_GlyphSlotRec_
 
struct  FT_Open_Args_
 
struct  FT_Parameter_
 
struct  FT_Size_Metrics_
 
struct  FT_Size_RequestRec_
 
struct  FT_SizeRec_
 

Macros

#define FREETYPE_MAJOR   2
 
#define FREETYPE_MINOR   4
 
#define FREETYPE_PATCH   9
 
#define FT_ENC_TAG(value, a, b, c, d)
 
#define ft_encoding_adobe_custom   FT_ENCODING_ADOBE_CUSTOM
 
#define ft_encoding_adobe_expert   FT_ENCODING_ADOBE_EXPERT
 
#define ft_encoding_adobe_standard   FT_ENCODING_ADOBE_STANDARD
 
#define ft_encoding_apple_roman   FT_ENCODING_APPLE_ROMAN
 
#define ft_encoding_big5   FT_ENCODING_BIG5
 
#define ft_encoding_gb2312   FT_ENCODING_GB2312
 
#define ft_encoding_johab   FT_ENCODING_JOHAB
 
#define ft_encoding_latin_1   FT_ENCODING_ADOBE_LATIN_1
 
#define ft_encoding_latin_2   FT_ENCODING_OLD_LATIN_2
 
#define ft_encoding_none   FT_ENCODING_NONE
 
#define ft_encoding_sjis   FT_ENCODING_SJIS
 
#define ft_encoding_symbol   FT_ENCODING_MS_SYMBOL
 
#define ft_encoding_unicode   FT_ENCODING_UNICODE
 
#define ft_encoding_wansung   FT_ENCODING_WANSUNG
 
#define FT_FACE_FLAG_CID_KEYED   ( 1L << 12 )
 
#define FT_FACE_FLAG_EXTERNAL_STREAM   ( 1L << 10 )
 
#define FT_FACE_FLAG_FAST_GLYPHS   ( 1L << 7 )
 
#define FT_FACE_FLAG_FIXED_SIZES   ( 1L << 1 )
 
#define FT_FACE_FLAG_FIXED_WIDTH   ( 1L << 2 )
 
#define FT_FACE_FLAG_GLYPH_NAMES   ( 1L << 9 )
 
#define FT_FACE_FLAG_HINTER   ( 1L << 11 )
 
#define FT_FACE_FLAG_HORIZONTAL   ( 1L << 4 )
 
#define FT_FACE_FLAG_KERNING   ( 1L << 6 )
 
#define FT_FACE_FLAG_MULTIPLE_MASTERS   ( 1L << 8 )
 
#define FT_FACE_FLAG_SCALABLE   ( 1L << 0 )
 
#define FT_FACE_FLAG_SFNT   ( 1L << 3 )
 
#define FT_FACE_FLAG_TRICKY   ( 1L << 13 )
 
#define FT_FACE_FLAG_VERTICAL   ( 1L << 5 )
 
#define FT_FSTYPE_BITMAP_EMBEDDING_ONLY   0x0200
 
#define FT_FSTYPE_EDITABLE_EMBEDDING   0x0008
 
#define FT_FSTYPE_INSTALLABLE_EMBEDDING   0x0000
 
#define FT_FSTYPE_NO_SUBSETTING   0x0100
 
#define FT_FSTYPE_PREVIEW_AND_PRINT_EMBEDDING   0x0004
 
#define FT_FSTYPE_RESTRICTED_LICENSE_EMBEDDING   0x0002
 
#define FT_HAS_FAST_GLYPHS(face)   0
 
#define FT_HAS_FIXED_SIZES(face)   ( face->face_flags & FT_FACE_FLAG_FIXED_SIZES )
 
#define FT_HAS_GLYPH_NAMES(face)   ( face->face_flags & FT_FACE_FLAG_GLYPH_NAMES )
 
#define FT_HAS_HORIZONTAL(face)   ( face->face_flags & FT_FACE_FLAG_HORIZONTAL )
 
#define FT_HAS_KERNING(face)   ( face->face_flags & FT_FACE_FLAG_KERNING )
 
#define FT_HAS_MULTIPLE_MASTERS(face)   ( face->face_flags & FT_FACE_FLAG_MULTIPLE_MASTERS )
 
#define FT_HAS_VERTICAL(face)   ( face->face_flags & FT_FACE_FLAG_VERTICAL )
 
#define FT_IS_CID_KEYED(face)   ( face->face_flags & FT_FACE_FLAG_CID_KEYED )
 
#define FT_IS_FIXED_WIDTH(face)   ( face->face_flags & FT_FACE_FLAG_FIXED_WIDTH )
 
#define FT_IS_SCALABLE(face)   ( face->face_flags & FT_FACE_FLAG_SCALABLE )
 
#define FT_IS_SFNT(face)   ( face->face_flags & FT_FACE_FLAG_SFNT )
 
#define FT_IS_TRICKY(face)   ( face->face_flags & FT_FACE_FLAG_TRICKY )
 
#define ft_kerning_default   FT_KERNING_DEFAULT
 
#define ft_kerning_unfitted   FT_KERNING_UNFITTED
 
#define ft_kerning_unscaled   FT_KERNING_UNSCALED
 
#define FT_LOAD_ADVANCE_ONLY   ( 1L << 8 )
 
#define FT_LOAD_CROP_BITMAP   ( 1L << 6 )
 
#define FT_LOAD_DEFAULT   0x0
 
#define FT_LOAD_FORCE_AUTOHINT   ( 1L << 5 )
 
#define FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH   ( 1L << 9 )
 
#define FT_LOAD_IGNORE_TRANSFORM   ( 1L << 11 )
 
#define FT_LOAD_LINEAR_DESIGN   ( 1L << 13 )
 
#define FT_LOAD_MONOCHROME   ( 1L << 12 )
 
#define FT_LOAD_NO_AUTOHINT   ( 1L << 15 )
 
#define FT_LOAD_NO_BITMAP   ( 1L << 3 )
 
#define FT_LOAD_NO_HINTING   ( 1L << 1 )
 
#define FT_LOAD_NO_RECURSE   ( 1L << 10 )
 
#define FT_LOAD_NO_SCALE   ( 1L << 0 )
 
#define FT_LOAD_PEDANTIC   ( 1L << 7 )
 
#define FT_LOAD_RENDER   ( 1L << 2 )
 
#define FT_LOAD_SBITS_ONLY   ( 1L << 14 )
 
#define FT_LOAD_TARGET_(x)   ( (FT_Int32)( (x) & 15 ) << 16 )
 
#define FT_LOAD_TARGET_LCD   FT_LOAD_TARGET_( FT_RENDER_MODE_LCD )
 
#define FT_LOAD_TARGET_LCD_V   FT_LOAD_TARGET_( FT_RENDER_MODE_LCD_V )
 
#define FT_LOAD_TARGET_LIGHT   FT_LOAD_TARGET_( FT_RENDER_MODE_LIGHT )
 
#define FT_LOAD_TARGET_MODE(x)   ( (FT_Render_Mode)( ( (x) >> 16 ) & 15 ) )
 
#define FT_LOAD_TARGET_MONO   FT_LOAD_TARGET_( FT_RENDER_MODE_MONO )
 
#define FT_LOAD_TARGET_NORMAL   FT_LOAD_TARGET_( FT_RENDER_MODE_NORMAL )
 
#define FT_LOAD_VERTICAL_LAYOUT   ( 1L << 4 )
 
#define FT_OPEN_DRIVER   0x8
 
#define ft_open_driver   FT_OPEN_DRIVER /* deprecated */
 
#define FT_OPEN_MEMORY   0x1
 
#define ft_open_memory   FT_OPEN_MEMORY /* deprecated */
 
#define FT_OPEN_PARAMS   0x10
 
#define ft_open_params   FT_OPEN_PARAMS /* deprecated */
 
#define FT_OPEN_PATHNAME   0x4
 
#define ft_open_pathname   FT_OPEN_PATHNAME /* deprecated */
 
#define FT_OPEN_STREAM   0x2
 
#define ft_open_stream   FT_OPEN_STREAM /* deprecated */
 
#define ft_render_mode_mono   FT_RENDER_MODE_MONO
 
#define ft_render_mode_normal   FT_RENDER_MODE_NORMAL
 
#define FT_STYLE_FLAG_BOLD   ( 1 << 1 )
 
#define FT_STYLE_FLAG_ITALIC   ( 1 << 0 )
 
#define FT_SUBGLYPH_FLAG_2X2   0x80
 
#define FT_SUBGLYPH_FLAG_ARGS_ARE_WORDS   1
 
#define FT_SUBGLYPH_FLAG_ARGS_ARE_XY_VALUES   2
 
#define FT_SUBGLYPH_FLAG_ROUND_XY_TO_GRID   4
 
#define FT_SUBGLYPH_FLAG_SCALE   8
 
#define FT_SUBGLYPH_FLAG_USE_MY_METRICS   0x200
 
#define FT_SUBGLYPH_FLAG_XY_SCALE   0x40
 

Typedefs

typedef struct FT_Bitmap_Size_ FT_Bitmap_Size
 
typedef struct FT_CharMapRec_FT_CharMap
 
typedef struct FT_CharMapRec_ FT_CharMapRec
 
typedef struct FT_DriverRec_FT_Driver
 
typedef enum FT_Encoding_ FT_Encoding
 
typedef struct FT_FaceRec_FT_Face
 
typedef struct
FT_Face_InternalRec_
FT_Face_Internal
 
typedef struct FT_FaceRec_ FT_FaceRec
 
typedef FT_BEGIN_HEADER struct
FT_Glyph_Metrics_ 
FT_Glyph_Metrics
 
typedef struct FT_GlyphSlotRec_FT_GlyphSlot
 
typedef struct FT_GlyphSlotRec_ FT_GlyphSlotRec
 
typedef enum FT_Kerning_Mode_ FT_Kerning_Mode
 
typedef struct FT_LibraryRec_FT_Library
 
typedef struct FT_ModuleRec_FT_Module
 
typedef struct FT_Open_Args_ FT_Open_Args
 
typedef struct FT_Parameter_ FT_Parameter
 
typedef enum FT_Render_Mode_ FT_Render_Mode
 
typedef struct FT_RendererRec_FT_Renderer
 
typedef struct FT_SizeRec_FT_Size
 
typedef struct
FT_Size_InternalRec_ * 
FT_Size_Internal
 
typedef struct FT_Size_Metrics_ FT_Size_Metrics
 
typedef struct
FT_Size_RequestRec_
FT_Size_Request
 
typedef enum FT_Size_Request_Type_ FT_Size_Request_Type
 
typedef struct FT_Size_RequestRec_ FT_Size_RequestRec
 
typedef struct FT_SizeRec_ FT_SizeRec
 
typedef struct
FT_Slot_InternalRec_
FT_Slot_Internal
 
typedef struct FT_SubGlyphRec_FT_SubGlyph
 

Enumerations

enum  FT_Encoding_ {
  FT_ENC_TAG =( FT_ENCODING_NONE, 0, 0, 0, 0 ), FT_ENC_TAG =( FT_ENCODING_NONE, 0, 0, 0, 0 ), FT_ENC_TAG =( FT_ENCODING_NONE, 0, 0, 0, 0 ), FT_ENC_TAG =( FT_ENCODING_NONE, 0, 0, 0, 0 ),
  FT_ENC_TAG =( FT_ENCODING_NONE, 0, 0, 0, 0 ), FT_ENC_TAG =( FT_ENCODING_NONE, 0, 0, 0, 0 ), FT_ENC_TAG =( FT_ENCODING_NONE, 0, 0, 0, 0 ), FT_ENC_TAG =( FT_ENCODING_NONE, 0, 0, 0, 0 ),
  FT_ENCODING_MS_SJIS = FT_ENCODING_SJIS, FT_ENCODING_MS_GB2312 = FT_ENCODING_GB2312, FT_ENCODING_MS_BIG5 = FT_ENCODING_BIG5, FT_ENCODING_MS_WANSUNG = FT_ENCODING_WANSUNG,
  FT_ENCODING_MS_JOHAB = FT_ENCODING_JOHAB, FT_ENC_TAG =( FT_ENCODING_NONE, 0, 0, 0, 0 ), FT_ENC_TAG =( FT_ENCODING_NONE, 0, 0, 0, 0 ), FT_ENC_TAG =( FT_ENCODING_NONE, 0, 0, 0, 0 ),
  FT_ENC_TAG =( FT_ENCODING_NONE, 0, 0, 0, 0 ), FT_ENC_TAG =( FT_ENCODING_NONE, 0, 0, 0, 0 )
}
 
enum  FT_Kerning_Mode_ { FT_KERNING_DEFAULT = 0, FT_KERNING_UNFITTED, FT_KERNING_UNSCALED }
 
enum  FT_Render_Mode_ {
  FT_RENDER_MODE_NORMAL = 0, FT_RENDER_MODE_LIGHT, FT_RENDER_MODE_MONO, FT_RENDER_MODE_LCD,
  FT_RENDER_MODE_LCD_V, FT_RENDER_MODE_MAX
}
 
enum  FT_Size_Request_Type_ {
  FT_SIZE_REQUEST_TYPE_NOMINAL, FT_SIZE_REQUEST_TYPE_REAL_DIM, FT_SIZE_REQUEST_TYPE_BBOX, FT_SIZE_REQUEST_TYPE_CELL,
  FT_SIZE_REQUEST_TYPE_SCALES, FT_SIZE_REQUEST_TYPE_MAX
}
 

Functions

 FT_Attach_File (FT_Face face, const char *filepathname)
 
 FT_Attach_Stream (FT_Face face, FT_Open_Args *parameters)
 
 FT_CeilFix (FT_Fixed a)
 
 FT_DivFix (FT_Long a, FT_Long b)
 
 FT_Done_Face (FT_Face face)
 
 FT_Done_FreeType (FT_Library library)
 
 FT_Face_CheckTrueTypePatents (FT_Face face)
 
 FT_Face_GetCharsOfVariant (FT_Face face, FT_ULong variantSelector)
 
 FT_Face_GetCharVariantIndex (FT_Face face, FT_ULong charcode, FT_ULong variantSelector)
 
 FT_Face_GetCharVariantIsDefault (FT_Face face, FT_ULong charcode, FT_ULong variantSelector)
 
 FT_Face_GetVariantSelectors (FT_Face face)
 
 FT_Face_GetVariantsOfChar (FT_Face face, FT_ULong charcode)
 
 FT_Face_SetUnpatentedHinting (FT_Face face, FT_Bool value)
 
 FT_FloorFix (FT_Fixed a)
 
 FT_Get_Char_Index (FT_Face face, FT_ULong charcode)
 
 FT_Get_Charmap_Index (FT_CharMap charmap)
 
 FT_Get_First_Char (FT_Face face, FT_UInt *agindex)
 
 FT_Get_FSType_Flags (FT_Face face)
 
 FT_Get_Glyph_Name (FT_Face face, FT_UInt glyph_index, FT_Pointer buffer, FT_UInt buffer_max)
 
 FT_Get_Kerning (FT_Face face, FT_UInt left_glyph, FT_UInt right_glyph, FT_UInt kern_mode, FT_Vector *akerning)
 
 FT_Get_Name_Index (FT_Face face, FT_String *glyph_name)
 
 FT_Get_Next_Char (FT_Face face, FT_ULong char_code, FT_UInt *agindex)
 
 FT_Get_Postscript_Name (FT_Face face)
 
 FT_Get_SubGlyph_Info (FT_GlyphSlot glyph, FT_UInt sub_index, FT_Int *p_index, FT_UInt *p_flags, FT_Int *p_arg1, FT_Int *p_arg2, FT_Matrix *p_transform)
 
 FT_Get_Track_Kerning (FT_Face face, FT_Fixed point_size, FT_Int degree, FT_Fixed *akerning)
 
 FT_Init_FreeType (FT_Library *alibrary)
 
 FT_Library_Version (FT_Library library, FT_Int *amajor, FT_Int *aminor, FT_Int *apatch)
 
 FT_Load_Char (FT_Face face, FT_ULong char_code, FT_Int32 load_flags)
 
 FT_Load_Glyph (FT_Face face, FT_UInt glyph_index, FT_Int32 load_flags)
 
 FT_MulDiv (FT_Long a, FT_Long b, FT_Long c)
 
 FT_MulFix (FT_Long a, FT_Long b)
 
 FT_New_Face (FT_Library library, const char *filepathname, FT_Long face_index, FT_Face *aface)
 
 FT_New_Memory_Face (FT_Library library, const FT_Byte *file_base, FT_Long file_size, FT_Long face_index, FT_Face *aface)
 
 FT_Open_Face (FT_Library library, const FT_Open_Args *args, FT_Long face_index, FT_Face *aface)
 
 FT_Reference_Face (FT_Face face)
 
 FT_Render_Glyph (FT_GlyphSlot slot, FT_Render_Mode render_mode)
 
 FT_Request_Size (FT_Face face, FT_Size_Request req)
 
 FT_RoundFix (FT_Fixed a)
 
 FT_Select_Charmap (FT_Face face, FT_Encoding encoding)
 
 FT_Select_Size (FT_Face face, FT_Int strike_index)
 
 FT_Set_Char_Size (FT_Face face, FT_F26Dot6 char_width, FT_F26Dot6 char_height, FT_UInt horz_resolution, FT_UInt vert_resolution)
 
 FT_Set_Charmap (FT_Face face, FT_CharMap charmap)
 
 FT_Set_Pixel_Sizes (FT_Face face, FT_UInt pixel_width, FT_UInt pixel_height)
 
 FT_Set_Transform (FT_Face face, FT_Matrix *matrix, FT_Vector *delta)
 
 FT_Vector_Transform (FT_Vector *vec, const FT_Matrix *matrix)
 

Macro Definition Documentation

#define FREETYPE_MAJOR   2

Definition at line 3835 of file freetype.h.

Referenced by FT_New_Library().

#define FREETYPE_MINOR   4

Definition at line 3836 of file freetype.h.

Referenced by FT_New_Library().

#define FREETYPE_PATCH   9

Definition at line 3837 of file freetype.h.

Referenced by FT_New_Library().

#define FT_ENC_TAG (   value,
  a,
  b,
  c,
  d 
)
Value:
value = ( ( (FT_UInt32)(a) << 24 ) | \
( (FT_UInt32)(b) << 16 ) | \
( (FT_UInt32)(c) << 8 ) | \
(FT_UInt32)(d) )
GLboolean GLboolean GLboolean GLboolean a
Definition: glew.h:8736
return Display return Display Bool Bool int d
Definition: SDL_x11sym.h:30
const GLfloat * c
Definition: glew.h:14913
EGLSurface EGLint void ** value
Definition: eglext.h:301
GLdouble GLdouble GLdouble b
Definition: glew.h:8383

Definition at line 507 of file freetype.h.

#define ft_encoding_adobe_custom   FT_ENCODING_ADOBE_CUSTOM

Definition at line 709 of file freetype.h.

#define ft_encoding_adobe_expert   FT_ENCODING_ADOBE_EXPERT

Definition at line 708 of file freetype.h.

#define ft_encoding_adobe_standard   FT_ENCODING_ADOBE_STANDARD

Definition at line 707 of file freetype.h.

#define ft_encoding_apple_roman   FT_ENCODING_APPLE_ROMAN

Definition at line 710 of file freetype.h.

#define ft_encoding_big5   FT_ENCODING_BIG5

Definition at line 703 of file freetype.h.

#define ft_encoding_gb2312   FT_ENCODING_GB2312

Definition at line 702 of file freetype.h.

#define ft_encoding_johab   FT_ENCODING_JOHAB

Definition at line 705 of file freetype.h.

#define ft_encoding_latin_1   FT_ENCODING_ADOBE_LATIN_1

Definition at line 699 of file freetype.h.

#define ft_encoding_latin_2   FT_ENCODING_OLD_LATIN_2

Definition at line 700 of file freetype.h.

#define ft_encoding_none   FT_ENCODING_NONE

Definition at line 696 of file freetype.h.

#define ft_encoding_sjis   FT_ENCODING_SJIS

Definition at line 701 of file freetype.h.

#define ft_encoding_symbol   FT_ENCODING_MS_SYMBOL

Definition at line 698 of file freetype.h.

#define ft_encoding_unicode   FT_ENCODING_UNICODE

Definition at line 697 of file freetype.h.

#define ft_encoding_wansung   FT_ENCODING_WANSUNG

Definition at line 704 of file freetype.h.

#define FT_FACE_FLAG_CID_KEYED   ( 1L << 12 )

Definition at line 1081 of file freetype.h.

Referenced by cff_face_init().

#define FT_FACE_FLAG_EXTERNAL_STREAM   ( 1L << 10 )

Definition at line 1079 of file freetype.h.

Referenced by destroy_face(), and FT_Open_Face().

#define FT_FACE_FLAG_FAST_GLYPHS   ( 1L << 7 )

Definition at line 1076 of file freetype.h.

Referenced by BDF_Face_Init(), and pcf_load_font().

#define FT_FACE_FLAG_FIXED_SIZES   ( 1L << 1 )
#define FT_FACE_FLAG_FIXED_WIDTH   ( 1L << 2 )
#define FT_FACE_FLAG_GLYPH_NAMES   ( 1L << 9 )
#define FT_FACE_FLAG_HINTER   ( 1L << 11 )

Definition at line 1080 of file freetype.h.

Referenced by cff_face_init(), cid_face_init(), T1_Face_Init(), T42_Face_Init(), and tt_face_init().

#define FT_FACE_FLAG_HORIZONTAL   ( 1L << 4 )
#define FT_FACE_FLAG_KERNING   ( 1L << 6 )

Definition at line 1075 of file freetype.h.

Referenced by cff_face_init(), pfr_face_init(), sfnt_load_face(), and T1_Read_Metrics().

#define FT_FACE_FLAG_MULTIPLE_MASTERS   ( 1L << 8 )

Definition at line 1077 of file freetype.h.

Referenced by sfnt_load_face(), and T1_Face_Init().

#define FT_FACE_FLAG_SCALABLE   ( 1L << 0 )
#define FT_FACE_FLAG_SFNT   ( 1L << 3 )

Definition at line 1072 of file freetype.h.

Referenced by cff_face_init(), and sfnt_load_face().

#define FT_FACE_FLAG_TRICKY   ( 1L << 13 )

Definition at line 1082 of file freetype.h.

Referenced by tt_face_init().

#define FT_FACE_FLAG_VERTICAL   ( 1L << 5 )

Definition at line 1074 of file freetype.h.

Referenced by pfr_face_init(), sfnt_load_face(), and T42_Face_Init().

#define FT_FSTYPE_BITMAP_EMBEDDING_ONLY   0x0200

Definition at line 3335 of file freetype.h.

#define FT_FSTYPE_EDITABLE_EMBEDDING   0x0008

Definition at line 3333 of file freetype.h.

#define FT_FSTYPE_INSTALLABLE_EMBEDDING   0x0000

Definition at line 3330 of file freetype.h.

#define FT_FSTYPE_NO_SUBSETTING   0x0100

Definition at line 3334 of file freetype.h.

#define FT_FSTYPE_PREVIEW_AND_PRINT_EMBEDDING   0x0004

Definition at line 3332 of file freetype.h.

#define FT_FSTYPE_RESTRICTED_LICENSE_EMBEDDING   0x0002

Definition at line 3331 of file freetype.h.

#define FT_HAS_FAST_GLYPHS (   face)    0

Definition at line 1203 of file freetype.h.

#define FT_HAS_FIXED_SIZES (   face)    ( face->face_flags & FT_FACE_FLAG_FIXED_SIZES )
#define FT_HAS_GLYPH_NAMES (   face)    ( face->face_flags & FT_FACE_FLAG_GLYPH_NAMES )

Definition at line 1216 of file freetype.h.

Referenced by FT_Get_Glyph_Name(), and FT_Get_Name_Index().

#define FT_HAS_HORIZONTAL (   face)    ( face->face_flags & FT_FACE_FLAG_HORIZONTAL )

Definition at line 1098 of file freetype.h.

#define FT_HAS_KERNING (   face)    ( face->face_flags & FT_FACE_FLAG_KERNING )

Definition at line 1126 of file freetype.h.

#define FT_HAS_MULTIPLE_MASTERS (   face)    ( face->face_flags & FT_FACE_FLAG_MULTIPLE_MASTERS )

Definition at line 1231 of file freetype.h.

Referenced by ft_face_get_mm_service().

#define FT_HAS_VERTICAL (   face)    ( face->face_flags & FT_FACE_FLAG_VERTICAL )

Definition at line 1112 of file freetype.h.

Referenced by FT_Open_Face().

#define FT_IS_CID_KEYED (   face)    ( face->face_flags & FT_FACE_FLAG_CID_KEYED )

Definition at line 1249 of file freetype.h.

#define FT_IS_FIXED_WIDTH (   face)    ( face->face_flags & FT_FACE_FLAG_FIXED_WIDTH )

Definition at line 1175 of file freetype.h.

Referenced by af_loader_load_g().

#define FT_IS_TRICKY (   face)    ( face->face_flags & FT_FACE_FLAG_TRICKY )

Definition at line 1263 of file freetype.h.

Referenced by FT_Load_Glyph(), and tt_glyph_load().

#define ft_kerning_default   FT_KERNING_DEFAULT

Definition at line 2803 of file freetype.h.

#define ft_kerning_unfitted   FT_KERNING_UNFITTED

Definition at line 2815 of file freetype.h.

#define ft_kerning_unscaled   FT_KERNING_UNSCALED

Definition at line 2827 of file freetype.h.

#define FT_LOAD_ADVANCE_ONLY   ( 1L << 8 )

Definition at line 2530 of file freetype.h.

Referenced by cff_get_advances(), cff_slot_load(), and FT_Get_Advances().

#define FT_LOAD_CROP_BITMAP   ( 1L << 6 )

Definition at line 2518 of file freetype.h.

#define FT_LOAD_DEFAULT   0x0

Definition at line 2511 of file freetype.h.

Referenced by TestFace().

#define FT_LOAD_FORCE_AUTOHINT   ( 1L << 5 )

Definition at line 2517 of file freetype.h.

Referenced by FT_Load_Glyph().

#define FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH   ( 1L << 9 )

Definition at line 2520 of file freetype.h.

#define FT_LOAD_LINEAR_DESIGN   ( 1L << 13 )

Definition at line 2524 of file freetype.h.

Referenced by FT_Load_Glyph().

#define FT_LOAD_MONOCHROME   ( 1L << 12 )

Definition at line 2523 of file freetype.h.

Referenced by FT_Load_Glyph().

#define FT_LOAD_NO_AUTOHINT   ( 1L << 15 )

Definition at line 2525 of file freetype.h.

Referenced by FT_Load_Glyph(), and tt_glyph_load().

#define FT_LOAD_NO_BITMAP   ( 1L << 3 )
#define FT_LOAD_NO_RECURSE   ( 1L << 10 )
#define FT_LOAD_PEDANTIC   ( 1L << 7 )

Definition at line 2519 of file freetype.h.

Referenced by tt_loader_init().

#define FT_LOAD_RENDER   ( 1L << 2 )

Definition at line 2514 of file freetype.h.

Referenced by af_loader_load_glyph(), FT_Load_Glyph(), and ftc_basic_family_load_bitmap().

#define FT_LOAD_SBITS_ONLY   ( 1L << 14 )

Definition at line 2531 of file freetype.h.

Referenced by cff_slot_load(), FT_Load_Glyph(), pfr_slot_load(), and TT_Load_Glyph().

#define FT_LOAD_TARGET_ (   x)    ( (FT_Int32)( (x) & 15 ) << 16 )

Definition at line 2598 of file freetype.h.

#define FT_LOAD_TARGET_LCD   FT_LOAD_TARGET_( FT_RENDER_MODE_LCD )

Definition at line 2603 of file freetype.h.

#define FT_LOAD_TARGET_LCD_V   FT_LOAD_TARGET_( FT_RENDER_MODE_LCD_V )

Definition at line 2604 of file freetype.h.

#define FT_LOAD_TARGET_LIGHT   FT_LOAD_TARGET_( FT_RENDER_MODE_LIGHT )

Definition at line 2601 of file freetype.h.

#define FT_LOAD_TARGET_MODE (   x)    ( (FT_Render_Mode)( ( (x) >> 16 ) & 15 ) )
#define FT_LOAD_TARGET_MONO   FT_LOAD_TARGET_( FT_RENDER_MODE_MONO )

Definition at line 2602 of file freetype.h.

#define FT_LOAD_TARGET_NORMAL   FT_LOAD_TARGET_( FT_RENDER_MODE_NORMAL )

Definition at line 2600 of file freetype.h.

#define FT_LOAD_VERTICAL_LAYOUT   ( 1L << 4 )
#define FT_OPEN_DRIVER   0x8

Definition at line 1735 of file freetype.h.

Referenced by FT_Open_Face().

#define ft_open_driver   FT_OPEN_DRIVER /* deprecated */

Definition at line 1741 of file freetype.h.

#define FT_OPEN_MEMORY   0x1

Definition at line 1732 of file freetype.h.

Referenced by FT_New_Memory_Face(), FT_Stream_New(), and T42_Face_Init().

#define ft_open_memory   FT_OPEN_MEMORY /* deprecated */

Definition at line 1738 of file freetype.h.

#define FT_OPEN_PARAMS   0x10

Definition at line 1736 of file freetype.h.

Referenced by FT_Open_Face(), and T42_Face_Init().

#define ft_open_params   FT_OPEN_PARAMS /* deprecated */

Definition at line 1742 of file freetype.h.

#define FT_OPEN_PATHNAME   0x4

Definition at line 1734 of file freetype.h.

Referenced by FT_Attach_File(), FT_New_Face(), and FT_Stream_New().

#define ft_open_pathname   FT_OPEN_PATHNAME /* deprecated */

Definition at line 1740 of file freetype.h.

#define FT_OPEN_STREAM   0x2

Definition at line 1733 of file freetype.h.

Referenced by FT_Attach_Stream(), FT_Open_Face(), and FT_Stream_New().

#define ft_open_stream   FT_OPEN_STREAM /* deprecated */

Definition at line 1739 of file freetype.h.

#define ft_render_mode_mono   FT_RENDER_MODE_MONO

Definition at line 2736 of file freetype.h.

#define ft_render_mode_normal   FT_RENDER_MODE_NORMAL

Definition at line 2735 of file freetype.h.

Referenced by TestFace().

#define FT_STYLE_FLAG_BOLD   ( 1 << 1 )
#define FT_SUBGLYPH_FLAG_2X2   0x80

Definition at line 3222 of file freetype.h.

Referenced by af_loader_load_g().

#define FT_SUBGLYPH_FLAG_ARGS_ARE_WORDS   1

Definition at line 3217 of file freetype.h.

#define FT_SUBGLYPH_FLAG_ARGS_ARE_XY_VALUES   2

Definition at line 3218 of file freetype.h.

Referenced by af_loader_load_g(), cff_operator_seac(), and t1operator_seac().

#define FT_SUBGLYPH_FLAG_ROUND_XY_TO_GRID   4

Definition at line 3219 of file freetype.h.

#define FT_SUBGLYPH_FLAG_SCALE   8

Definition at line 3220 of file freetype.h.

Referenced by af_loader_load_g().

#define FT_SUBGLYPH_FLAG_USE_MY_METRICS   0x200

Definition at line 3223 of file freetype.h.

Referenced by af_loader_load_g(), cff_operator_seac(), and t1operator_seac().

#define FT_SUBGLYPH_FLAG_XY_SCALE   0x40

Definition at line 3221 of file freetype.h.

Referenced by af_loader_load_g().

Typedef Documentation

typedef struct FT_CharMapRec_* FT_CharMap

Definition at line 482 of file freetype.h.

typedef struct FT_CharMapRec_ FT_CharMapRec
typedef struct FT_DriverRec_* FT_Driver

Definition at line 360 of file freetype.h.

typedef enum FT_Encoding_ FT_Encoding
typedef struct FT_FaceRec_* FT_Face

Definition at line 399 of file freetype.h.

Definition at line 767 of file freetype.h.

typedef struct FT_FaceRec_ FT_FaceRec
typedef struct FT_GlyphSlotRec_* FT_GlyphSlot

Definition at line 450 of file freetype.h.

typedef struct FT_LibraryRec_* FT_Library

Definition at line 335 of file freetype.h.

typedef struct FT_ModuleRec_* FT_Module

Definition at line 348 of file freetype.h.

typedef struct FT_Open_Args_ FT_Open_Args
typedef struct FT_Parameter_ FT_Parameter
typedef struct FT_RendererRec_* FT_Renderer

Definition at line 374 of file freetype.h.

typedef struct FT_SizeRec_* FT_Size

Definition at line 429 of file freetype.h.

typedef struct FT_Size_InternalRec_* FT_Size_Internal

Definition at line 1302 of file freetype.h.

Definition at line 2204 of file freetype.h.

typedef struct FT_SizeRec_ FT_SizeRec

Definition at line 1433 of file freetype.h.

typedef struct FT_SubGlyphRec_* FT_SubGlyph

Definition at line 1421 of file freetype.h.

Enumeration Type Documentation

Enumerator
FT_ENC_TAG 
FT_ENC_TAG 
FT_ENC_TAG 
FT_ENC_TAG 
FT_ENC_TAG 
FT_ENC_TAG 
FT_ENC_TAG 
FT_ENC_TAG 
FT_ENCODING_MS_SJIS 
FT_ENCODING_MS_GB2312 
FT_ENCODING_MS_BIG5 
FT_ENCODING_MS_WANSUNG 
FT_ENCODING_MS_JOHAB 
FT_ENC_TAG 
FT_ENC_TAG 
FT_ENC_TAG 
FT_ENC_TAG 
FT_ENC_TAG 

Definition at line 655 of file freetype.h.

Enumerator
FT_KERNING_DEFAULT 
FT_KERNING_UNFITTED 
FT_KERNING_UNSCALED 

Definition at line 2785 of file freetype.h.

Enumerator
FT_RENDER_MODE_NORMAL 
FT_RENDER_MODE_LIGHT 
FT_RENDER_MODE_MONO 
FT_RENDER_MODE_LCD 
FT_RENDER_MODE_LCD_V 
FT_RENDER_MODE_MAX 

Definition at line 2709 of file freetype.h.

Enumerator
FT_SIZE_REQUEST_TYPE_NOMINAL 
FT_SIZE_REQUEST_TYPE_REAL_DIM 
FT_SIZE_REQUEST_TYPE_BBOX 
FT_SIZE_REQUEST_TYPE_CELL 
FT_SIZE_REQUEST_TYPE_SCALES 
FT_SIZE_REQUEST_TYPE_MAX 

Definition at line 2145 of file freetype.h.

Function Documentation

FT_Attach_File ( FT_Face  face,
const char *  filepathname 
)
FT_CeilFix ( FT_Fixed  a)

Definition at line 89 of file ftcalc.c.

FT_Done_FreeType ( FT_Library  library)

Definition at line 264 of file ftinit.c.

References FT_Done_Library(), FT_Done_Memory(), and FT_Err_Ok.

Referenced by main().

FT_Face_CheckTrueTypePatents ( FT_Face  face)

Definition at line 250 of file ftpatent.c.

References _tt_face_check_patents(), FALSE, FT_Bool, and FT_IS_SFNT.

FT_Face_GetCharsOfVariant ( FT_Face  face,
FT_ULong  variantSelector 
)
FT_Face_GetCharVariantIndex ( FT_Face  face,
FT_ULong  charcode,
FT_ULong  variantSelector 
)
FT_Face_GetCharVariantIsDefault ( FT_Face  face,
FT_ULong  charcode,
FT_ULong  variantSelector 
)
FT_Face_GetVariantSelectors ( FT_Face  face)
FT_Face_GetVariantsOfChar ( FT_Face  face,
FT_ULong  charcode 
)
FT_Face_SetUnpatentedHinting ( FT_Face  face,
FT_Bool  value 
)

Definition at line 265 of file ftpatent.c.

References FALSE, FT_Bool, FT_IS_SFNT, and FT_UNUSED.

FT_FloorFix ( FT_Fixed  a)

Definition at line 99 of file ftcalc.c.

FT_Get_Charmap_Index ( FT_CharMap  charmap)

Definition at line 3147 of file ftobjs.c.

References FT_ASSERT, FT_ERROR, FT_MAX_CHARMAP_CACHEABLE, and i.

FT_Get_First_Char ( FT_Face  face,
FT_UInt agindex 
)

Definition at line 3315 of file ftobjs.c.

References FT_Get_Char_Index(), and FT_Get_Next_Char().

FT_Get_FSType_Flags ( FT_Face  face)
FT_Get_Glyph_Name ( FT_Face  face,
FT_UInt  glyph_index,
FT_Pointer  buffer,
FT_UInt  buffer_max 
)

Definition at line 3576 of file ftobjs.c.

References error, FT_Err_Invalid_Argument, FT_FACE_LOOKUP_SERVICE, and FT_HAS_GLYPH_NAMES.

Referenced by tt_check_single_notdef().

FT_Get_Kerning ( FT_Face  face,
FT_UInt  left_glyph,
FT_UInt  right_glyph,
FT_UInt  kern_mode,
FT_Vector akerning 
)
FT_Get_Name_Index ( FT_Face  face,
FT_String glyph_name 
)

Definition at line 3550 of file ftobjs.c.

References FT_FACE_LOOKUP_SERVICE, and FT_HAS_GLYPH_NAMES.

FT_Get_Next_Char ( FT_Face  face,
FT_ULong  char_code,
FT_UInt agindex 
)
FT_Get_Postscript_Name ( FT_Face  face)

Definition at line 3610 of file ftobjs.c.

References FT_FACE_LOOKUP_SERVICE, and NULL.

FT_Get_SubGlyph_Info ( FT_GlyphSlot  glyph,
FT_UInt  sub_index,
FT_Int p_index,
FT_UInt p_flags,
FT_Int p_arg1,
FT_Int p_arg2,
FT_Matrix p_transform 
)
FT_Get_Track_Kerning ( FT_Face  face,
FT_Fixed  point_size,
FT_Int  degree,
FT_Fixed akerning 
)

Definition at line 3023 of file ftobjs.c.

References error, FT_Err_Invalid_Argument, FT_Err_Ok, and FT_FACE_FIND_SERVICE.

FT_Init_FreeType ( FT_Library alibrary)

Definition at line 232 of file ftinit.c.

References error, FT_Add_Default_Modules(), FT_Done_Memory(), FT_ERROR, FT_New_Library(), and FT_New_Memory().

Referenced by ExecuteTest(), and main().

FT_Library_Version ( FT_Library  library,
FT_Int amajor,
FT_Int aminor,
FT_Int apatch 
)

Definition at line 4470 of file ftobjs.c.

FT_Load_Char ( FT_Face  face,
FT_ULong  char_code,
FT_Int32  load_flags 
)

Definition at line 809 of file ftobjs.c.

References FT_Get_Char_Index(), and FT_Load_Glyph().

FT_Load_Glyph ( FT_Face  face,
FT_UInt  glyph_index,
FT_Int32  load_flags 
)

Definition at line 563 of file ftobjs.c.

References FT_GlyphSlotRec_::advance, FT_LibraryRec_::auto_hinter, FT_ModuleRec_::clazz, FT_RendererRec_::clazz, FT_DriverRec_::clazz, error, FALSE, FT_GlyphSlotRec_::format, FT_Bool, FT_BOOL, FT_DRIVER_HAS_HINTER, FT_DRIVER_IS_SCALABLE, FT_DRIVER_USES_OUTLINES, FT_GLYPH_FORMAT_OUTLINE, ft_glyphslot_clear(), ft_glyphslot_grid_fit_metrics(), FT_HAS_FIXED_SIZES, FT_IS_SCALABLE, FT_IS_SFNT, FT_IS_TRICKY, FT_LOAD_FORCE_AUTOHINT, FT_LOAD_IGNORE_TRANSFORM, FT_LOAD_LINEAR_DESIGN, FT_LOAD_MONOCHROME, FT_LOAD_NO_AUTOHINT, FT_LOAD_NO_BITMAP, FT_LOAD_NO_HINTING, FT_LOAD_NO_RECURSE, FT_LOAD_NO_SCALE, FT_LOAD_RENDER, FT_LOAD_SBITS_ONLY, FT_LOAD_TARGET_MODE, FT_LOAD_VERTICAL_LAYOUT, ft_lookup_glyph_renderer(), FT_MulDiv(), FT_Outline_Check(), FT_Outline_Transform(), FT_Outline_Translate(), FT_Render_Glyph(), FT_RENDER_MODE_LIGHT, FT_RENDER_MODE_MONO, FT_RENDER_MODE_NORMAL, FT_TRACE5, FT_Vector_Transform(), library, FT_ModuleRec_::library, FT_GlyphSlotRec_::linearHoriAdvance, FT_GlyphSlotRec_::linearVertAdvance, FT_AutoHinter_ServiceRec_::load_glyph, FT_Driver_ClassRec_::load_glyph, TT_FaceRec_::max_profile, TT_MaxProfile_::maxSizeOfInstructions, FT_GlyphSlotRec_::metrics, FT_Module_Class_::module_interface, TT_FaceRec_::num_locations, FT_GlyphSlotRec_::outline, FT_DriverRec_::root, FT_Face_InternalRec_::transform_flags, FT_Renderer_Class_::transform_glyph, TRUE, FT_Vector_::x, FT_Size_Metrics_::x_scale, FT_Vector_::y, and FT_Size_Metrics_::y_scale.

Referenced by af_latin2_metrics_init_blues(), af_latin2_metrics_init_widths(), af_latin_metrics_init_blues(), af_latin_metrics_init_widths(), af_loader_load_g(), FT_Get_Advances(), FT_Load_Char(), ftc_basic_family_load_bitmap(), ftc_basic_family_load_glyph(), gxv_ctlPoint_validate(), gxv_prop_zero_advance_validate(), and TestFace().

FT_New_Face ( FT_Library  library,
const char *  filepathname,
FT_Long  face_index,
FT_Face aface 
)
FT_New_Memory_Face ( FT_Library  library,
const FT_Byte file_base,
FT_Long  file_size,
FT_Long  face_index,
FT_Face aface 
)
FT_Reference_Face ( FT_Face  face)

Definition at line 2318 of file ftobjs.c.

References FT_Err_Ok.

FT_Render_Glyph ( FT_GlyphSlot  slot,
FT_Render_Mode  render_mode 
)

Definition at line 4054 of file ftobjs.c.

References FT_Err_Invalid_Argument, FT_FACE_LIBRARY, FT_Render_Glyph_Internal(), and library.

Referenced by FT_Load_Glyph(), and TestFace().

FT_RoundFix ( FT_Fixed  a)

Definition at line 79 of file ftcalc.c.

Referenced by cff_parse_font_bbox(), and ps_parser_load_field().

FT_Set_Transform ( FT_Face  face,
FT_Matrix matrix,
FT_Vector delta 
)

Definition at line 466 of file ftobjs.c.

References FT_Face_InternalRec_::transform_flags.