mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Added support for non-colored emoji fonts.
This commit is contained in:
@@ -2068,6 +2068,8 @@ void App::init( const std::string& file, const Float& pidelDensity ) {
|
||||
if ( mFontMono )
|
||||
mFontMono->setBoldAdvanceSameAsRegular( true );
|
||||
|
||||
loadFont( "NotoEmoji-Regular", "assets/fonts/NotoEmoji-Regular.ttf" );
|
||||
|
||||
#if EE_PLATFORM != EE_PLATFORM_EMSCRIPTEN
|
||||
loadFont( "NotoColorEmoji", "assets/fonts/NotoColorEmoji.ttf" );
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user