From owner-freebsd-questions@FreeBSD.ORG Mon Jul 18 10:49:44 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81582106564A for ; Mon, 18 Jul 2011 10:49:44 +0000 (UTC) (envelope-from ftp51246-2575596@sh4-5.1blu.de) Received: from sh4-5.1blu.de (sh4-5.1blu.de [213.83.63.54]) by mx1.freebsd.org (Postfix) with ESMTP id 451B68FC19 for ; Mon, 18 Jul 2011 10:49:43 +0000 (UTC) Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.50) id 1QilON-0000W8-9c for freebsd-questions@freebsd.org; Mon, 18 Jul 2011 12:49:39 +0200 Date: Mon, 18 Jul 2011 12:49:39 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20110718104939.GA32254@sh4-5.1blu.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 7.0-RELEASE (i386) User-Agent: Mutt/1.5.9i Subject: groff && UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2011 10:49:44 -0000 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 - w http://www.unixarea.de/