Remove debug output as build pipeline does not have pango >=v1.5.0
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user