mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 23:00:42 +00:00
Preload entire font file if the font file isn't efficiently seekable, which should fix very slow startup times on Android.
This commit is contained in:
@@ -26,6 +26,8 @@ namespace PortabilityLayer
|
||||
virtual RenderedFont *LoadCachedRenderedFont(int cacheID, int size, bool aa, int flags) const = 0;
|
||||
virtual void SaveCachedRenderedFont(const RenderedFont *rfont, int cacheID, int size, bool aa, int flags) const = 0;
|
||||
|
||||
virtual void PurgeCache() = 0;
|
||||
|
||||
static FontManager *GetInstance();
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user