Skip to content

Conversation

@stweil
Copy link
Member

@stweil stweil commented May 20, 2024

No description provided.

@stweil stweil merged commit 5d5a633 into tesseract-ocr:main May 20, 2024
@stweil stweil deleted the warnings branch May 20, 2024 10:50
int len = it.get_utf8(tmp);
tmp[len] = '\0';
tlog(2, "'%s' (U+%x) not covered by font\n", tmp, *it);
#if PANGO_VERSION_CHECK(1, 52, 0)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/GNOME/pango/blob/1.44/NEWS#L5

Overview of changes in .44.0

...

  • Make PangoCoverage a GObject

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for looking this up. So the check could be modified to check for 1.44.0. Since 1.52.0 pango_coverage_unref is marked as deprecated and causes a compiler warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants