41 void *(*allocFunc)(
void *,
unsigned int);
198 int index,
int mode,
unsigned int *errorCode);
201 void *pMemoryFont,
SceSize pMemoryFontSize,
unsigned int *errorCode);
204 char *file,
int mode,
unsigned int *errorCode);
237 int clipXPos,
int clipYPos,
int clipWidth,
int clipHeight);
240 float fontPixelsH,
unsigned int *errorCode);
243 float fontPixelsV,
unsigned int *errorCode);
246 float fontPointsH,
unsigned int *errorCode);
249 float fontPointsV,
unsigned int *errorCode);
int sceFontGetFontInfo(SceFontHandle fontHandle, SceFontInfo *fontInfo)
unsigned int sfp26Width
Definition: pgf.h:138
SceFontLanguageCode
Definition: pgf.h:77
float fontWeight
Definition: pgf.h:117
SceFontHandle sceFontOpenUserMemory(SceFontLibHandle libHandle, void *pMemoryFont, SceSize pMemoryFontSize, unsigned int *errorCode)
SceFontFamilyCode
Definition: pgf.h:52
float maxGlyphTopYF
Definition: pgf.h:174
unsigned int maxGlyphTopYI
Definition: pgf.h:162
char fontName[64]
Definition: pgf.h:125
unsigned int bitmapWidth
Definition: pgf.h:133
SceFontStyle fontStyle
Definition: pgf.h:185
unsigned int maxGlyphWidthI
Definition: pgf.h:155
unsigned int bitmapTop
Definition: pgf.h:136
unsigned short fontLanguage
Definition: pgf.h:122
SceFontPixelFormatCode
Definition: pgf.h:86
float fontH
Definition: pgf.h:113
unsigned short bufHeight
Definition: pgf.h:105
float sceFontPixelToPointH(SceFontLibHandle libHandle, float fontPixelsH, unsigned int *errorCode)
unsigned int maxGlyphBaseYI
Definition: pgf.h:160
int sfp26AdvanceV
Definition: pgf.h:147
SceFontLibHandle sceFontNewLib(SceFontNewLibParams *params, unsigned int *errorCode)
unsigned int charMapLength
Number of elements in the font's charmap.
Definition: pgf.h:181
unsigned int fontAttributes
Definition: pgf.h:127
int sfp26BearingVY
Definition: pgf.h:145
unsigned int bufferPtr
Definition: pgf.h:108
int yPos64
Definition: pgf.h:103
unsigned short height
Definition: pgf.h:96
void * ioFinishFunc
Definition: pgf.h:48
unsigned int maxGlyphDescenderI
Definition: pgf.h:158
void * cacheData
Definition: pgf.h:38
int sceFontGetCharGlyphImage(SceFontHandle fontHandle, unsigned int charCode, SceFontGlyphImage *glyphImage)
int sfp26BearingHX
Definition: pgf.h:142
float fontHRes
Definition: pgf.h:115
float fontVRes
Definition: pgf.h:116
unsigned int maxGlyphAdvanceYI
Definition: pgf.h:164
float maxGlyphHeightF
Definition: pgf.h:168
int sceFontGetFontInfoByIndexNumber(SceFontLibHandle libHandle, SceFontStyle *fontStyle, int unknown, int fontIndex)
float sceFontPixelToPointV(SceFontLibHandle libHandle, float fontPixelsV, unsigned int *errorCode)
float maxGlyphAdvanceXF
Definition: pgf.h:175
float maxGlyphWidthF
Definition: pgf.h:167
void * SceFontHandle
Definition: pgf.h:21
int sceFontSetAltCharacterCode(SceFontLibHandle libHandle, unsigned int charCode)
int sfp26Ascender
Definition: pgf.h:140
unsigned int numFonts
Definition: pgf.h:37
void * seekFunc
Definition: pgf.h:46
SceFontStyleCode
Definition: pgf.h:59
unsigned short fontCountry
Definition: pgf.h:124
char fontFileName[64]
Definition: pgf.h:126
int sceFontDoneLib(SceFontLibHandle libHandle)
float sceFontPointToPixelV(SceFontLibHandle libHandle, float fontPointsV, unsigned int *errorCode)
int sceFontSetResolution(SceFontLibHandle libHandle, float hRes, float vRes)
unsigned short bytesPerLine
Definition: pgf.h:106
float fontV
Definition: pgf.h:114
VITASDK_BUILD_ASSERT_EQ(4, SceFontLibHandle)
uint8_t pad[3]
Definition: pgf.h:188
unsigned int bitmapHeight
Definition: pgf.h:134
void * readFunc
Definition: pgf.h:45
void * errorFunc
Definition: pgf.h:47
void * openFunc
Definition: pgf.h:43
float sceFontPointToPixelH(SceFontLibHandle libHandle, float fontPointsH, unsigned int *errorCode)
float maxGlyphDescenderF
Definition: pgf.h:170
unsigned int pixelFormat
Definition: pgf.h:101
int sceFontGetCharImageRect(SceFontHandle fontHandle, unsigned int charCode, SceFontImageRect *charRect)
int sceFontGetFontList(SceFontLibHandle libHandle, SceFontStyle *fontStyle, int numFonts)
void * userData
Definition: pgf.h:36
unsigned short fontFamily
Definition: pgf.h:118
SceFontErrorCode
Definition: pgf.h:26
float maxGlyphBaseYF
Definition: pgf.h:172
int sfp26Descender
Definition: pgf.h:141
int sceFontFlush(SceFontHandle fontHandle)
void * closeFunc
Definition: pgf.h:44
int sceFontGetCharGlyphImage_Clip(SceFontHandle fontHandle, unsigned int charCode, SceFontGlyphImage *glyphImage, int clipXPos, int clipYPos, int clipWidth, int clipHeight)
int sceFontFindFont(SceFontLibHandle libHandle, SceFontStyle *fontStyle, unsigned int *errorCode)
int sceFontFindOptimumFont(SceFontLibHandle libHandle, SceFontStyle *fontStyle, unsigned int *errorCode)
float minGlyphCenterXF
Definition: pgf.h:173
unsigned int maxGlyphHeightI
Definition: pgf.h:156
unsigned int sfp26Height
Definition: pgf.h:139
unsigned short pad
Definition: pgf.h:107
unsigned int shadowMapLength
Number of elements in the font's shadow charmap.
Definition: pgf.h:182
void * SceFontLibHandle
Definition: pgf.h:19
float maxGlyphAdvanceYF
Definition: pgf.h:176
unsigned short width
Definition: pgf.h:95
unsigned int maxGlyphAdvanceXI
Definition: pgf.h:163
SceFontHandle sceFontOpenUserFile(SceFontLibHandle libHandle, char *file, int mode, unsigned int *errorCode)
unsigned short bufWidth
Definition: pgf.h:104
short shadowFlags
Definition: pgf.h:148
short shadowId
Definition: pgf.h:149
int sceFontGetCharInfo(SceFontHandle fontHandle, unsigned int charCode, SceFontCharInfo *charInfo)
int sfp26BearingVX
Definition: pgf.h:144
short maxGlyphWidth
Definition: pgf.h:179
unsigned int fontExpire
Definition: pgf.h:128
int sceFontGetNumFontList(SceFontLibHandle libHandle, unsigned int *errorCode)
float maxGlyphLeftXF
Definition: pgf.h:171
unsigned int minGlyphCenterXI
Definition: pgf.h:161
unsigned int maxGlyphAscenderI
Definition: pgf.h:157
unsigned short fontStyle
Definition: pgf.h:119
unsigned int maxGlyphLeftXI
Definition: pgf.h:159
int sceFontClose(SceFontHandle fontHandle)
int xPos64
Definition: pgf.h:102
int sfp26AdvanceH
Definition: pgf.h:146
uint8_t BPP
Font's BPP.
Definition: pgf.h:187
SceFontHandle sceFontOpen(SceFontLibHandle libHandle, int index, int mode, unsigned int *errorCode)
unsigned short fontRegion
Definition: pgf.h:123
void(* freeFunc)(void *, void *)
Definition: pgf.h:42
short maxGlyphHeight
Definition: pgf.h:180
unsigned short fontStyleSub
Definition: pgf.h:121
unsigned int bitmapLeft
Definition: pgf.h:135
int sfp26BearingHY
Definition: pgf.h:143
float maxGlyphAscenderF
Definition: pgf.h:169
@ SCE_FONT_LANGUAGE_LATIN
Definition: pgf.h:80
@ SCE_FONT_LANGUAGE_JAPANESE
Definition: pgf.h:79
@ SCE_FONT_LANGUAGE_DEFAULT
Definition: pgf.h:78
@ SCE_FONT_LANGUAGE_KOREAN
Definition: pgf.h:81
@ SCE_FONT_LANGUAGE_CJK
Definition: pgf.h:83
@ SCE_FONT_LANGUAGE_CHINESE
Definition: pgf.h:82
@ SCE_FONT_FAMILY_DEFAULT
Definition: pgf.h:53
@ SCE_FONT_FAMILY_ROUNDED
Definition: pgf.h:56
@ SCE_FONT_FAMILY_SERIF
Definition: pgf.h:55
@ SCE_FONT_FAMILY_SANS_SERIF
Definition: pgf.h:54
@ SCE_FONT_PIXELFORMAT_24
1 pixel in 3 bytes (RGB)
Definition: pgf.h:90
@ SCE_FONT_PIXELFORMAT_4_REV
2 pixels packed in 1 byte (reversed order)
Definition: pgf.h:88
@ SCE_FONT_PIXELFORMAT_4
2 pixels packed in 1 byte (natural order)
Definition: pgf.h:87
@ SCE_FONT_PIXELFORMAT_8
1 pixel in 1 byte
Definition: pgf.h:89
@ SCE_FONT_PIXELFORMAT_32
1 pixel in 4 bytes (RGBA)
Definition: pgf.h:91
@ SCE_FONT_STYLE_M
Definition: pgf.h:70
@ SCE_FONT_STYLE_BLACK_ITALIC
Definition: pgf.h:68
@ SCE_FONT_STYLE_NARROW_ITALIC
Definition: pgf.h:64
@ SCE_FONT_STYLE_BOLD_ITALIC
Definition: pgf.h:66
@ SCE_FONT_STYLE_DEFAULT
Definition: pgf.h:60
@ SCE_FONT_STYLE_DB
Demi-Bold / semi-bold.
Definition: pgf.h:71
@ SCE_FONT_STYLE_BLACK
Definition: pgf.h:67
@ SCE_FONT_STYLE_L
Definition: pgf.h:69
@ SCE_FONT_STYLE_B
Definition: pgf.h:72
@ SCE_FONT_STYLE_REGULAR
Definition: pgf.h:61
@ SCE_FONT_STYLE_BOLD
Definition: pgf.h:65
@ SCE_FONT_STYLE_ITALIC
Definition: pgf.h:62
@ SCE_FONT_STYLE_EB
Definition: pgf.h:73
@ SCE_FONT_STYLE_NARROW
Definition: pgf.h:63
@ SCE_FONT_STYLE_UB
Definition: pgf.h:74
@ SCE_FONT_ERROR_TOO_MANY_OPEN_FONTS
Definition: pgf.h:31
@ SCE_FONT_ERROR_OUT_OF_MEMORY
Definition: pgf.h:27
@ SCE_FONT_ERROR_HANDLER_OPEN_FAILED
Definition: pgf.h:30
@ SCE_FONT_ERROR_INVALID_LIBID
Definition: pgf.h:28
@ SCE_FONT_ERROR_INVALID_FONT_DATA
Definition: pgf.h:32
@ SCE_FONT_ERROR_INVALID_PARAMETER
Definition: pgf.h:29
unsigned int SceSize
Definition: types.h:56