Login  Register

Troubleshoot missing glyphs (pdf) from TOC generation

Posted by arillbert on Apr 09, 2021; 8:17am
URL: https://discuss.asciidoctor.org/Troubleshoot-missing-glyphs-pdf-from-TOC-generation-tp8585.html

Hi,

I get warnings from asciidoctor-pdf as soon as I include a table-of-contents and use my custom theme. As soon as I enable a toc (via :toc: left in the header), I get the following warning:


asciidoctor: WARNING: Could not locate the character `​' in the following fonts: MyFont, MPlus


I am using a custom theme with custom fonts.

 - If I use the default theme/font, no warning is issued.
 - If I use my custom theme/fonts and skip the toc, no warning is issued

Supposedly, asciidoctor-pdf needs a glyph when generating the toc that is missing in the fonts I use for my custom theme.

Any pointers on how I go about troubleshooting this?

/Anders

ps In my theme, I use the M+ 1p font as the fallback font (mplus-1p-regular.ttf) ds