Re: Unicode characters not converted in pdf.
Posted by
mojavelinux on
Feb 14, 2019; 6:28am
URL: https://discuss.asciidoctor.org/Unicode-characters-not-converted-in-pdf-tp6703p6730.html
Marc, that's a really clever suggestion. 👍
Cheers,
-Dan
On Wed, Feb 13, 2019 at 5:58 PM 1marc1 [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
Clemens,
Depending on your use case, you might try a workaround:
1. Make a copy of your font.
2. Use a font glyph editor to copy the glyph required (120590) to a glyph that you do not anticipate to ever use (with a lower unicode number).
3. Reference your patched font in your asciidoctor-pdf theme.
The idea is that Prawn will be able to pickup the lower numbered glyph and in your patched font, that happens to represent the glyph you require.
I hope this helps.
Marc.
--