text: remove out font load error logs

This commit is contained in:
nakst 2022-02-09 19:51:35 +00:00
parent ecb36d5e21
commit b9f2ea02c8
1 changed files with 3 additions and 3 deletions

View File

@ -862,7 +862,7 @@ Font FontGet(EsFont key) {
}
if (!file) {
EsPrint("Could not load font (f%d/w%d/%X).\n", key.family, key.weight, key.flags);
// EsPrint("Could not load font (f%d/w%d/%X).\n", key.family, key.weight, key.flags);
key.family = fontManagement.fallback;
return FontGet(key);
}
@ -873,7 +873,7 @@ Font FontGet(EsFont key) {
void *data = EsFileStoreMap(file, &size, ES_MEMORY_MAP_OBJECT_READ_ONLY);
if (!data) {
EsPrint("Could not load font (f%d/w%d/%X).\n", key.family, key.weight, key.flags);
// EsPrint("Could not load font (f%d/w%d/%X).\n", key.family, key.weight, key.flags);
key.family = fontManagement.fallback;
return FontGet(key);
}
@ -881,7 +881,7 @@ Font FontGet(EsFont key) {
Font font = {};
if (!FontLoad(&font, data, size)) {
EsPrint("Could not load font (f%d/w%d/%X).\n", key.family, key.weight, key.flags);
// EsPrint("Could not load font (f%d/w%d/%X).\n", key.family, key.weight, key.flags);
key.family = fontManagement.fallback;
return FontGet(key);
}