summaryrefslogtreecommitdiff
path: root/src/blucat/font.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/blucat/font.cpp')
-rw-r--r--src/blucat/font.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blucat/font.cpp b/src/blucat/font.cpp
index 4195b57..603dda1 100644
--- a/src/blucat/font.cpp
+++ b/src/blucat/font.cpp
@@ -16,7 +16,7 @@
#include "font.hpp"
-#include "../core.hpp"
+#include "core.hpp"
namespace BluCat
{
@@ -24,7 +24,7 @@ namespace BluCat
Font::Font(const char* font_path, int font_size)
{
FT_Error error;
- error = FT_New_Face(cg_core.font_library, font_path, 0, &this->face);
+ error = FT_New_Face(core.font_library, font_path, 0, &this->face);
if(error == FT_Err_Unknown_File_Format) throw std::invalid_argument(
"The font file could be opened and read, but it appears that its font "
"format is unsupported.");