mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-04 22:15:33 +02:00
Merge pull request #61 from Splendide-Imaginarius/mkxp-z-font-log
Log missing fonts
This commit is contained in:
commit
a5b05cd1f0
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