-
x0, y0, x1, y1, word, font, size, color, flag ... I tried my luck with using the get_text('dict') output but couldnt get my x0 and x1 of the bbox correct. Is there something implemented Im missing? |
Beta Was this translation helpful? Give feedback.
Answered by
JorjMcKie
Apr 12, 2023
Replies: 1 comment 5 replies
-
This a "Discussions" item, so first move it to there. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I doubt that very much: "bold." and "bold-italic" are returned as words with one single bbox. The first word has a non-bold
.
appended which therefore will not be in the same span as the first part. And constructs like "North Atlantic Treaty Organisation" are by no means uncommon.