Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the "write a new annotation, save the pdf and check that the text content is correct" unit-test (PR 16559 follow-up) #16835

Commits on Aug 15, 2023

  1. Improve the "write a new annotation, save the pdf and check that the …

    …text content is correct" unit-test (PR 16559 follow-up)
    
    Currently this unit-test will pass just fine if compression is disabled, e.g. by commenting out the relevant code in the `src/core/writer.js` file.
    While we don't have a simple way of *directly* checking that the Annotation text-content is compressed, we can however use the resulting file-size as a fairly good proxy. (Note that if compression is disabled the file-size is more than doubled.)
    Snuffleupagus committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    29b2050 View commit details
    Browse the repository at this point in the history