sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
freetype.h File Reference
#include <ft2build.h>
#include <freetype/fttypes.h>
#include <freetype/fterrors.h>

Go to the source code of this file.

Classes

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

Macros

#define FT_ENC_TAG(value, a, b, c, d)
#define ft_encoding_none   FT_ENCODING_NONE
#define ft_encoding_unicode   FT_ENCODING_UNICODE
#define ft_encoding_symbol   FT_ENCODING_MS_SYMBOL
#define ft_encoding_latin_1   FT_ENCODING_ADOBE_LATIN_1
#define ft_encoding_latin_2   FT_ENCODING_OLD_LATIN_2
#define ft_encoding_sjis   FT_ENCODING_SJIS
#define ft_encoding_gb2312   FT_ENCODING_PRC
#define ft_encoding_big5   FT_ENCODING_BIG5
#define ft_encoding_wansung   FT_ENCODING_WANSUNG
#define ft_encoding_johab   FT_ENCODING_JOHAB
#define ft_encoding_adobe_standard   FT_ENCODING_ADOBE_STANDARD
#define ft_encoding_adobe_expert   FT_ENCODING_ADOBE_EXPERT
#define ft_encoding_adobe_custom   FT_ENCODING_ADOBE_CUSTOM
#define ft_encoding_apple_roman   FT_ENCODING_APPLE_ROMAN
#define FT_FACE_FLAG_SCALABLE   ( 1L << 0 )
#define FT_FACE_FLAG_FIXED_SIZES   ( 1L << 1 )
#define FT_FACE_FLAG_FIXED_WIDTH   ( 1L << 2 )
#define FT_FACE_FLAG_SFNT   ( 1L << 3 )
#define FT_FACE_FLAG_HORIZONTAL   ( 1L << 4 )
#define FT_FACE_FLAG_VERTICAL   ( 1L << 5 )
#define FT_FACE_FLAG_KERNING   ( 1L << 6 )
#define FT_FACE_FLAG_FAST_GLYPHS   ( 1L << 7 )
#define FT_FACE_FLAG_MULTIPLE_MASTERS   ( 1L << 8 )
#define FT_FACE_FLAG_GLYPH_NAMES   ( 1L << 9 )
#define FT_FACE_FLAG_EXTERNAL_STREAM   ( 1L << 10 )
#define FT_FACE_FLAG_HINTER   ( 1L << 11 )
#define FT_FACE_FLAG_CID_KEYED   ( 1L << 12 )
#define FT_FACE_FLAG_TRICKY   ( 1L << 13 )
#define FT_FACE_FLAG_COLOR   ( 1L << 14 )
#define FT_FACE_FLAG_VARIATION   ( 1L << 15 )
#define FT_FACE_FLAG_SVG   ( 1L << 16 )
#define FT_FACE_FLAG_SBIX   ( 1L << 17 )
#define FT_FACE_FLAG_SBIX_OVERLAY   ( 1L << 18 )
#define FT_HAS_HORIZONTAL(face)
#define FT_HAS_VERTICAL(face)
#define FT_HAS_KERNING(face)
#define FT_IS_SCALABLE(face)
#define FT_IS_SFNT(face)
#define FT_IS_FIXED_WIDTH(face)
#define FT_HAS_FIXED_SIZES(face)
#define FT_HAS_FAST_GLYPHS(face)
#define FT_HAS_GLYPH_NAMES(face)
#define FT_HAS_MULTIPLE_MASTERS(face)
#define FT_IS_NAMED_INSTANCE(face)
#define FT_IS_VARIATION(face)
#define FT_IS_CID_KEYED(face)
#define FT_IS_TRICKY(face)
#define FT_HAS_COLOR(face)
#define FT_HAS_SVG(face)
#define FT_HAS_SBIX(face)
#define FT_HAS_SBIX_OVERLAY(face)
#define FT_STYLE_FLAG_ITALIC   ( 1 << 0 )
#define FT_STYLE_FLAG_BOLD   ( 1 << 1 )
#define FT_OPEN_MEMORY   0x1
#define FT_OPEN_STREAM   0x2
#define FT_OPEN_PATHNAME   0x4
#define FT_OPEN_DRIVER   0x8
#define FT_OPEN_PARAMS   0x10
#define ft_open_memory   FT_OPEN_MEMORY
#define ft_open_stream   FT_OPEN_STREAM
#define ft_open_pathname   FT_OPEN_PATHNAME
#define ft_open_driver   FT_OPEN_DRIVER
#define ft_open_params   FT_OPEN_PARAMS
#define FT_LOAD_DEFAULT   0x0
#define FT_LOAD_NO_SCALE   ( 1L << 0 )
#define FT_LOAD_NO_HINTING   ( 1L << 1 )
#define FT_LOAD_RENDER   ( 1L << 2 )
#define FT_LOAD_NO_BITMAP   ( 1L << 3 )
#define FT_LOAD_VERTICAL_LAYOUT   ( 1L << 4 )
#define FT_LOAD_FORCE_AUTOHINT   ( 1L << 5 )
#define FT_LOAD_CROP_BITMAP   ( 1L << 6 )
#define FT_LOAD_PEDANTIC   ( 1L << 7 )
#define FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH   ( 1L << 9 )
#define FT_LOAD_NO_RECURSE   ( 1L << 10 )
#define FT_LOAD_IGNORE_TRANSFORM   ( 1L << 11 )
#define FT_LOAD_MONOCHROME   ( 1L << 12 )
#define FT_LOAD_LINEAR_DESIGN   ( 1L << 13 )
#define FT_LOAD_SBITS_ONLY   ( 1L << 14 )
#define FT_LOAD_NO_AUTOHINT   ( 1L << 15 )
#define FT_LOAD_COLOR   ( 1L << 20 )
#define FT_LOAD_COMPUTE_METRICS   ( 1L << 21 )
#define FT_LOAD_BITMAP_METRICS_ONLY   ( 1L << 22 )
#define FT_LOAD_NO_SVG   ( 1L << 24 )
#define FT_LOAD_ADVANCE_ONLY   ( 1L << 8 )
#define FT_LOAD_SVG_ONLY   ( 1L << 23 )
#define FT_LOAD_TARGET_(x)
#define FT_LOAD_TARGET_NORMAL   FT_LOAD_TARGET_( FT_RENDER_MODE_NORMAL )
#define FT_LOAD_TARGET_LIGHT   FT_LOAD_TARGET_( FT_RENDER_MODE_LIGHT )
#define FT_LOAD_TARGET_MONO   FT_LOAD_TARGET_( FT_RENDER_MODE_MONO )
#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_MODE(x)
#define ft_render_mode_normal   FT_RENDER_MODE_NORMAL
#define ft_render_mode_mono   FT_RENDER_MODE_MONO
#define ft_kerning_default   FT_KERNING_DEFAULT
#define ft_kerning_unfitted   FT_KERNING_UNFITTED
#define ft_kerning_unscaled   FT_KERNING_UNSCALED
#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_XY_SCALE   0x40
#define FT_SUBGLYPH_FLAG_2X2   0x80
#define FT_SUBGLYPH_FLAG_USE_MY_METRICS   0x200
#define FT_FSTYPE_INSTALLABLE_EMBEDDING   0x0000
#define FT_FSTYPE_RESTRICTED_LICENSE_EMBEDDING   0x0002
#define FT_FSTYPE_PREVIEW_AND_PRINT_EMBEDDING   0x0004
#define FT_FSTYPE_EDITABLE_EMBEDDING   0x0008
#define FT_FSTYPE_NO_SUBSETTING   0x0100
#define FT_FSTYPE_BITMAP_EMBEDDING_ONLY   0x0200
#define FREETYPE_MAJOR   2
#define FREETYPE_MINOR   14
#define FREETYPE_PATCH   1

