Commit 088487a
committed
Update test_3780 to avoid tripping on non-text blocks.
The test extracts text and images from a page. It drops any images
that are not fully included within the mediabox. Accordingly the
test never sees any images, so works fine.
In a new MuPDF commit, when the CLIP flag is sent, images are
restricted to the clip region - i.e. they always fit within the
mediabox, hence we now have images appearing in the list.
The fix is to skip any non-text blocks in the test.1 parent fdc472b commit 088487a
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
| 210 | + | |
209 | 211 | | |
210 | 212 | | |
211 | 213 | | |
| |||
0 commit comments