Skip to content

Commit

Permalink
BUG: Fix incorrect tm_matrix in call to visitor_text #2060
Browse files Browse the repository at this point in the history
Supply the old tm_matrix when flushing out `text` to the `visitor_text`
in `crlf_space_check`. The new one might already be changed and
unrelated to the current text.

Also add a test for the tm_matrix and cm_matrix that are given to
`visitor_text` when extracting text.
The test computes the coordinates of three letters in different
parts of a test page based on the matrices and checks, if they are
roughly where they should be.

Fixes #2059
  • Loading branch information
troethe committed Aug 13, 2023
1 parent 2e42262 commit b7544be
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit b7544be

Please sign in to comment.