Skip to content

How can I render an XFA form? #221

Closed Answered by mara004
hselvarajan asked this question in Q&A
Discussion options

You must be logged in to vote

Does the pdfium library that is shipped with pypdfium2 include XFA (and therefore V8) support?

Well, the wheels are packaged with the default (non-V8) pdfium builds. But if you install pypdfium2 from source, you can set an env var to use the V8 binaries (as mentioned here):

export PDFIUM_USE_V8=1
pip3 install git+https://github.com/pypdfium2-team/pypdfium2@stable
# alternatively: # pip3 install pypdfium2 --no-binary=pypdfium2

Then calling pypdfium2 -v would yield something like

pypdfium2 4.12.0 (libpdfium 5786, pdfium-binaries V8 build)

Replies: 2 comments 16 replies

Comment options

You must be logged in to vote
1 reply
@mara004
Comment options

Answer selected by mara004
Comment options

You must be logged in to vote
15 replies
@mara004
Comment options

@hselvarajan
Comment options

@mara004
Comment options

@mara004
Comment options

@mara004
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants