Skip to content

Commit

Permalink
Try another workaround for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson authored and agiudiceandrea committed Aug 29, 2024
1 parent 8b72053 commit e9ce5ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/textrenderer/qgsfontmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1941,7 +1941,7 @@ bool QgsFontManager::installFontsFromData( const QByteArray &data, QString &erro
QString sourcePath = tempFile.fileName();

//try to install the data directly as a font
int id = QFontDatabase::addApplicationFont( sourcePath );
int id = QFontDatabase::addApplicationFontFromData( data );
if ( id != -1 )
{
// successfully loaded data as a font
Expand Down

0 comments on commit e9ce5ff

Please sign in to comment.