From: Ryan Pavlik <ryan.pavlik@collabora.com>
Date: Thu, 12 May 2022 16:48:46 -0500
Subject: Use Unifont from system

Forwarded: not-needed
---
 res/CMakeLists.txt | 1 -
 src/resource.cpp   | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/res/CMakeLists.txt b/res/CMakeLists.txt
index 78d2bd2..64fc439 100644
--- a/res/CMakeLists.txt
+++ b/res/CMakeLists.txt
@@ -270,7 +270,6 @@ add_resources(
     locales/tr_TR.po
     locales/ru_RU.po
     locales/zh_CN.po
-    fonts/unifont.hex.gz
     fonts/private/0-check-false.png
     fonts/private/1-check-true.png
     fonts/private/2-radio-false.png
diff --git a/src/resource.cpp b/src/resource.cpp
index d3fa4ca..f687894 100644
--- a/src/resource.cpp
+++ b/src/resource.cpp
@@ -669,7 +669,7 @@ size_t BitmapFont::GetWidth(const std::string &str) {
 }
 
 BitmapFont BitmapFont::Create() {
-    BitmapFont Font = BitmapFont::From(LoadStringFromGzip("fonts/unifont.hex.gz"));
+    BitmapFont Font = BitmapFont::From(LoadString("fonts/unifont.hex"));
     // Unifont doesn't have a glyph for U+0020.
     Font.AddGlyph(0x0020, Pixmap::Create(Pixmap::Format::RGB, 8, 16));
     Font.AddGlyph(0xE000, LoadPng("fonts/private/0-check-false.png"));
