mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-04 05:55:31 +02:00
parent
db87204e71
commit
27b78eed5a
1 changed files with 13 additions and 0 deletions
|
@ -28,6 +28,8 @@
|
|||
#include "util.h"
|
||||
#include "config.h"
|
||||
|
||||
#include "debugwriter.h"
|
||||
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
|
@ -252,6 +254,17 @@ void pickExistingFontName(const std::vector<std::string> &names,
|
|||
out = names[i];
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (i == 0)
|
||||
{
|
||||
Debug() << "Primary font not found:" << names[i];
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug() << "Fallback font not found:" << names[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
out = "";
|
||||
|
|
Loading…
Add table
Reference in a new issue