Login  Register

Re: Troubleshoot missing glyphs (pdf) from TOC generation

Posted by 1marc1 on Apr 10, 2021; 1:33pm
URL: https://discuss.asciidoctor.org/Troubleshoot-missing-glyphs-pdf-from-TOC-generation-tp8585p8589.html

I have something similar happening. Let's say I have this file:

== Test

[[inline-anchor,test paragraph]]Test paragraph.

For more info see <<inline-anchor>>.

When converting to PDF using the default theme, then no warning is displayed. When I use my custom theme no warning is displayed if I don't specify the -v option on the CLI.

When I use my custom theme and do specify the -v option, I see the following warning: asciidoctor: WARNING: Could not locate the character `' in the following fonts: OpenSans, M+ 1mn, M+ 1p Regular Fallback

In all cases clicking the link in the last sentence works as expected. When converted using my custom theme I notice that the text Test paragraph is slightly indented to the right.

It makes me think there is something else in my custom theme causing this. Does anyone have any ideas on what this could be? My theme has the following fallback fonts specified:
fallbacks: [ M+ 1mn, M+ 1p Regular Fallback ]

Next observation. If I change my file to this:

== Test

[[inline-anchor,test paragraph]]
Test paragraph.

For more info see <<inline-anchor>>.

and then convert to PDF using my custom theme and the -v option, then no warning is displayed, the text Test paragraph. does not have the slight indent and the link also works.

Any ideas on what could cause this?

Thank you.

Marc.