mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix results of sceFontGetFontInfo() for user fonts.
This commit is contained in:
parent
131cbc073c
commit
0e39b6fe36
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue