Old and new length computation must be the same.
()
| 39 | |
| 40 | |
| 41 | def test_font2(): |
| 42 | """Old and new length computation must be the same.""" |
| 43 | font = pymupdf.Font("helv") |
| 44 | text = "PyMuPDF" |
| 45 | assert font.text_length(text) == pymupdf.get_text_length(text) |
| 46 | |
| 47 | |
| 48 | def test_fontname(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…