mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 11:54:30 +01:00
Fix results of sceFontGetFontInfo() for user fonts.
This commit is contained in:
1 parent
131cbc073c
commit
0e39b6fe36
1 file changed
+1
@@ -218,6 +218,7 @@ public:
|
||||
private:
|
||||
void Init(const u8 *data, size_t dataSize) {
|
||||
valid_ = pgf_.ReadPtr(data, dataSize);
|
||||
memset(&style_, 0, sizeof(style_));
|
||||
style_.fontH = (float)pgf_.header.hSize / 64.0f;
|
||||
style_.fontV = (float)pgf_.header.vSize / 64.0f;
|
||||
style_.fontHRes = (float)pgf_.header.hResolution / 64.0f;
|
||||
|
||||
Reference in new issue
Block a user