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

Certain PDF fonts do not show if "Allow pages to choose their own fonts, instead of your selections above" is disabled #9885

Closed
peteroupc opened this issue Jul 10, 2018 · 4 comments

Comments

@peteroupc
Copy link

Starting in Firefox version 61 (at least on Windows 10), when a PDF contains a font given by name, but the box "Allow pages to choose their own fonts, instead of your selections above" is disabled in preferences, text in such fonts in the PDF refuses to show. The Developer Tools shows a warning, "Web fonts are disabled: unable to use embedded PDF fonts", and may show errors like the following: "Error: requesting object that isn't resolved yet Times_path_1". In situations like this, maybe pdf.js should implement a fallback mechanism of some kind.

This issue involves the pdf.js version included in Firefox 61, not an external extension.

@peteroupc peteroupc changed the title Embedded PDF fonts do not show if "Allow pages to choose their own fonts, instead of your selections above" is disabled Certain PDF fonts do not show if "Allow pages to choose their own fonts, instead of your selections above" is disabled Jul 10, 2018
@Snuffleupagus
Copy link
Collaborator

This appears to be a duplicate of issue #7549.

@peteroupc
Copy link
Author

In the case I present here, though, this is more than just a corruption: the pages containing the fonts in question refuse to display outright (the load indicator continues to appear on those pages).

@Snuffleupagus
Copy link
Collaborator

In the case I present here, though, this is more than just a corruption:

While the symptoms may appear slightly different, that doesn't really change the fact that it's a duplicate of the aforementioned issue :-)
(The other issue also contains all the information asked for in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md, making it somewhat easier to work with.)

the pages containing the fonts in question refuse to display outright (the load indicator continues to appear on those pages).

That's unrelated to the rest of the issue, however a work-around for the "perpetual loading" problem was implemented in PR #9809 (which should be included in Firefox 62).

@peteroupc
Copy link
Author

Fine, this issue is closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants