Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Research tolerance when looking up font information for rects #23

Open
jerbob92 opened this issue Aug 20, 2021 · 0 comments
Open

Research tolerance when looking up font information for rects #23

jerbob92 opened this issue Aug 20, 2021 · 0 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@jerbob92
Copy link
Contributor

When we are returning font information for rectangles returned by pdfium (added in #22), we have to lookup the first char of the rectangle to get the font information. The lookup of the first char has a tolerance to find the char (and we also need this tolerance to find it for every rectangle). Currently the tolerance is set to 5 (points), we have to research a little whether that is a good tolerance. Perhaps we could also start with lower and up the tolerance until we find something.

@jerbob92 jerbob92 added help wanted Extra attention is needed question Further information is requested labels Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant