Added: tests for extracting tests from pdfs with Type3 fonts (#205)
parent
373c6e7b97
commit
733ddf7e57
|
@ -20,6 +20,17 @@ jo.pdf:
|
||||||
(File generated from jo.tex by LaTeX and dvi2pdfm)
|
(File generated from jo.tex by LaTeX and dvi2pdfm)
|
||||||
|
|
||||||
--
|
--
|
||||||
|
contrib/matplotlib.pdf
|
||||||
|
Copyright 2018, James R Barlow
|
||||||
|
Example file created in matplotlib to add a Type3 font to the samples
|
||||||
|
Released under the terms of the "LICENSE" file
|
||||||
|
|
||||||
|
--
|
||||||
|
nonfree/cmp_itext_logo.pdf
|
||||||
|
Bruno Lowagie
|
||||||
|
"iText Logo - Type 3 font"
|
||||||
|
http://gitlab.itextsupport.com/itext/sandbox/raw/master/cmpfiles/fonts/cmp_itext_logo.pdf
|
||||||
|
|
||||||
nonfree/dmca.pdf:
|
nonfree/dmca.pdf:
|
||||||
U.S. Copyright Office
|
U.S. Copyright Office
|
||||||
The Digital Millenium Copyright Act
|
The Digital Millenium Copyright Act
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -112,5 +112,14 @@ class TestDumpImages(object):
|
||||||
assert image_files[0].endswith('.jb2')
|
assert image_files[0].endswith('.jb2')
|
||||||
|
|
||||||
|
|
||||||
|
def test_contrib_matplotlib(self):
|
||||||
|
"""Test a pdf with Type3 font"""
|
||||||
|
run('../samples/contrib/', 'matplotlib')
|
||||||
|
|
||||||
|
def test_nonfree_cmp_itext_logo(self):
|
||||||
|
"""Test a pdf with Type3 font"""
|
||||||
|
run('../samples/nonfree/', 'cmp_itext_logo')
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
nose.runmodule()
|
nose.runmodule()
|
||||||
|
|
Loading…
Reference in New Issue