-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Type3 font is not rendered #12705
Comments
The Type3-glyphs look slightly "weird" as far as I can tell, see one example below (using http://brendandahl.github.io/pdf.js.utils/browser/ to extract the data), since each one sets the fill-color to white initially (the
|
The spec says: |
@janpe2 you are right! I didn't noticed that when I skim through the specs. So then it shouldn't be hard to be fixed. For reference this information can be found in "Table 113 – Type 3 font operators" in PDF 32000-1:2008. |
The forbidden operators are listed at the end of chapter "8.6.8 Colour Operators". |
Fixed by the PR above. |
Attach (recommended) or Link to PDF file here: issue.pdf
Configuration:
Steps to reproduce the problem:
What is the expected behavior? (add screenshot)
What went wrong? (add screenshot)
Nothing is rendered but the text layer (selected for demonstration only):
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension): https://mozilla.github.io/pdf.js/web/viewer.html
The text was updated successfully, but these errors were encountered: