sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
afglobal.h File Reference
#include "aftypes.h"
#include "afmodule.h"
#include "afshaper.h"
#include "afscript.h"
#include "afstyles.h"

Go to the source code of this file.

Classes

struct  AF_FaceGlobalsRec_

Macros

#define SCRIPT(s, S, d, h, H, ss)
#define STYLE(s, S, d, ws, sc, ss, c)
#define AF_STYLE_FALLBACK   AF_STYLE_NONE_DFLT
#define AF_SCRIPT_DEFAULT   AF_SCRIPT_LATN
#define AF_STYLE_MASK   0x1FFF
#define AF_STYLE_UNASSIGNED   AF_STYLE_MASK
#define AF_DIGIT   0x8000U
#define AF_NONBASE   0x4000U
#define AF_HAS_CMAP_ENTRY   0x2000U
#define AF_PROP_INCREASE_X_HEIGHT_MIN   6
#define AF_PROP_INCREASE_X_HEIGHT_MAX   0

Typedefs

typedef struct AF_FaceGlobalsRec_ AF_FaceGlobalsRec

Functions

 af_face_globals_new (FT_Face face, AF_FaceGlobals *aglobals, AF_Module module)
 af_face_globals_get_metrics (AF_FaceGlobals globals, FT_UInt gindex, FT_UInt options, AF_StyleMetrics *ametrics)
 af_face_globals_free (void *globals)
 af_face_globals_is_digit (AF_FaceGlobals globals, FT_UInt gindex)

Variables

FT_BEGIN_HEADER af_writing_system_classes []
 af_script_classes []
 af_style_classes []

Macro Definition Documentation

◆ AF_DIGIT

#define AF_DIGIT   0x8000U

Definition at line 86 of file afglobal.h.

◆ AF_HAS_CMAP_ENTRY

#define AF_HAS_CMAP_ENTRY   0x2000U

Definition at line 90 of file afglobal.h.

◆ AF_NONBASE

#define AF_NONBASE   0x4000U

Definition at line 88 of file afglobal.h.

◆ AF_PROP_INCREASE_X_HEIGHT_MAX

#define AF_PROP_INCREASE_X_HEIGHT_MAX   0

Definition at line 94 of file afglobal.h.

◆ AF_PROP_INCREASE_X_HEIGHT_MIN

#define AF_PROP_INCREASE_X_HEIGHT_MIN   6

Definition at line 93 of file afglobal.h.

◆ AF_SCRIPT_DEFAULT

#define AF_SCRIPT_DEFAULT   AF_SCRIPT_LATN

Definition at line 78 of file afglobal.h.

◆ AF_STYLE_FALLBACK

#define AF_STYLE_FALLBACK   AF_STYLE_NONE_DFLT

Definition at line 75 of file afglobal.h.

◆ AF_STYLE_MASK

#define AF_STYLE_MASK   0x1FFF

Definition at line 81 of file afglobal.h.

◆ AF_STYLE_UNASSIGNED

#define AF_STYLE_UNASSIGNED   AF_STYLE_MASK

Definition at line 83 of file afglobal.h.

◆ SCRIPT

#define SCRIPT ( s,
S,
d,
h,
H,
ss )
Value:
AF_DECLARE_SCRIPT_CLASS( af_ ## s ## _script_class )

Definition at line 41 of file afglobal.h.

◆ STYLE

#define STYLE ( s,
S,
d,
ws,
sc,
ss,
c )
Value:
AF_DECLARE_STYLE_CLASS( af_ ## s ## _style_class )

Definition at line 51 of file afglobal.h.

Function Documentation

◆ af_face_globals_free()

af_face_globals_free ( void * globals)

Definition at line 397 of file afglobal.c.

◆ af_face_globals_get_metrics()

af_face_globals_get_metrics ( AF_FaceGlobals globals,
FT_UInt gindex,
FT_UInt options,
AF_StyleMetrics * ametrics )

Definition at line 444 of file afglobal.c.

◆ af_face_globals_is_digit()

af_face_globals_is_digit ( AF_FaceGlobals globals,
FT_UInt gindex )

Definition at line 527 of file afglobal.c.

◆ af_face_globals_new()

af_face_globals_new ( FT_Face face,
AF_FaceGlobals * aglobals,
AF_Module module )

Definition at line 331 of file afglobal.c.

Variable Documentation

◆ af_script_classes

af_script_classes[]

Definition at line 47 of file afglobal.h.

◆ af_style_classes

af_style_classes[]

Definition at line 57 of file afglobal.h.

◆ af_writing_system_classes

FT_BEGIN_HEADER af_writing_system_classes[]

Definition at line 37 of file afglobal.h.