discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: "Marcin „sirmacik” Karpezo" <marcin@karpezo.pl>
To: discuss@mandoc.bsd.lv
Subject: Re: Bad national charachers renndering in PDF
Date: Mon, 19 Nov 2018 15:19:53 +0100	[thread overview]
Message-ID: <20181119141953.GC19234@mail.freearts.agency> (raw)
In-Reply-To: <20181119140639.GC21123@athene.usta.de>

Ingo Schwarze dixit (2018-11-19, 15:06):

> 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

Do you by any chance have some command example to get that from Groff? 
I've tried several options I've found in manuals and onlie sources but
results look worse then mandoc output. Charachers are either printent
with fre alphanums or do not printed at all. 

Marcin
--
 To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv

  reply	other threads:[~2018-11-19 14:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-19 13:31 Marcin „sirmacik” Karpezo
2018-11-19 13:52 ` Anthony J. Bentley
2018-11-19 14:06   ` Ingo Schwarze
2018-11-19 14:19     ` Marcin „sirmacik” Karpezo [this message]
2018-11-19 16:07       ` Ingo Schwarze
2018-11-19 17:17         ` Marcin Karpezo
2018-11-19 14:07   ` Marcin „sirmacik” Karpezo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181119141953.GC19234@mail.freearts.agency \
    --to=marcin@karpezo.pl \
    --cc=discuss@mandoc.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).