ADded DroidSansFallbackFull as fallback font in ecode and eterm.

CheckBox and RadioButton now display hover effect.
Added alias "lg" for layout-gravity.
Node: Added addMouseClickListener and hasChild helper functions.
UICodeEditor: Fixed a minor bug that provoked to scroll the view when resizing the widget.
UITabWidget: minor bug fix.
ecode: Fixed a bug that caused to save a monospace font when the user did not accept to change it.
Added debug options to the widget inspector.
Added i18n to all strings defined in XML files/strings.
Added "Rename Session" button in the Terminal menu.
This commit is contained in:
Martín Lucas Golini
2022-10-16 03:23:01 -03:00
parent 54a177bc8e
commit 4b6ce692b9
21 changed files with 221 additions and 99 deletions

View File

@@ -214,7 +214,9 @@ EE_MAIN_FUNC int main( int argc, char* argv[] ) {
->loadFromFile( resPath + "fonts/NotoEmoji-Regular.ttf" );
}
std::string fallbackFontPath( fallbackFontPathF.Get() );
std::string fallbackFontPath( fallbackFontPathF
? fallbackFontPathF.Get()
: resPath + "fonts/DroidSansFallbackFull.ttf" );
if ( FileSystem::fileExists( fallbackFontPath ) ) {
FontTrueType* fallbackFont = FontTrueType::New( "fallback-font" );
if ( fallbackFont->loadFromFile( fallbackFontPath ) )