Skip to content

Preview lost signature, print also lost signature #239

Answered by pcorless
Weishixun asked this question in Q&A
Discussion options

You must be logged in to vote

I managed to get it to render but I do have quite a bit of regression testing to run. The fix was two part but unfortunately is due to some content that isn't strictly proper in PDF/post script grammar.

The content in question sort of looks like this.
BT
1 0 0 1 2 2 Tm
q 70.87 0 0 28.25 2 2.05 cm /img1 Do Q
70.87 0 Td
-70.87 0 Td
ET
By PDF rules there shouldn't be a 'Do' in a BT/ET block (begin text, end text block). The 'Do' does the image drawing. The content parser makes some assumptions for execution speed and skips over the /img1 loading. I'll create a ticket and hopefully get a full fix in in the coming days.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@Weishixun
Comment options

@pcorless
Comment options

Comment options

You must be logged in to vote
3 replies
@Weishixun
Comment options

@Weishixun
Comment options

@pcorless
Comment options

Answer selected by Weishixun
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