Date: Fri, 16 Sep 2005 21:33:10 +0200 From: jpd@dsb.tudelft.nl To: FreeBSD-gnats-submit@FreeBSD.org Subject: gnu/86226: [update request] groff util pfbtops fails to count properly. Message-ID: <20050916193310.GA76031@dsb.tudelft.nl> Resent-Message-ID: <200509161940.j8GJeKbC062164@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 86226 >Category: gnu >Synopsis: [update request] groff util pfbtops fails to count properly. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 16 19:40:19 GMT 2005 >Closed-Date: >Last-Modified: >Originator: >Release: FreeBSD 5.4-RELEASE-p4 i386 >Organization: Unorganized >Environment: System: FreeBSD prozac.local 5.4-RELEASE-p4 FreeBSD 5.4-RELEASE-p4 #0: Mon Aug 8 11:02:29 CEST 2005 root@prozac.local:/usr/src/sys/i386/compile/PROZACII i386 >Description: The pfbtops tool included with gnu roff 1.19 successfully converts some .pfb files to .pfa format, which is needed for eg. softfont download to PostScript printers, but fails others, notably externally supplied font files. The cause is a faillure to decrement a todo-counter when extra characters are read from the input stream. >How-To-Repeat: $ pfbtops OCRBPB__.PFB > /dev/null pfbtops: first byte of packet not 0x80 $ >Fix: I had a rather basic patch but then discovered this has been fixed in groff 1.19.1 and later, so an import of that may be more desirable. The precise fix for this problem was committed as pfbtops.c cvs rev 1.12: http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/src/utils/pfbtops/pfbtops.c.diff?r2=text&tr1=1.11&tr2=1.12&r1=text&diff_format=u The above patch does also work for pfbtops.c as shipped with FreeBSD 5.4. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050916193310.GA76031>