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