Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jul 2011 12:49:39 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-questions@freebsd.org
Subject:   groff && UTF-8
Message-ID:  <20110718104939.GA32254@sh4-5.1blu.de>

next in thread | raw e-mail | index | archive | help


Hello,

In the '90 I have used for a lot of my internal and external papers and
letter the groff suite (gtbl, groff, ...) with good results.

I've now a project where it would fit really nicely. It's making
(Postscript or PCL) printout of some pages like this example one:

http://www.unixarea.de/MagazinZettel.pdf

in which most of the part is just plain text, printed in some fixed
font, a few big letters (big font) and some OCR-B on the page (like the
number 0000471110 in the mentioned page).

The critical part seems to be: the text is UTF-8 and converting this
to ISO 8859-1 is not an option. It's a Library Management System we
just ported to Unicode, and we don't want to fall back in printing :-)

I've checked groff 1.21 from the ports but it seems to understand
only making UTF-8 output with its driver -Tutf8. Is there a way to make
it understand UTF-8 as input and making PCL or Postscript of it
(like CUPS which has a filter 'texttops' which together with the
FreeFonts can make Postscript of UTF-8 text)?

Any other ideas?

OCR-B is another issue, perhaps. But it seems that there are at least
free fonts available for it in Postscript...

Thanks

	matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru@unixarea.de> - w http://www.unixarea.de/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110718104939.GA32254>