-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Apply char/word-spacing correctly for missing Type3-glyphs #19735
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
Conversation
In the included PDF document the Type3-font doesn't contain any glyph definition for "space", despite that character being referenced in the /Contents stream. While missing Type3-glyphs obviously cannot be rendered, we still need to update the current canvas position such that any char/word-spacing is correctly applied. The test-case was found at https://github.com/pdf-association/pdf-differences/tree/main/Type3WordSpacing
/botio browsertest |
From: Bot.io (Windows)ReceivedCommand cmd_browsertest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/6ca8364b43f9fca/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_browsertest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/c3bb333b524eb64/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/c3bb333b524eb64/output.txt Total script time: 15.93 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/6ca8364b43f9fca/output.txt Total script time: 29.45 mins
|
/botio-linux preview |
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @timvandermeij received. Current queue size: 0 Live output at: http://54.241.84.105:8877/de7db366ca5eebd/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/de7db366ca5eebd/output.txt Total script time: 0.86 mins Published |
Thank you for improving this! /botio makeref |
From: Bot.io (Linux m4)ReceivedCommand cmd_makeref from @timvandermeij received. Current queue size: 0 Live output at: http://54.241.84.105:8877/21cd1b19ee9383e/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_makeref from @timvandermeij received. Current queue size: 0 Live output at: http://54.193.163.58:8877/a96d9dfa7a6c825/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/21cd1b19ee9383e/output.txt Total script time: 15.77 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/a96d9dfa7a6c825/output.txt Total script time: 29.37 mins
|
In the included PDF document the Type3-font doesn't contain any glyph definition for "space", despite that character being referenced in the /Contents stream.
While missing Type3-glyphs obviously cannot be rendered, we still need to update the current canvas position such that any char/word-spacing is correctly applied.
The test-case was found at https://github.com/pdf-association/pdf-differences/tree/main/Type3WordSpacing