18 #define SCE_PVF_MAX_OPEN 18
106 #define SCE_PVF_FONTNAME_LENGTH 64
107 #define SCE_PVF_STYLENAME_LENGTH 64
108 #define SCE_PVF_FONTFILENAME_LENGTH 64
115 #define SCE_PVF_MIN_EMBOLDEN_RATE -20.0f
116 #define SCE_PVF_MAX_EMBOLDEN_RATE 40.0f
117 #define SCE_PVF_MIN_SKEW_VALUE -30.0f
118 #define SCE_PVF_MAX_SKEW_VALUE 30.0f
383 #define scePvfGetCharGlyphImageClip scePvfGetCharGlyphImage_Clip
SceSize size
struct size(variable size)
Definition: debug.h:0
void(* ScePvfFreeFunc)(ScePvfPointer userData, ScePvfPointer ptr)
Definition: pvf.h:195
ScePvfFloat32 verticalBearingY
Definition: pvf.h:269
ScePvfU8 * buffer
Definition: pvf.h:231
ScePvfU16 style
Definition: pvf.h:211
ScePvfFloat32 xOffset
Definition: pvf.h:291
ScePvfImageByfferPixelFormatType
Definition: pvf.h:63
ScePvfU32 bitmapPitch
Definition: pvf.h:252
ScePvfIrect rect
Definition: pvf.h:228
VITASDK_BUILD_ASSERT_EQ(4, ScePvfU32)
ScePvfPointer reserved
Definition: pvf.h:201
ScePvfS32 ascender64
Definition: pvf.h:238
ScePvfError scePvfDoneLib(ScePvfLibId libID)
ScePvfFontId scePvfOpenDefaultJapaneseFontOnSharedMemory(ScePvfLibId libID, ScePvfError *errorCode)
ScePvfS32(* ScePvfFontChcheWriteKeyValueToCacheFunc)(ScePvfPointer cacheInstance, ScePvfPointer chcheSlot, ScePvfPointer key)
Definition: pvf.h:168
ScePvfLibId scePvfNewLib(ScePvfInitRec *initParam, ScePvfError *errorCode)
ScePvfError scePvfGetFontList(ScePvfLibId libID, ScePvfFontStyleInfo *fontStyleInfo, ScePvfInt arraySize)
ScePvfDataAccessMode
Definition: pvf.h:110
ScePvfBool scePvfIsElement(ScePvfFontId fontID, ScePvfCharCode charCode)
ScePvfS32 horizontalAdvance64
Definition: pvf.h:244
ScePvfPointer(* ScePvfReallocFunc)(ScePvfPointer userData, ScePvfPointer old_ptr, ScePvfU32 size)
Definition: pvf.h:192
ScePvfFontId scePvfOpenUserFileWithSubfontIndex(ScePvfLibId libID, ScePvfPointer filename, ScePvfU32 mode, ScePvfU32 subFontIndex, ScePvfError *errorCode)
ScePvfFontId scePvfOpenUserMemory(ScePvfLibId libID, ScePvfPointer addr, ScePvfU32 size, ScePvfError *errorCode)
#define SCE_PVF_FONTFILENAME_LENGTH
Definition: pvf.h:108
ScePvfFontId scePvfOpenDefaultLatinFontOnSharedMemory(ScePvfLibId libID, ScePvfError *errorCode)
ScePvfFloat32 width
Definition: pvf.h:262
ScePvfError scePvfGetCharImageRect(ScePvfFontId fontID, ScePvfCharCode charCode, ScePvfIrect *rect)
float keyValue4
Definition: pvf.h:307
ScePvfS32 xOffset64
Definition: pvf.h:285
ScePvfError scePvfSetEM(ScePvfLibId libID, ScePvfFloat32 emValue)
ScePvfFontId scePvfOpenUserFile(ScePvfLibId libID, ScePvfPointer filename, ScePvfU32 mode, ScePvfError *errorCode)
ScePvfStyleCode
Definition: pvf.h:45
ScePvfError scePvfSetCharSize(ScePvfFontId fontID, ScePvfFloat32 hSize, ScePvfFloat32 vSize)
#define SCE_PVF_FONTNAME_LENGTH
Definition: pvf.h:106
ScePvfPointer userData
Definition: pvf.h:198
ScePvfU32 expireDate
Definition: pvf.h:220
ScePvfFloat32 scePvfPointToPixelV(ScePvfLibId libID, ScePvfFloat32 point, ScePvfError *errorCode)
float keyValue6
Definition: pvf.h:309
ScePvfError scePvfClose(ScePvfFontId fontID)
float keyValue8
Definition: pvf.h:311
ScePvfFreeFunc freeFunc
Definition: pvf.h:204
ScePvfFontChcheWriteToCacheFunc write0ToCacheFunc
Definition: pvf.h:183
ScePvfAllocFunc allocFunc
Definition: pvf.h:202
ScePvfError scePvfSetResolution(ScePvfLibId libID, ScePvfFloat32 hResolution, ScePvfFloat32 vResolution)
ScePvfU16 width
Definition: pvf.h:150
ScePvfS32 horizontalBearingY64
Definition: pvf.h:241
ScePvfFontVendorCountryCode
Definition: pvf.h:88
ScePvfFontCacheLockFunc lockFunc
Definition: pvf.h:179
ScePvfU16 bytesPerLine
Definition: pvf.h:229
ScePvfU16 subStyle
Definition: pvf.h:212
ScePvfU32 height64
Definition: pvf.h:237
ScePvfS32 ScePvfInt
Definition: pvf.h:142
ScePvfU32 height
Definition: pvf.h:157
ScePvfFloat32 descender
Definition: pvf.h:265
ScePvfS32 ScePvfFontIndex
Definition: pvf.h:146
ScePvfS32 xPos64
Definition: pvf.h:226
ScePvfU32 extraAttributes
Definition: pvf.h:219
ScePvfS32 verticalBearingX64
Definition: pvf.h:242
ScePvfU32 width
Definition: pvf.h:156
ScePvfPointer(* ScePvfFontChcheFindFunc)(ScePvfPointer chcheInstance, ScePvfU32 hashValue, ScePvfPointer key, ScePvfBool *result)
Definition: pvf.h:165
ScePvfError scePvfGetCharGlyphImage(ScePvfFontId fontID, ScePvfCharCode charCode, ScePvfUserImageBufferRec *imageBuffer)
ScePvfS32 yOffset64
Definition: pvf.h:286
ScePvfU8 fileName[SCE_PVF_FONTFILENAME_LENGTH]
Definition: pvf.h:218
ScePvfFloat32 weight
Definition: pvf.h:209
ScePvfS32(* ScePvfFontChcheReadFromCacheFunc)(ScePvfPointer cacheInstance, ScePvfPointer cacheSlot, ScePvfPointer data0)
Definition: pvf.h:174
ScePvfFontChcheWriteToCacheFunc write1ToCacheFunc
Definition: pvf.h:184
ScePvfFontId scePvfOpen(ScePvfLibId libID, ScePvfFontIndex fontIndex, ScePvfU32 mode, ScePvfError *errorCode)
signed int ScePvfS32
Definition: pvf.h:122
ScePvfRegionCode
Definition: pvf.h:77
ScePvfU32 numChars
Definition: pvf.h:278
ScePvfError scePvfGetCharInfo(ScePvfFontId fontID, ScePvfCharCode charCode, ScePvfCharInfo *charInfo)
ScePvfFloat32 scePvfPixelToPointH(ScePvfLibId libID, ScePvfFloat32 pixel, ScePvfError *errorCode)
ScePvfU16 familyCode
Definition: pvf.h:210
int keyValue1
Definition: pvf.h:304
unsigned short ScePvfU16
Definition: pvf.h:124
ScePvfPointer(* ScePvfAllocFunc)(ScePvfPointer userData, ScePvfU32 size)
Definition: pvf.h:190
ScePvfU32 maxNumFonts
Definition: pvf.h:199
ScePvfS32 verticalBearingY64
Definition: pvf.h:243
ScePvfFloat32 ascender
Definition: pvf.h:264
ScePvfFloat32 horizontalAdvance
Definition: pvf.h:270
ScePvfError scePvfSetEmboldenRate(ScePvfFontId fontID, ScePvfFloat32 emboldenRate)
void * ScePvfFontId
Definition: pvf.h:134
ScePvfU16 languageCode
Definition: pvf.h:213
ScePvfCacheSystemInterface * cache
Definition: pvf.h:200
ScePvfU32 width64
Definition: pvf.h:236
ScePvfFKerningInfo fKerningInfo
Definition: pvf.h:298
ScePvfU8 fontName[SCE_PVF_FONTNAME_LENGTH]
Definition: pvf.h:216
ScePvfError scePvfGetFontInfoByIndexNumber(ScePvfLibId libID, ScePvfFontStyleInfo *fontStyleInfo, ScePvfFontIndex fontIndex)
ScePvfFontChcheReadFromCacheFunc read1FromCacheFunc
Definition: pvf.h:186
unsigned int ScePvfU32
Definition: pvf.h:120
ScePvfFGlyphMetricsInfo maxFGlyphMetrics
Definition: pvf.h:277
float keyValue2
Definition: pvf.h:305
ScePvfU16 ScePvfCharCode
Definition: pvf.h:144
void * ScePvfPointer
Definition: pvf.h:136
ScePvfU32 bitmapWidth
Definition: pvf.h:250
ScePvfU8 styleName[SCE_PVF_STYLENAME_LENGTH]
Definition: pvf.h:217
ScePvfS32 bitmapTop
Definition: pvf.h:254
float ScePvfFloat32
Definition: pvf.h:128
ScePvfU32 bitmapHeight
Definition: pvf.h:251
int keyValue0
Definition: pvf.h:303
ScePvfError scePvfFlush(ScePvfFontId fontID)
ScePvfErrorCode
Definition: pvf.h:20
ScePvfBoolValue
Definition: pvf.h:95
ScePvfU32 ScePvfBool
Definition: pvf.h:130
ScePvfError scePvfGetFontInfo(ScePvfFontId fontID, ScePvfFontInfo *fontInfo)
ScePvfFloat32 yOffset
Definition: pvf.h:292
ScePvfIKerningInfo iKerningInfo
Definition: pvf.h:297
unsigned char ScePvfU8
Definition: pvf.h:126
#define SCE_PVF_STYLENAME_LENGTH
Definition: pvf.h:107
ScePvfPointer * cacheInstance
Definition: pvf.h:178
ScePvfFloat32 verticalAdvance
Definition: pvf.h:271
ScePvfFontChcheUnlockFunc unlockFunc
Definition: pvf.h:180
ScePvfS32 verticalAdvance64
Definition: pvf.h:245
ScePvfU32 pixelFormat
Definition: pvf.h:225
ScePvfS32 yPos64
Definition: pvf.h:227
float keyValue5
Definition: pvf.h:308
ScePvfS32(* ScePvfFontChcheWriteToCacheFunc)(ScePvfPointer cacheInstance, ScePvfPointer cacheSlot, ScePvfPointer data0, ScePvfInt size)
Definition: pvf.h:171
ScePvfError scePvfGetKerningInfo(ScePvfFontId fontID, ScePvfCharCode leftCharCode, ScePvfCharCode rightCharCode, ScePvfKerningInfo *pKerningInfo)
ScePvfFloat32 horizontalBearingX
Definition: pvf.h:266
ScePvfFamilyCode
Definition: pvf.h:38
ScePvfU16 height
Definition: pvf.h:151
ScePvfFontIndex scePvfFindFont(ScePvfLibId libID, ScePvfFontStyleInfo *fontStyleInfo, ScePvfError *errorCode)
ScePvfFontChcheReadFromCacheFunc read0FromCacheFunc
Definition: pvf.h:185
ScePvfFontIndex scePvfFindOptimumFont(ScePvfLibId libID, ScePvfFontStyleInfo *fontStyleInfo, ScePvfError *errorCode)
ScePvfS32(* ScePvfFontChcheUnlockFunc)(ScePvfPointer cacheInstance)
Definition: pvf.h:163
ScePvfS32 horizontalBearingX64
Definition: pvf.h:240
ScePvfError scePvfGetCharGlyphImage_Clip(ScePvfFontId fontID, ScePvfCharCode charCode, ScePvfUserImageBufferRec *imageBuffer, ScePvfS32 clipX, ScePvfS32 clipY, ScePvfU32 clipWidth, ScePvfU32 clipHeight)
ScePvfFloat32 verticalBearingX
Definition: pvf.h:268
ScePvfS32 descender64
Definition: pvf.h:239
ScePvfU8 reserved0[2]
Definition: pvf.h:256
ScePvfSubstyle
Definition: pvf.h:100
ScePvfFontStyleInfo fontStyleInfo
Definition: pvf.h:279
ScePvfU8 reserved[4]
Definition: pvf.h:280
ScePvfFontId scePvfOpenUserMemoryWithSubfontIndex(ScePvfLibId libID, ScePvfPointer addr, ScePvfU32 size, ScePvfU32 subFontIndex, ScePvfError *errorCode)
ScePvfLanguageCode
Definition: pvf.h:68
float keyValue3
Definition: pvf.h:306
ScePvfIGlyphMetricsInfo maxIGlyphMetrics
Definition: pvf.h:276
ScePvfS32 bitmapLeft
Definition: pvf.h:253
ScePvfS32(* ScePvfFontCacheLockFunc)(ScePvfPointer cacheInstance)
Definition: pvf.h:161
ScePvfS32 ScePvfError
Definition: pvf.h:140
void * ScePvfHandle
Definition: pvf.h:138
ScePvfFloat32 scePvfPointToPixelH(ScePvfLibId libID, ScePvfFloat32 point, ScePvfError *errorCode)
ScePvfU16 reserved1
Definition: pvf.h:257
ScePvfFontChcheFindFunc findFunc
Definition: pvf.h:181
ScePvfError scePvfSetAltCharacterCode(ScePvfLibId libID, ScePvfCharCode charCode)
ScePvfFloat32 horizontalBearingY
Definition: pvf.h:267
ScePvfFontChcheWriteKeyValueToCacheFunc writeKeyValueToCacheFunc
Definition: pvf.h:182
ScePvfInt scePvfGetNumFontList(ScePvfLibId libID, ScePvfError *errorCode)
void * ScePvfLibId
Definition: pvf.h:132
ScePvfU16 regionCode
Definition: pvf.h:214
ScePvfReallocFunc reallocFunc
Definition: pvf.h:203
ScePvfFloat32 scePvfPixelToPointV(ScePvfLibId libID, ScePvfFloat32 pixel, ScePvfError *errorCode)
float keyValue7
Definition: pvf.h:310
ScePvfIGlyphMetricsInfo glyphMetrics
Definition: pvf.h:255
ScePvfError scePvfSetSkewValue(ScePvfFontId fontID, ScePvfFloat32 angleX, ScePvfFloat32 angleY)
ScePvfFloat32 height
Definition: pvf.h:263
ScePvfU16 countryCode
Definition: pvf.h:215
ScePvfU16 reserved
Definition: pvf.h:230
@ SCE_PVF_USERIMAGE_DIRECT4_L
Definition: pvf.h:64
@ SCE_PVF_USERIMAGE_DIRECT8
Definition: pvf.h:65
@ SCE_PVF_MEMORYBASEDSTREAM
Definition: pvf.h:112
@ SCE_PVF_FILEBASEDSTREAM
Definition: pvf.h:111
@ SCE_PVF_STYLE_EB
Definition: pvf.h:59
@ SCE_PVF_STYLE_DB
Definition: pvf.h:57
@ SCE_PVF_STYLE_BLACK_OBLIQUE
Definition: pvf.h:54
@ SCE_PVF_STYLE_UB
Definition: pvf.h:60
@ SCE_PVF_STYLE_NARROW_OBLIQUE
Definition: pvf.h:50
@ SCE_PVF_STYLE_NARROW
Definition: pvf.h:49
@ SCE_PVF_STYLE_BOLD_OBLIQUE
Definition: pvf.h:52
@ SCE_PVF_STYLE_REGULAR
Definition: pvf.h:47
@ SCE_PVF_STYLE_B
Definition: pvf.h:58
@ SCE_PVF_STYLE_BLACK
Definition: pvf.h:53
@ SCE_PVF_STYLE_L
Definition: pvf.h:55
@ SCE_PVF_DEFAULT_STYLE_CODE
Definition: pvf.h:46
@ SCE_PVF_STYLE_BOLD
Definition: pvf.h:51
@ SCE_PVF_STYLE_OBLIQUE
Definition: pvf.h:48
@ SCE_PVF_STYLE_M
Definition: pvf.h:56
@ SCE_PVF_COUNTRY_KOREA
Definition: pvf.h:92
@ SCE_PVF_GENERIC_COUNTRY_CODE
Definition: pvf.h:89
@ SCE_PVF_COUNTRY_JAPAN
Definition: pvf.h:90
@ SCE_PVF_COUNTRY_USA
Definition: pvf.h:91
@ SCE_PVF_REGION_006
Definition: pvf.h:84
@ SCE_PVF_REGION_003
Definition: pvf.h:81
@ SCE_PVF_REGION_002
Definition: pvf.h:80
@ SCE_PVF_GENERIC_REGION_CODE
Definition: pvf.h:78
@ SCE_PVF_REGION_004
Definition: pvf.h:82
@ SCE_PVF_REGION_001
Definition: pvf.h:79
@ SCE_PVF_REGION_005
Definition: pvf.h:83
@ SCE_PVF_REGION_007
Definition: pvf.h:85
@ SCE_PVF_ERROR_ILLEGALVERSION
Definition: pvf.h:30
@ SCE_PVF_ERROR_FILECLOSE
Definition: pvf.h:26
@ SCE_PVF_ERROR_UNKNOWN
Definition: pvf.h:35
@ SCE_PVF_ERROR_FILESEEK
Definition: pvf.h:28
@ SCE_PVF_ERROR_NOMEMORY
Definition: pvf.h:21
@ SCE_PVF_ERROR_EXPIRED
Definition: pvf.h:32
@ SCE_PVF_ERROR_DATAINCONSISTENT
Definition: pvf.h:31
@ SCE_PVF_ERROR_NOSUPPORT
Definition: pvf.h:33
@ SCE_PVF_ERROR_NOGLYPH
Definition: pvf.h:34
@ SCE_PVF_ERROR_NOFILE
Definition: pvf.h:24
@ SCE_PVF_ERROR_ARG
Definition: pvf.h:23
@ SCE_PVF_ERROR_TOOMANYOPENED
Definition: pvf.h:29
@ SCE_PVF_ERROR_LIBID
Definition: pvf.h:22
@ SCE_PVF_ERROR_FILEREAD
Definition: pvf.h:27
@ SCE_PVF_ERROR_FILEOPEN
Definition: pvf.h:25
@ SCE_PVF_FALSE
Definition: pvf.h:96
@ SCE_PVF_TRUE
Definition: pvf.h:97
@ SCE_PVF_DEFAULT_FAMILY_CODE
Definition: pvf.h:39
@ SCE_PVF_FAMILY_SANSERIF
Definition: pvf.h:40
@ SCE_PVF_FAMILY_ROUNDED
Definition: pvf.h:42
@ SCE_PVF_FAMILY_SERIF
Definition: pvf.h:41
@ SCE_PVF_SUBSTYLE_VERTICALLAYOUT
Definition: pvf.h:101
@ SCE_PVF_SUBSTYLE_PSEUDO_SLANT
Definition: pvf.h:103
@ SCE_PVF_SUBSTYLE_PSEUDO_BOLD
Definition: pvf.h:102
@ SCE_PVF_DEFAULT_LANGUAGE_CODE
Definition: pvf.h:69
@ SCE_PVF_LANGUAGE_CJK
Definition: pvf.h:74
@ SCE_PVF_LANGUAGE_K
Definition: pvf.h:72
@ SCE_PVF_LANGUAGE_J
Definition: pvf.h:70
@ SCE_PVF_LANGUAGE_C
Definition: pvf.h:73
@ SCE_PVF_LANGUAGE_LATIN
Definition: pvf.h:71