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

Add (basic) support for transfer functions to Images (issue 6931, bug 1149713) #12219

Merged
merged 2 commits into from
Aug 17, 2020

Commits on Aug 17, 2020

  1. Don't cache /ExtGState entries that contain fonts (PR 12087 follow-up)

    I completely overlooked the fact that `PartialEvaluator.handleSetFont` also updates the current `state`, which means that currently we're not actually handling font data correctly for cached /ExtGState data. (Thankfully, using /ExtGState to set a font is somewhat rare in practice.)
    Snuffleupagus committed Aug 17, 2020
    Configuration menu
    Copy the full SHA
    9d3e046 View commit details
    Browse the repository at this point in the history
  2. Add (basic) support for transfer functions to Images (issue 6931, bug…

    … 1149713)
    
    This is *similar* to the existing transfer function support for SMasks, but extended to simple image data.
    Please note that the extra amount of data now being sent to the worker-thread, for affected /ExtGState entries, is limited to *at most* 4 `Uint8Array`s each with a length of 256 elements.
    
    Refer to https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/PDF32000_2008.pdf#G9.1658137 for additional details.
    Snuffleupagus committed Aug 17, 2020
    Configuration menu
    Copy the full SHA
    1058f16 View commit details
    Browse the repository at this point in the history