Login  Register

Re: CJK support in PDF: state of the art?

Posted by craftyjon on Feb 21, 2021; 11:16pm
URL: https://discuss.asciidoctor.org/CJK-support-in-PDF-state-of-the-art-tp8529p8537.html

Thanks everyone for the advice.

asciidoctor-web-pdf looks very promising, I was able to install it and
generate documents with no problems.

I think I will pursue that as the first path since it does not depend
on any particular font, and if any problems come up that I can't get
past, go back to the suggestions Dan made to get things working with
ttfunk.

Best,
Jon

On Sun, Feb 21, 2021 at 5:07 PM mojavelinux [via Asciidoctor ::
Discussion] <[hidden email]> wrote:

>
> > Unfortunately, I have not been able to make it work with
> asciidoctor-pdf.  As it seems like people have noted before on other
> threads, it causes ttfunk to crash.
>
> You're correct that although Asciidoctor PDF now supports OTF (in the mainline branch), the Noto CJK font still does not produce the desired result. The text in the document ends up being blank. I don't know why this is. Regardless, it's outside the scope of this project. It's best to report that to ttfunk (https://github.com/prawnpdf/ttfunk). In the meantime, I recommend finding another font.
>
> Best Regards,
>
> -Dan
>
> --
> Dan Allen (he, him, his) | @mojavelinux | https://twitter.com/mojavelinux
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion below:
> https://discuss.asciidoctor.org/CJK-support-in-PDF-state-of-the-art-tp8529p8536.html
> To start a new topic under Asciidoctor :: Discussion, email [hidden email]
> To unsubscribe from Asciidoctor :: Discussion, click here.
> NAML