Typedefs

typedef FT_BEGIN_HEADER struct FT_Glyph_Metrics_ FT_Glyph_Metrics
typedef struct FT_Bitmap_Size_ FT_Bitmap_Size
typedef struct FT_LibraryRec_ * FT_Library
typedef struct FT_ModuleRec_ * FT_Module
typedef struct FT_DriverRec_ * FT_Driver
typedef struct FT_RendererRec_ * FT_Renderer
typedef struct FT_FaceRec_ * FT_Face
typedef struct FT_SizeRec_ * FT_Size
typedef struct FT_GlyphSlotRec_ * FT_GlyphSlot
typedef struct FT_CharMapRec_ * FT_CharMap
typedef enum FT_Encoding_ FT_Encoding
typedef struct FT_CharMapRec_ FT_CharMapRec
typedef struct FT_Face_InternalRec_ * FT_Face_Internal
typedef struct FT_FaceRec_ FT_FaceRec
typedef struct FT_Size_InternalRec_ * FT_Size_Internal
typedef struct FT_Size_Metrics_ FT_Size_Metrics
typedef struct FT_SizeRec_ FT_SizeRec
typedef struct FT_SubGlyphRec_ * FT_SubGlyph
typedef struct FT_Slot_InternalRec_ * FT_Slot_Internal
typedef struct FT_GlyphSlotRec_ FT_GlyphSlotRec
typedef struct FT_Parameter_ FT_Parameter
typedef struct FT_Open_Args_ FT_Open_Args
typedef enum FT_Size_Request_Type_ FT_Size_Request_Type
typedef struct FT_Size_RequestRec_ FT_Size_RequestRec
typedef struct FT_Size_RequestRec_ * FT_Size_Request
typedef enum FT_Render_Mode_ FT_Render_Mode
typedef enum FT_Kerning_Mode_ FT_Kerning_Mode

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_GB2312 = FT_ENCODING_PRC , FT_ENCODING_MS_SJIS = FT_ENCODING_SJIS , FT_ENCODING_MS_GB2312 = FT_ENCODING_PRC , 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_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
}
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_SDF , FT_RENDER_MODE_MAX
}
enum  FT_Kerning_Mode_ { FT_KERNING_DEFAULT = 0 , FT_KERNING_UNFITTED , FT_KERNING_UNSCALED }

Functions

 FT_Init_FreeType (FT_Library *alibrary)
 FT_Done_FreeType (FT_Library library)
 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_Attach_File (FT_Face face, const char *filepathname)
 FT_Attach_Stream (FT_Face face, const FT_Open_Args *parameters)
 FT_Reference_Face (FT_Face face)
 FT_Done_Face (FT_Face face)
 FT_Select_Size (FT_Face face, FT_Int strike_index)
 FT_Request_Size (FT_Face face, FT_Size_Request req)
 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_Pixel_Sizes (FT_Face face, FT_UInt pixel_width, FT_UInt pixel_height)
 FT_Load_Glyph (FT_Face face, FT_UInt glyph_index, FT_Int32 load_flags)
 FT_Load_Char (FT_Face face, FT_ULong char_code, FT_Int32 load_flags)
 FT_Set_Transform (FT_Face face, FT_Matrix *matrix, FT_Vector *delta)
 FT_Get_Transform (FT_Face face, FT_Matrix *matrix, FT_Vector *delta)
 FT_Render_Glyph (FT_GlyphSlot slot, FT_Render_Mode render_mode)
 FT_Get_Kerning (FT_Face face, FT_UInt left_glyph, FT_UInt right_glyph, FT_UInt kern_mode, FT_Vector *akerning)
 FT_Get_Track_Kerning (FT_Face face, FT_Fixed point_size, FT_Int degree, FT_Fixed *akerning)
 FT_Select_Charmap (FT_Face face, FT_Encoding encoding)
 FT_Set_Charmap (FT_Face face, FT_CharMap charmap)
 FT_Get_Charmap_Index (FT_CharMap charmap)
 FT_Get_Char_Index (FT_Face face, FT_ULong charcode)
 FT_Get_First_Char (FT_Face face, FT_UInt *agindex)
 FT_Get_Next_Char (FT_Face face, FT_ULong char_code, FT_UInt *agindex)
 FT_Face_Properties (FT_Face face, FT_UInt num_properties, FT_Parameter *properties)
 FT_Get_Name_Index (FT_Face face, const FT_String *glyph_name)
 FT_Get_Glyph_Name (FT_Face face, FT_UInt glyph_index, FT_Pointer buffer, FT_UInt buffer_max)
 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_FSType_Flags (FT_Face face)
 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_GetCharsOfVariant (FT_Face face, FT_ULong variantSelector)
 FT_MulDiv (FT_Long a, FT_Long b, FT_Long c)
 FT_MulFix (FT_Long a, FT_Long b)
 FT_DivFix (FT_Long a, FT_Long b)
 FT_RoundFix (FT_Fixed a)
 FT_CeilFix (FT_Fixed a)
 FT_FloorFix (FT_Fixed a)
 FT_Vector_Transform (FT_Vector *vector, const FT_Matrix *matrix)
 FT_Library_Version (FT_Library library, FT_Int *amajor, FT_Int *aminor, FT_Int *apatch)
 FT_Face_CheckTrueTypePatents (FT_Face face)
 FT_Face_SetUnpatentedHinting (FT_Face face, FT_Bool value)

Macro Definition Documentation

◆ FREETYPE_MAJOR

#define FREETYPE_MAJOR   2

Definition at line 5183 of file freetype.h.

◆ FREETYPE_MINOR

#define FREETYPE_MINOR   14

Definition at line 5184 of file freetype.h.

◆ FREETYPE_PATCH

#define FREETYPE_PATCH   1

Definition at line 5185 of file freetype.h.

◆ FT_ENC_TAG

#define FT_ENC_TAG ( value,
a,
b,
c,
d )
Value:
value = ( ( FT_STATIC_BYTE_CAST( FT_UInt32, a ) << 24 ) | \
( FT_STATIC_BYTE_CAST( FT_UInt32, b ) << 16 ) | \
( FT_STATIC_BYTE_CAST( FT_UInt32, c ) << 8 ) | \
FT_STATIC_BYTE_CAST( FT_UInt32, d ) )

Definition at line 776 of file freetype.h.

◆ ft_encoding_adobe_custom

#define ft_encoding_adobe_custom   FT_ENCODING_ADOBE_CUSTOM

Definition at line 979 of file freetype.h.

◆ ft_encoding_adobe_expert

#define ft_encoding_adobe_expert   FT_ENCODING_ADOBE_EXPERT

Definition at line 978 of file freetype.h.

◆ ft_encoding_adobe_standard

#define ft_encoding_adobe_standard   FT_ENCODING_ADOBE_STANDARD

Definition at line 977 of file freetype.h.

◆ ft_encoding_apple_roman

#define ft_encoding_apple_roman   FT_ENCODING_APPLE_ROMAN

Definition at line 980 of file freetype.h.

◆ ft_encoding_big5

#define ft_encoding_big5   FT_ENCODING_BIG5

Definition at line 973 of file freetype.h.

◆ ft_encoding_gb2312

#define ft_encoding_gb2312   FT_ENCODING_PRC

Definition at line 972 of file freetype.h.

◆ ft_encoding_johab

#define ft_encoding_johab   FT_ENCODING_JOHAB

Definition at line 975 of file freetype.h.

◆ ft_encoding_latin_1

#define ft_encoding_latin_1   FT_ENCODING_ADOBE_LATIN_1

Definition at line 969 of file freetype.h.

◆ ft_encoding_latin_2

#define ft_encoding_latin_2   FT_ENCODING_OLD_LATIN_2

Definition at line 970 of file freetype.h.

◆ ft_encoding_none

#define ft_encoding_none   FT_ENCODING_NONE

Definition at line 966 of file freetype.h.

◆ ft_encoding_sjis

#define ft_encoding_sjis   FT_ENCODING_SJIS

Definition at line 971 of file freetype.h.

◆ ft_encoding_symbol

#define ft_encoding_symbol   FT_ENCODING_MS_SYMBOL

Definition at line 968 of file freetype.h.

◆ ft_encoding_unicode

#define ft_encoding_unicode   FT_ENCODING_UNICODE

Definition at line 967 of file freetype.h.

◆ ft_encoding_wansung

#define ft_encoding_wansung   FT_ENCODING_WANSUNG

Definition at line 974 of file freetype.h.

◆ FT_FACE_FLAG_CID_KEYED

#define FT_FACE_FLAG_CID_KEYED   ( 1L << 12 )

Definition at line 1429 of file freetype.h.

◆ FT_FACE_FLAG_COLOR

#define FT_FACE_FLAG_COLOR   ( 1L << 14 )

Definition at line 1431 of file freetype.h.

◆ FT_FACE_FLAG_EXTERNAL_STREAM

#define FT_FACE_FLAG_EXTERNAL_STREAM   ( 1L << 10 )

Definition at line 1427 of file freetype.h.

◆ FT_FACE_FLAG_FAST_GLYPHS

#define FT_FACE_FLAG_FAST_GLYPHS   ( 1L << 7 )

Definition at line 1424 of file freetype.h.

◆ FT_FACE_FLAG_FIXED_SIZES

#define FT_FACE_FLAG_FIXED_SIZES   ( 1L << 1 )

Definition at line 1418 of file freetype.h.

◆ FT_FACE_FLAG_FIXED_WIDTH

#define FT_FACE_FLAG_FIXED_WIDTH   ( 1L << 2 )

Definition at line 1419 of file freetype.h.

◆ FT_FACE_FLAG_GLYPH_NAMES

#define FT_FACE_FLAG_GLYPH_NAMES   ( 1L << 9 )

Definition at line 1426 of file freetype.h.

◆ FT_FACE_FLAG_HINTER

#define FT_FACE_FLAG_HINTER   ( 1L << 11 )

Definition at line 1428 of file freetype.h.

◆ FT_FACE_FLAG_HORIZONTAL

#define FT_FACE_FLAG_HORIZONTAL   ( 1L << 4 )

Definition at line 1421 of file freetype.h.

◆ FT_FACE_FLAG_KERNING

#define FT_FACE_FLAG_KERNING   ( 1L << 6 )

Definition at line 1423 of file freetype.h.

◆ FT_FACE_FLAG_MULTIPLE_MASTERS

#define FT_FACE_FLAG_MULTIPLE_MASTERS   ( 1L << 8 )

Definition at line 1425 of file freetype.h.

◆ FT_FACE_FLAG_SBIX

#define FT_FACE_FLAG_SBIX   ( 1L << 17 )

Definition at line 1434 of file freetype.h.

◆ FT_FACE_FLAG_SBIX_OVERLAY

#define FT_FACE_FLAG_SBIX_OVERLAY   ( 1L << 18 )

Definition at line 1435 of file freetype.h.

◆ FT_FACE_FLAG_SCALABLE

#define FT_FACE_FLAG_SCALABLE   ( 1L << 0 )

Definition at line 1417 of file freetype.h.

◆ FT_FACE_FLAG_SFNT

#define FT_FACE_FLAG_SFNT   ( 1L << 3 )

Definition at line 1420 of file freetype.h.

◆ FT_FACE_FLAG_SVG

#define FT_FACE_FLAG_SVG   ( 1L << 16 )

Definition at line 1433 of file freetype.h.

◆ FT_FACE_FLAG_TRICKY

#define FT_FACE_FLAG_TRICKY   ( 1L << 13 )

Definition at line 1430 of file freetype.h.

◆ FT_FACE_FLAG_VARIATION

#define FT_FACE_FLAG_VARIATION   ( 1L << 15 )

Definition at line 1432 of file freetype.h.

◆ FT_FACE_FLAG_VERTICAL

#define FT_FACE_FLAG_VERTICAL   ( 1L << 5 )

Definition at line 1422 of file freetype.h.

◆ FT_FSTYPE_BITMAP_EMBEDDING_ONLY

#define FT_FSTYPE_BITMAP_EMBEDDING_ONLY   0x0200

Definition at line 4675 of file freetype.h.

◆ FT_FSTYPE_EDITABLE_EMBEDDING

#define FT_FSTYPE_EDITABLE_EMBEDDING   0x0008

Definition at line 4673 of file freetype.h.

◆ FT_FSTYPE_INSTALLABLE_EMBEDDING

#define FT_FSTYPE_INSTALLABLE_EMBEDDING   0x0000

Definition at line 4670 of file freetype.h.

◆ FT_FSTYPE_NO_SUBSETTING

#define FT_FSTYPE_NO_SUBSETTING   0x0100

Definition at line 4674 of file freetype.h.

◆ FT_FSTYPE_PREVIEW_AND_PRINT_EMBEDDING

#define FT_FSTYPE_PREVIEW_AND_PRINT_EMBEDDING   0x0004

Definition at line 4672 of file freetype.h.

◆ FT_FSTYPE_RESTRICTED_LICENSE_EMBEDDING

#define FT_FSTYPE_RESTRICTED_LICENSE_EMBEDDING   0x0002

Definition at line 4671 of file freetype.h.

◆ FT_HAS_COLOR

#define FT_HAS_COLOR ( face)
Value:
( !!( (face)->face_flags & FT_FACE_FLAG_COLOR ) )

Definition at line 1693 of file freetype.h.

◆ FT_HAS_FAST_GLYPHS

#define FT_HAS_FAST_GLYPHS ( face)
Value:
0

Definition at line 1570 of file freetype.h.

◆ FT_HAS_FIXED_SIZES

#define FT_HAS_FIXED_SIZES ( face)
Value:
( !!( (face)->face_flags & FT_FACE_FLAG_FIXED_SIZES ) )

Definition at line 1550 of file freetype.h.

◆ FT_HAS_GLYPH_NAMES

#define FT_HAS_GLYPH_NAMES ( face)
Value:
( !!( (face)->face_flags & FT_FACE_FLAG_GLYPH_NAMES ) )

Definition at line 1590 of file freetype.h.

◆ FT_HAS_HORIZONTAL

#define FT_HAS_HORIZONTAL ( face)
Value:
( !!( (face)->face_flags & FT_FACE_FLAG_HORIZONTAL ) )

Definition at line 1458 of file freetype.h.

◆ FT_HAS_KERNING

#define FT_HAS_KERNING ( face)
Value:
( !!( (face)->face_flags & FT_FACE_FLAG_KERNING ) )

Definition at line 1486 of file freetype.h.

◆ FT_HAS_MULTIPLE_MASTERS

#define FT_HAS_MULTIPLE_MASTERS ( face)
Value:
( !!( (face)->face_flags & FT_FACE_FLAG_MULTIPLE_MASTERS ) )

Definition at line 1605 of file freetype.h.

◆ FT_HAS_SBIX

#define FT_HAS_SBIX ( face)
Value:
( !!( (face)->face_flags & FT_FACE_FLAG_SBIX ) )

Definition at line 1793 of file freetype.h.

◆ FT_HAS_SBIX_OVERLAY

#define FT_HAS_SBIX_OVERLAY ( face)
Value:
( !!( (face)->face_flags & FT_FACE_FLAG_SBIX_OVERLAY ) )

Definition at line 1811 of file freetype.h.

◆ FT_HAS_SVG

#define FT_HAS_SVG ( face)
Value:
( !!( (face)->face_flags & FT_FACE_FLAG_SVG ) )

Definition at line 1709 of file freetype.h.

◆ FT_HAS_VERTICAL

#define FT_HAS_VERTICAL ( face)
Value:
( !!( (face)->face_flags & FT_FACE_FLAG_VERTICAL ) )

Definition at line 1472 of file freetype.h.

◆ FT_IS_CID_KEYED

#define FT_IS_CID_KEYED ( face)
Value:
( !!( (face)->face_flags & FT_FACE_FLAG_CID_KEYED ) )

Definition at line 1662 of file freetype.h.

◆ FT_IS_FIXED_WIDTH

#define FT_IS_FIXED_WIDTH ( face)
Value:
( !!( (face)->face_flags & FT_FACE_FLAG_FIXED_WIDTH ) )

Definition at line 1535 of file freetype.h.

◆ FT_IS_NAMED_INSTANCE

#define FT_IS_NAMED_INSTANCE ( face)
Value:
( !!( (face)->face_index & 0x7FFF0000L ) )

Definition at line 1627 of file freetype.h.

◆ FT_IS_SCALABLE

#define FT_IS_SCALABLE ( face)
Value:
( !!( (face)->face_flags & FT_FACE_FLAG_SCALABLE ) )

Definition at line 1501 of file freetype.h.

◆ FT_IS_SFNT

#define FT_IS_SFNT ( face)
Value:
( !!( (face)->face_flags & FT_FACE_FLAG_SFNT ) )

Definition at line 1520 of file freetype.h.

◆ FT_IS_TRICKY

#define FT_IS_TRICKY ( face)
Value:
( !!( (face)->face_flags & FT_FACE_FLAG_TRICKY ) )

Definition at line 1676 of file freetype.h.

◆ FT_IS_VARIATION

#define FT_IS_VARIATION ( face)
Value:
( !!( (face)->face_flags & FT_FACE_FLAG_VARIATION ) )

Definition at line 1645 of file freetype.h.

◆ ft_kerning_default

#define ft_kerning_default   FT_KERNING_DEFAULT

Definition at line 3962 of file freetype.h.

◆ ft_kerning_unfitted

#define ft_kerning_unfitted   FT_KERNING_UNFITTED

Definition at line 3963 of file freetype.h.

◆ ft_kerning_unscaled

#define ft_kerning_unscaled   FT_KERNING_UNSCALED

Definition at line 3964 of file freetype.h.

◆ FT_LOAD_ADVANCE_ONLY

#define FT_LOAD_ADVANCE_ONLY   ( 1L << 8 )

Definition at line 3529 of file freetype.h.

◆ FT_LOAD_BITMAP_METRICS_ONLY

#define FT_LOAD_BITMAP_METRICS_ONLY   ( 1L << 22 )

Definition at line 3523 of file freetype.h.

◆ FT_LOAD_COLOR

#define FT_LOAD_COLOR   ( 1L << 20 )

Definition at line 3521 of file freetype.h.

◆ FT_LOAD_COMPUTE_METRICS

#define FT_LOAD_COMPUTE_METRICS   ( 1L << 21 )

Definition at line 3522 of file freetype.h.

◆ FT_LOAD_CROP_BITMAP

#define FT_LOAD_CROP_BITMAP   ( 1L << 6 )

Definition at line 3511 of file freetype.h.

◆ FT_LOAD_DEFAULT

#define FT_LOAD_DEFAULT   0x0

Definition at line 3504 of file freetype.h.

◆ FT_LOAD_FORCE_AUTOHINT

#define FT_LOAD_FORCE_AUTOHINT   ( 1L << 5 )

Definition at line 3510 of file freetype.h.

◆ FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH

#define FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH   ( 1L << 9 )

Definition at line 3513 of file freetype.h.

◆ FT_LOAD_IGNORE_TRANSFORM

#define FT_LOAD_IGNORE_TRANSFORM   ( 1L << 11 )

Definition at line 3515 of file freetype.h.

◆ FT_LOAD_LINEAR_DESIGN

#define FT_LOAD_LINEAR_DESIGN   ( 1L << 13 )

Definition at line 3517 of file freetype.h.

◆ FT_LOAD_MONOCHROME

#define FT_LOAD_MONOCHROME   ( 1L << 12 )

Definition at line 3516 of file freetype.h.

◆ FT_LOAD_NO_AUTOHINT

#define FT_LOAD_NO_AUTOHINT   ( 1L << 15 )

Definition at line 3519 of file freetype.h.

◆ FT_LOAD_NO_BITMAP

#define FT_LOAD_NO_BITMAP   ( 1L << 3 )

Definition at line 3508 of file freetype.h.

◆ FT_LOAD_NO_HINTING

#define FT_LOAD_NO_HINTING   ( 1L << 1 )

Definition at line 3506 of file freetype.h.

◆ FT_LOAD_NO_RECURSE

#define FT_LOAD_NO_RECURSE   ( 1L << 10 )

Definition at line 3514 of file freetype.h.

◆ FT_LOAD_NO_SCALE

#define FT_LOAD_NO_SCALE   ( 1L << 0 )

Definition at line 3505 of file freetype.h.

◆ FT_LOAD_NO_SVG

#define FT_LOAD_NO_SVG   ( 1L << 24 )

Definition at line 3524 of file freetype.h.

◆ FT_LOAD_PEDANTIC

#define FT_LOAD_PEDANTIC   ( 1L << 7 )

Definition at line 3512 of file freetype.h.

◆ FT_LOAD_RENDER

#define FT_LOAD_RENDER   ( 1L << 2 )

Definition at line 3507 of file freetype.h.

◆ FT_LOAD_SBITS_ONLY

#define FT_LOAD_SBITS_ONLY   ( 1L << 14 )

Definition at line 3518 of file freetype.h.

◆ FT_LOAD_SVG_ONLY

#define FT_LOAD_SVG_ONLY   ( 1L << 23 )

Definition at line 3530 of file freetype.h.

◆ FT_LOAD_TARGET_

#define FT_LOAD_TARGET_ ( x)
Value:
( FT_STATIC_CAST( FT_Int32, (x) & 15 ) << 16 )

Definition at line 3620 of file freetype.h.

◆ FT_LOAD_TARGET_LCD

#define FT_LOAD_TARGET_LCD   FT_LOAD_TARGET_( FT_RENDER_MODE_LCD )

Definition at line 3625 of file freetype.h.

◆ FT_LOAD_TARGET_LCD_V

#define FT_LOAD_TARGET_LCD_V   FT_LOAD_TARGET_( FT_RENDER_MODE_LCD_V )

Definition at line 3626 of file freetype.h.

◆ FT_LOAD_TARGET_LIGHT

#define FT_LOAD_TARGET_LIGHT   FT_LOAD_TARGET_( FT_RENDER_MODE_LIGHT )

Definition at line 3623 of file freetype.h.

◆ FT_LOAD_TARGET_MODE

#define FT_LOAD_TARGET_MODE ( x)
Value:
FT_STATIC_CAST( FT_Render_Mode, ( (x) >> 16 ) & 15 )

Definition at line 3639 of file freetype.h.

◆ FT_LOAD_TARGET_MONO

#define FT_LOAD_TARGET_MONO   FT_LOAD_TARGET_( FT_RENDER_MODE_MONO )

Definition at line 3624 of file freetype.h.

◆ FT_LOAD_TARGET_NORMAL

#define FT_LOAD_TARGET_NORMAL   FT_LOAD_TARGET_( FT_RENDER_MODE_NORMAL )

Definition at line 3622 of file freetype.h.

◆ FT_LOAD_VERTICAL_LAYOUT

#define FT_LOAD_VERTICAL_LAYOUT   ( 1L << 4 )

Definition at line 3509 of file freetype.h.

◆ FT_OPEN_DRIVER

#define FT_OPEN_DRIVER   0x8

Definition at line 2417 of file freetype.h.

◆ ft_open_driver

#define ft_open_driver   FT_OPEN_DRIVER

Definition at line 2426 of file freetype.h.

◆ FT_OPEN_MEMORY

#define FT_OPEN_MEMORY   0x1

Definition at line 2414 of file freetype.h.

◆ ft_open_memory

#define ft_open_memory   FT_OPEN_MEMORY

Definition at line 2423 of file freetype.h.

◆ FT_OPEN_PARAMS

#define FT_OPEN_PARAMS   0x10

Definition at line 2418 of file freetype.h.

◆ ft_open_params

#define ft_open_params   FT_OPEN_PARAMS

Definition at line 2427 of file freetype.h.

◆ FT_OPEN_PATHNAME

#define FT_OPEN_PATHNAME   0x4

Definition at line 2416 of file freetype.h.

◆ ft_open_pathname

#define ft_open_pathname   FT_OPEN_PATHNAME

Definition at line 2425 of file freetype.h.

◆ FT_OPEN_STREAM

#define FT_OPEN_STREAM   0x2

Definition at line 2415 of file freetype.h.

◆ ft_open_stream

#define ft_open_stream   FT_OPEN_STREAM

Definition at line 2424 of file freetype.h.

◆ ft_render_mode_mono

#define ft_render_mode_mono   FT_RENDER_MODE_MONO

Definition at line 3810 of file freetype.h.

◆ ft_render_mode_normal

#define ft_render_mode_normal   FT_RENDER_MODE_NORMAL

Definition at line 3809 of file freetype.h.

◆ FT_STYLE_FLAG_BOLD

#define FT_STYLE_FLAG_BOLD   ( 1 << 1 )

Definition at line 1845 of file freetype.h.

◆ FT_STYLE_FLAG_ITALIC

#define FT_STYLE_FLAG_ITALIC   ( 1 << 0 )

Definition at line 1844 of file freetype.h.

◆ FT_SUBGLYPH_FLAG_2X2

#define FT_SUBGLYPH_FLAG_2X2   0x80

Definition at line 4558 of file freetype.h.

◆ FT_SUBGLYPH_FLAG_ARGS_ARE_WORDS

#define FT_SUBGLYPH_FLAG_ARGS_ARE_WORDS   1

Definition at line 4553 of file freetype.h.

◆ FT_SUBGLYPH_FLAG_ARGS_ARE_XY_VALUES

#define FT_SUBGLYPH_FLAG_ARGS_ARE_XY_VALUES   2

Definition at line 4554 of file freetype.h.

◆ FT_SUBGLYPH_FLAG_ROUND_XY_TO_GRID

#define FT_SUBGLYPH_FLAG_ROUND_XY_TO_GRID   4

Definition at line 4555 of file freetype.h.

◆ FT_SUBGLYPH_FLAG_SCALE

#define FT_SUBGLYPH_FLAG_SCALE   8

Definition at line 4556 of file freetype.h.

◆ FT_SUBGLYPH_FLAG_USE_MY_METRICS

#define FT_SUBGLYPH_FLAG_USE_MY_METRICS   0x200

Definition at line 4559 of file freetype.h.

◆ FT_SUBGLYPH_FLAG_XY_SCALE

#define FT_SUBGLYPH_FLAG_XY_SCALE   0x40

Definition at line 4557 of file freetype.h.

Typedef Documentation

◆ FT_CharMap

typedef struct FT_CharMapRec_* FT_CharMap

Definition at line 751 of file freetype.h.

◆ FT_Driver

typedef struct FT_DriverRec_* FT_Driver

Definition at line 593 of file freetype.h.

◆ FT_Face

typedef struct FT_FaceRec_* FT_Face

Definition at line 645 of file freetype.h.

◆ FT_Face_Internal

typedef struct FT_Face_InternalRec_* FT_Face_Internal

Definition at line 1046 of file freetype.h.

◆ FT_GlyphSlot

typedef struct FT_GlyphSlotRec_* FT_GlyphSlot

Definition at line 710 of file freetype.h.

◆ FT_Library

typedef struct FT_LibraryRec_* FT_Library

Definition at line 561 of file freetype.h.

◆ FT_Module

typedef struct FT_ModuleRec_* FT_Module

Definition at line 581 of file freetype.h.

◆ FT_Renderer

typedef struct FT_RendererRec_* FT_Renderer

Definition at line 606 of file freetype.h.

◆ FT_Size

typedef struct FT_SizeRec_* FT_Size

Definition at line 684 of file freetype.h.

◆ FT_Size_Internal

typedef struct FT_Size_InternalRec_* FT_Size_Internal

Definition at line 1864 of file freetype.h.

◆ FT_Size_Request

typedef struct FT_Size_RequestRec_* FT_Size_Request

Definition at line 3054 of file freetype.h.

◆ FT_Slot_Internal

typedef struct FT_Slot_InternalRec_* FT_Slot_Internal

Definition at line 2060 of file freetype.h.

◆ FT_SubGlyph

typedef struct FT_SubGlyphRec_* FT_SubGlyph

Definition at line 2048 of file freetype.h.

Enumeration Type Documentation

◆ FT_Encoding_

enum FT_Encoding_

Definition at line 931 of file freetype.h.

◆ FT_Kerning_Mode_

enum FT_Kerning_Mode_

Definition at line 3951 of file freetype.h.

◆ FT_Render_Mode_

enum FT_Render_Mode_

Definition at line 3793 of file freetype.h.

◆ FT_Size_Request_Type_

enum FT_Size_Request_Type_

Definition at line 2983 of file freetype.h.

Function Documentation

◆ FT_Attach_File()

FT_Attach_File ( FT_Face face,
const char * filepathname )

Definition at line 2844 of file ftobjs.c.

◆ FT_Attach_Stream()

FT_Attach_Stream ( FT_Face face,
const FT_Open_Args * parameters )

Definition at line 2866 of file ftobjs.c.

◆ FT_CeilFix()

FT_CeilFix ( FT_Fixed a)

Definition at line 85 of file ftcalc.c.

◆ FT_DivFix()

FT_DivFix ( FT_Long a,
FT_Long b )

Definition at line 574 of file ftcalc.c.

◆ FT_Done_Face()

FT_Done_Face ( FT_Face face)

Definition at line 2924 of file ftobjs.c.

◆ FT_Done_FreeType()

FT_Done_FreeType ( FT_Library library)

Definition at line 239 of file ftinit.c.

◆ FT_Face_CheckTrueTypePatents()

FT_Face_CheckTrueTypePatents ( FT_Face face)

Definition at line 30 of file ftpatent.c.

◆ FT_Face_GetCharsOfVariant()

FT_Face_GetCharsOfVariant ( FT_Face face,
FT_ULong variantSelector )

Definition at line 4232 of file ftobjs.c.

◆ FT_Face_GetCharVariantIndex()

FT_Face_GetCharVariantIndex ( FT_Face face,
FT_ULong charcode,
FT_ULong variantSelector )

Definition at line 4082 of file ftobjs.c.

◆ FT_Face_GetCharVariantIsDefault()

FT_Face_GetCharVariantIsDefault ( FT_Face face,
FT_ULong charcode,
FT_ULong variantSelector )

Definition at line 4128 of file ftobjs.c.

◆ FT_Face_GetVariantSelectors()

FT_Face_GetVariantSelectors ( FT_Face face)

Definition at line 4171 of file ftobjs.c.

◆ FT_Face_GetVariantsOfChar()

FT_Face_GetVariantsOfChar ( FT_Face face,
FT_ULong charcode )

Definition at line 4198 of file ftobjs.c.

◆ FT_Face_Properties()

FT_Face_Properties ( FT_Face face,
FT_UInt num_properties,
FT_Parameter * properties )

Definition at line 4003 of file ftobjs.c.

◆ FT_Face_SetUnpatentedHinting()

FT_Face_SetUnpatentedHinting ( FT_Face face,
FT_Bool value )

Definition at line 41 of file ftpatent.c.

◆ FT_FloorFix()

FT_FloorFix ( FT_Fixed a)

Definition at line 94 of file ftcalc.c.

◆ FT_Get_Char_Index()

FT_Get_Char_Index ( FT_Face face,
FT_ULong charcode )

Definition at line 3916 of file ftobjs.c.

◆ FT_Get_Charmap_Index()

FT_Get_Charmap_Index ( FT_CharMap charmap)

Definition at line 3782 of file ftobjs.c.

◆ FT_Get_First_Char()

FT_Get_First_Char ( FT_Face face,
FT_UInt * agindex )

Definition at line 3945 of file ftobjs.c.

◆ FT_Get_FSType_Flags()

FT_Get_FSType_Flags ( FT_Face face)

Definition at line 27 of file ftfstype.c.

◆ FT_Get_Glyph_Name()

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

Definition at line 4295 of file ftobjs.c.

◆ FT_Get_Kerning()

FT_Get_Kerning ( FT_Face face,
FT_UInt left_glyph,
FT_UInt right_glyph,
FT_UInt kern_mode,
FT_Vector * akerning )

Definition at line 3596 of file ftobjs.c.

◆ FT_Get_Name_Index()

FT_Get_Name_Index ( FT_Face face,
const FT_String * glyph_name )

Definition at line 4267 of file ftobjs.c.

◆ FT_Get_Next_Char()

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

Definition at line 3970 of file ftobjs.c.

◆ FT_Get_Postscript_Name()

FT_Get_Postscript_Name ( FT_Face face)

Definition at line 4332 of file ftobjs.c.

◆ FT_Get_SubGlyph_Info()

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 )

Definition at line 5693 of file ftobjs.c.

◆ FT_Get_Track_Kerning()

FT_Get_Track_Kerning ( FT_Face face,
FT_Fixed point_size,
FT_Int degree,
FT_Fixed * akerning )

Definition at line 3675 of file ftobjs.c.

◆ FT_Get_Transform()

FT_Get_Transform ( FT_Face face,
FT_Matrix * matrix,
FT_Vector * delta )

Definition at line 819 of file ftobjs.c.

◆ FT_Init_FreeType()

FT_Init_FreeType ( FT_Library * alibrary)

Definition at line 199 of file ftinit.c.

◆ FT_Library_Version()

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

Definition at line 5514 of file ftobjs.c.

◆ FT_Load_Char()

FT_Load_Char ( FT_Face face,
FT_ULong char_code,
FT_Int32 load_flags )

Definition at line 1226 of file ftobjs.c.

◆ FT_Load_Glyph()

FT_Load_Glyph ( FT_Face face,
FT_UInt glyph_index,
FT_Int32 load_flags )

Definition at line 898 of file ftobjs.c.

◆ FT_MulDiv()

FT_MulDiv ( FT_Long a,
FT_Long b,
FT_Long c )

Definition at line 393 of file ftcalc.c.

◆ FT_MulFix()

FT_MulFix ( FT_Long a,
FT_Long b )

Definition at line 478 of file ftcalc.c.

◆ FT_New_Face()

FT_New_Face ( FT_Library library,
const char * filepathname,
FT_Long face_index,
FT_Face * aface )

Definition at line 1592 of file ftobjs.c.

◆ FT_New_Memory_Face()

FT_New_Memory_Face ( FT_Library library,
const FT_Byte * file_base,
FT_Long file_size,
FT_Long face_index,
FT_Face * aface )

Definition at line 1617 of file ftobjs.c.

◆ FT_Open_Face()

FT_Open_Face ( FT_Library library,
const FT_Open_Args * args,
FT_Long face_index,
FT_Face * aface )

Definition at line 2502 of file ftobjs.c.

◆ FT_Reference_Face()

FT_Reference_Face ( FT_Face face)

Definition at line 2910 of file ftobjs.c.

◆ FT_Render_Glyph()

FT_Render_Glyph ( FT_GlyphSlot slot,
FT_Render_Mode render_mode )

Definition at line 4986 of file ftobjs.c.

◆ FT_Request_Size()

FT_Request_Size ( FT_Face face,
FT_Size_Request req )

Definition at line 3431 of file ftobjs.c.

◆ FT_RoundFix()

FT_RoundFix ( FT_Fixed a)

Definition at line 76 of file ftcalc.c.

◆ FT_Select_Charmap()

FT_Select_Charmap ( FT_Face face,
FT_Encoding encoding )

Definition at line 3706 of file ftobjs.c.

◆ FT_Select_Size()

FT_Select_Size ( FT_Face face,
FT_Int strike_index )

Definition at line 3373 of file ftobjs.c.

◆ FT_Set_Char_Size()

FT_Set_Char_Size ( FT_Face face,
FT_F26Dot6 char_width,
FT_F26Dot6 char_height,
FT_UInt horz_resolution,
FT_UInt vert_resolution )

Definition at line 3516 of file ftobjs.c.

◆ FT_Set_Charmap()

FT_Set_Charmap ( FT_Face face,
FT_CharMap charmap )

Definition at line 3749 of file ftobjs.c.

◆ FT_Set_Pixel_Sizes()

FT_Set_Pixel_Sizes ( FT_Face face,
FT_UInt pixel_width,
FT_UInt pixel_height )

Definition at line 3558 of file ftobjs.c.

◆ FT_Set_Transform()

FT_Set_Transform ( FT_Face face,
FT_Matrix * matrix,
FT_Vector * delta )

Definition at line 768 of file ftobjs.c.

◆ FT_Vector_Transform()

FT_Vector_Transform ( FT_Vector * vector,
const FT_Matrix * matrix )

Definition at line 696 of file ftoutln.c.