From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from scc-mailout-kit-02.scc.kit.edu (scc-mailout-kit-02.scc.kit.edu [129.13.231.82]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id 921622c3 for ; Mon, 19 Nov 2018 09:07:12 -0500 (EST) Received: from asta-nat.asta.uni-karlsruhe.de ([172.22.63.82] helo=hekate.usta.de) by scc-mailout-kit-02.scc.kit.edu with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (envelope-from ) id 1gOkCk-0001NK-5Y for discuss@mandoc.bsd.lv; Mon, 19 Nov 2018 15:07:11 +0100 Received: from donnerwolke.usta.de ([172.24.96.3]) by hekate.usta.de with esmtp (Exim 4.77) (envelope-from ) id 1gOkCd-0003kH-AY for discuss@mandoc.bsd.lv; Mon, 19 Nov 2018 15:07:03 +0100 Received: from athene.usta.de ([172.24.96.10]) by donnerwolke.usta.de with esmtp (Exim 4.84_2) (envelope-from ) id 1gOkCF-00035T-Ic for discuss@mandoc.bsd.lv; Mon, 19 Nov 2018 15:06:39 +0100 Received: from localhost (athene.usta.de [local]) by athene.usta.de (OpenSMTPD) with ESMTPA id 920ecbbd for ; Mon, 19 Nov 2018 15:06:39 +0100 (CET) Date: Mon, 19 Nov 2018 15:06:39 +0100 From: Ingo Schwarze To: discuss@mandoc.bsd.lv Subject: Re: Bad national charachers renndering in PDF Message-ID: <20181119140639.GC21123@athene.usta.de> References: <20181119133105.GA19234@mail.freearts.agency> <340.1542635529@cathet.us> X-Mailinglist: mandoc-discuss Reply-To: discuss@mandoc.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <340.1542635529@cathet.us> User-Agent: Mutt/1.8.0 (2017-02-23) Hi Marcin and Anthony, Anthony J. Bentley wrote on Mon, Nov 19, 2018 at 06:52:09AM -0700: > Marcin Karpezo writes: >> I'm having troubles with rendering of Polish charachers in my pdf >> exports. I've tried every options I've found in man and so on, but >> without any results. > Unfortunately mandoc's PDF output doesn't handle Unicode at all, and > renders all special characters as ASCII. I am not sure what adding > such support would entail (there might be font issues?). At least that, yes. For PostScript and PDF output, font metrics for the Times New Roman ASCII font are currently hardcoded in term_ps.c, the number of supported glyphs is limited to 96 glyphs per font style, and no other font can be used. Generalizing font support would be a major undertaking. > mandoc is > great at rendering Unicode in the terminal and in HTML output, but > getting Unicode in PDF manuals is currently a matter of using some > other troff implementation. That statement is accurate. Groff is to be recommended for that purpose because it has better mdoc(7) support than other troff implementations (except mandoc, of course). Yours, Ingo -- To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv