Remove debug output as build pipeline does not have pango >=v1.5.0

This commit is contained in:
2023-11-21 21:14:27 +01:00
parent 4a59b50839
commit 5f5c0f0f97

View File

@@ -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<int>(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);