mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-10-01 02:30:25 +03:00
Allow multiple fallback fonts.
Reduced allocations and improved logs in LSP Plugin. Added String::split for std::string_view. Added support for std::string_view in Log.
This commit is contained in:
@@ -256,7 +256,7 @@ EE_MAIN_FUNC int main( int argc, char* argv[] ) {
|
||||
if ( FileSystem::fileExists( fallbackFontPath ) ) {
|
||||
FontTrueType* fallbackFont = FontTrueType::New( "fallback-font" );
|
||||
if ( fallbackFont->loadFromFile( fallbackFontPath ) )
|
||||
FontManager::instance()->setFallbackFont( fallbackFont );
|
||||
FontManager::instance()->addFallbackFont( fallbackFont );
|
||||
}
|
||||
|
||||
Float realMaxFPS = maxFPS.Get() ? maxFPS.Get() : currentDisplay->getRefreshRate();
|
||||
|
||||
Reference in New Issue
Block a user