Login  Register

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. 👍

Clemens, I strongly recommend using fontforge to make this modification. There's a great website available that documents how to do operations such as the one Marc suggested. See http://designwithfontforge.com/en-US/index.html

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.


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Unicode-characters-not-converted-in-pdf-tp6703p6729.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux