Fix #10993: Crash log when font caches not initialised (#11024)

See also: #10836
This commit is contained in:
Jonathan G Rennison
2023-06-17 17:56:27 +01:00
committed by GitHub
parent 1d902a97ce
commit a6b625eea3
3 changed files with 21 additions and 4 deletions

View File

@@ -147,6 +147,8 @@ public:
return FontCache::caches[fs];
}
static std::string GetName(FontSize fs);
/**
* Check whether the font cache has a parent.
*/