diff options
Diffstat (limited to 'graphics/fonts')
-rw-r--r-- | graphics/fonts/bdf.cpp | 2 |
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); } |