From 0c02511f6a64766174cb0db3beb4cc159d3efdf7 Mon Sep 17 00:00:00 2001 From: heavydemon21 Date: Tue, 17 Dec 2024 13:36:17 +0100 Subject: merging wouter --- src/crepe/facade/Font.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/crepe/facade/Font.cpp') diff --git a/src/crepe/facade/Font.cpp b/src/crepe/facade/Font.cpp index 51e9690..9c1a800 100644 --- a/src/crepe/facade/Font.cpp +++ b/src/crepe/facade/Font.cpp @@ -2,8 +2,6 @@ #include "../api/Asset.h" #include "../api/Config.h" -#include "util/Log.h" -#include #include #include "Font.h" @@ -16,10 +14,6 @@ Font::Font(const Asset & src, Mediator & mediator) Config & config = Config::get_instance(); const std::string FONT_PATH = src.get_path(); - this->path = FONT_PATH; - - cout << this->path << endl; - /* TTF_Font * loaded_font = TTF_OpenFont(FONT_PATH.c_str(), config.font.size); if (loaded_font == NULL) { throw runtime_error(format("Font: {} (path: {})", TTF_GetError(), FONT_PATH)); @@ -29,6 +23,3 @@ Font::Font(const Asset & src, Mediator & mediator) TTF_Font * Font::get_font() const { return this->font.get(); } -const string & Font::get_path() const noexcept{ - return this->path; -} -- cgit v1.2.3