From 5f5c0f0f97b9cf05983cd0f56664720b4446bb3c Mon Sep 17 00:00:00 2001 From: Moritz Martinius Date: Tue, 21 Nov 2023 21:14:27 +0100 Subject: [PATCH] Remove debug output as build pipeline does not have pango >=v1.5.0 --- src/graphics/Image.cpp | 4 ---- 1 file changed, 4 deletions(-) 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);