diff --git a/src/graphics/Image.cpp b/src/graphics/Image.cpp index fe608f9..f9f1425 100644 --- a/src/graphics/Image.cpp +++ b/src/graphics/Image.cpp @@ -79,10 +79,6 @@ void Image::createLabel(const std::string& str) { pango_context_load_font(pangoCtx, pangoFontDesc); pango_layout_set_text(pangoLyt, str.c_str(), static_cast(str.length())); - // Debug only - GError* gerr{nullptr}; - pango_layout_write_to_file(pangoLyt, PANGO_LAYOUT_SERIALIZE_DEFAULT, "hello.txt", &gerr); - int width = 0, height = 0; pango_layout_get_size(pangoLyt, &width, &height);