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

Missing callout numbers and admonition images if PDF is opened with Adobe acrobat reader #2531

Closed
joerg256 opened this issue Jul 3, 2024 · 2 comments

Comments

@joerg256
Copy link

joerg256 commented Jul 3, 2024

Dear Asciidoctor-pdf team,

I am having the following problem:

PDFs are not displayed correctly when opened in Adobe acrobat reader and Adobe acrobat reader DC on windows 10.

  1. Admonition images are not visible (like for note, warning ...) in the PDF.
  2. Callout numbers (in code segments) are not visible in the PDF.

The following error message appears:

Cannot extract the embedded font '635a1d+SegoeUISymbol'. Some characters may not display or print correctly.

I have tried different fonts and added fallback fonts to resolve this:

  • M+ 1mn
  • M+ 1p
  • SegoeUISymbol

(the named font in the message was different in those cases.)

In all other programs to view PDF-files everything worked fine! I have tested Firefox, Edge, pdf24Reader.

(Additional note 1: This was not an issue in the past. I can still open older generated PDFs without this problem.)
(Additional note 2: The Adobe reader had the same problems with notoserif-italic-subset.ttf.)

Thank you in advance!
Joerg

@mojavelinux
Copy link
Member

Check whether you are using ttfunk 1.8 instead of 1.7. If you installed the Asciidoctor PDF gem from rubygems.org, you should have ttfunk 1.7 since Asciidoctor PDF locks to that version (see https://github.com/asciidoctor/asciidoctor-pdf/blob/v2.3.x/asciidoctor-pdf.gemspec#L38). ttfunk 1.8 has known issues (see prawnpdf/ttfunk#102) and should not be used.

In the future, please ask questions about usage in the project chat as the issue template requested. Issues should only be filed one a problem is verified. This helps make the project more sustainable. You can find the policies here: https://docs.asciidoctor.org/about/get-help/

@joerg256
Copy link
Author

joerg256 commented Jul 4, 2024

Thank you a lot. This solved the problem instantly! :)

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