mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
1 parent
5431bb35fc
commit
bd84c7bf7d
1 file changed
+3
-4
@@ -9,8 +9,7 @@
|
||||
#include <fontconfig/fontconfig.h>
|
||||
#endif
|
||||
|
||||
// SDL2_ttf's TTF_Font is a typedef of _TTF_Font.
|
||||
struct _TTF_Font;
|
||||
struct TTF_Font;
|
||||
|
||||
class TextDrawerSDL : public TextDrawer {
|
||||
public:
|
||||
@@ -32,9 +31,9 @@ private:
|
||||
uint32_t CheckMissingGlyph(std::string_view text);
|
||||
int FindFallbackFonts(uint32_t missingGlyph, int ptSize);
|
||||
|
||||
std::map<uint32_t, _TTF_Font *> fontMap_;
|
||||
std::map<uint32_t, TTF_Font *> fontMap_;
|
||||
|
||||
std::vector<_TTF_Font *> fallbackFonts_;
|
||||
std::vector<TTF_Font *> fallbackFonts_;
|
||||
std::vector<std::pair<std::string, int>> fallbackFontPaths_; // path and font face index
|
||||
|
||||
std::map<int, int> glyphFallbackFontIndex_;
|
||||
|
||||
Reference in new issue
Block a user