1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

add libpoppler-private-dev to travis

This commit is contained in:
Lu Wang 2014-11-16 22:52:40 +08:00
parent 92413fdec3
commit bd891e7eb0
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ before_install:
- sudo add-apt-repository ppa:fontforge/fontforge --yes - sudo add-apt-repository ppa:fontforge/fontforge --yes
- sudo add-apt-repository ppa:coolwanglu/pdf2htmlex --yes - sudo add-apt-repository ppa:coolwanglu/pdf2htmlex --yes
- sudo apt-get update -qq - sudo apt-get update -qq
- sudo apt-get install -qq libpoppler-dev libspiro-dev libcairo-dev libpango1.0-dev libfreetype6-dev libltdl-dev libfontforge-dev python-imaging wkhtmltopdf - sudo apt-get install -qq libpoppler-dev libpoppler-private-dev libspiro-dev libcairo-dev libpango1.0-dev libfreetype6-dev libltdl-dev libfontforge-dev python-imaging wkhtmltopdf
before_script: before_script:
- cmake -DENABLE_SVG=ON . - cmake -DENABLE_SVG=ON .
script: script:

View File

@ -24,7 +24,7 @@ Learn more about [who](https://github.com/coolwanglu/pdf2htmlEX/wiki/Use-Cases)
* Native HTML text with precise font and location. * Native HTML text with precise font and location.
* Flexible output: all-in-one HTML or on demand page loading (needs JavaScript). * Flexible output: all-in-one HTML or on demand page loading (needs JavaScript).
* Moderate file size, sometimes even smaller than PDF. * Moderate file size, sometimes even smaller than PDF.
* Support for links, outlines (bookmarks), printing, SVG background, Type 3 fonts and [more...](https://github.com/coolwanglu/pdf2htmlEX/wiki/Feature-List) * Supporting links, outlines (bookmarks), printing, SVG background, Type 3 fonts and [more...](https://github.com/coolwanglu/pdf2htmlEX/wiki/Feature-List)
[Compare to others](https://github.com/coolwanglu/pdf2htmlEX/wiki/Comparison) [Compare to others](https://github.com/coolwanglu/pdf2htmlEX/wiki/Comparison)

View File

@ -11,7 +11,7 @@ class T(Common, unittest.TestCase):
def run_test_case(self, input_file, expected_output_files, args=[]): def run_test_case(self, input_file, expected_output_files, args=[]):
args = list(args) args = list(args)
args.insert(0, os.path.join(self.TEST_DIR, 'test_naming', input_file)) args.insert(0, os.path.join(self.TEST_DIR, 'test_naming', input_file))
self.assertItemsEquals(self.run_pdf2htmlEX(args)['output_files'], expected_output_files) self.assertItemsEqual(self.run_pdf2htmlEX(args)['output_files'], expected_output_files)
def test_generate_single_html_default_name_single_page_pdf(self): def test_generate_single_html_default_name_single_page_pdf(self):
self.run_test_case('1-page.pdf', ['1-page.html']) self.run_test_case('1-page.pdf', ['1-page.html'])