aboutsummaryrefslogtreecommitdiff
path: root/graphics/fonts
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/fonts')
-rw-r--r--graphics/fonts/bdf.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/fonts/bdf.cpp b/graphics/fonts/bdf.cpp
index 00e98316d6..71911d2ac4 100644
--- a/graphics/fonts/bdf.cpp
+++ b/graphics/fonts/bdf.cpp
@@ -694,6 +694,8 @@ BdfFont *BdfFont::loadFromCache(Common::SeekableReadStream &stream) {
data.bitmaps = bitmaps;
data.advances = advances;
data.boxes = boxes;
+ data.familyName = nullptr;
+ data.slant = nullptr;
return new BdfFont(data, DisposeAfterUse::YES);
}