home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
useful
/
text
/
tex
/
pastex
/
archives
/
pbmtopk.lzh
/
pbmtopk
/
POSTER
next >
Wrap
Internet Message Format
|
1992-05-12
|
4KB
Path: hydra!tut!sunic!mcsun!ukc!edcastle!cs.ed.ac.uk!ajcd
From: ajcd@cs.ed.ac.uk (Angus Duggan)
Newsgroups: comp.text.tex,alt.sources
Subject: pbmtopk+pktopbm Part01/02
Keywords: pbmplus pk tfm tex
Message-ID: <132@skye.cs.ed.ac.uk>
Date: 9 Aug 90 12:19:33 GMT
Sender: nnews@cs.ed.ac.uk
Reply-To: ajcd@cs.ed.ac.uk (Angus Duggan)
Followup-To: alt.sources.d
Organization: Edinburgh University Fried Brain Carry-out
Lines: 1926
Xref: hydra comp.text.tex:2075 alt.sources:1687
Archive-name: pbmtopk/Part01
Since there's been some interest in bitmap to pk font convertors, I thought
I'd post my attempt. pktopbm and pbmtopk were adapted from Tom Rokicki's C
versions of PKtoPX and PXtoPK on the TeX82 distribution tape, and are posted
without his permission. I expect that I've screwed up in the rounding code
somewhere, checking it will have to wait for a rainy day.
I haven't done anything about calculating the correct checksum for the font,
beyond extracting the appropriate (Pascal) code from pltotf.web and inserting
it as a comment.
Also, I would like a heuristic for calculating the x-height of the font, based
on the bitmap sizes, heights & depths etc.
THESE PROGRAMS COME WITHOUT ANY (IMPLIED OR OTHERWISE) WARRANTLY. I WILL NOT BE
HELD RESPONSIBLE FOR ANY DAMAGE TO YOUR DATA OR SYSTEM CAUSED BY USE OR MISUSE
OF THESE PROGRAMS. USE AT YOUR OWN RISK!
Suggestions, bug reports and fixes, etc, to ajcd@cs.ed.ac.uk, flames to
/dev/null.
==
Angus Duggan, Department of Computer Science, | Ignorance of the manual is
University of Edinburgh, JCMB, | no excuse.
The King's Buildings, Mayfield Road, | JANET: ajcd@uk.ac.ed.lfcs
Edinburgh, EH9 3JZ, Scotland. | OR: ajcd%lfcs.ed.ac.uk@nsfnet-relay.ac.uk
From: ajcd@cs.ed.ac.uk (Angus Duggan)
Newsgroups: comp.text.tex,alt.sources
Subject: pbmtopk patch #1
Keywords: pbmtopk pbmplus pk tex
Date: 10 Aug 90 12:21:15 GMT
Reply-To: ajcd@cs.ed.ac.uk (Angus Duggan)
Followup-To: alt.sources.d
Organization: Edinburgh University Fried Brain Carry-out
Archive-name: pbmtopk/patch01
Whoops, didn't test pktopbm quite thoroughly enough, here's a patch which
fixes a bug in it. I've also made a change to pbmtopk which allows the
character number to be changed when reading option files.
I forgot to mention that this package requires Jef Poskanzer's pbmplus library
(actually only libpbm), which comes with the X11R4 distribution. I think it's
available for anonymous ftp also, but I don't know any net addresses for it.
Enjoy,
A.
==
Angus Duggan, Department of Computer Science, | Ignorance of the manual is
University of Edinburgh, JCMB, | no excuse.
The King's Buildings, Mayfield Road, | JANET: ajcd@uk.ac.ed.lfcs
Edinburgh, EH9 3JZ, Scotland. | OR: ajcd%lfcs.ed.ac.uk@nsfnet-relay.ac.uk
From: ajcd@cs.ed.ac.uk (Angus Duggan)
Newsgroups: alt.sources
Subject: pbmtopk patch 2
Keywords: pbmplus pbmtopk pk
Date: 21 Aug 90 08:50:06 GMT
Reply-To: ajcd@cs.ed.ac.uk (Angus Duggan)
Followup-To: alt.sources.d
Organization: Edinburgh University Fried Brain Carry-out
Archive-Name: pbmtopk/patch02
Here's a (very minor) bug fix for pbmtopk. It only affects the TFM files
created for fonts with no characters in them. Don't bother asking me why I
want to create fonts with no characters!-)
Angus.
==
Angus Duggan, Department of Computer Science, | I'm pink, therefore I'm Spam.
University of Edinburgh, JCMB, |
The King's Buildings, Mayfield Road, | JANET: ajcd@uk.ac.ed.lfcs
Edinburgh, EH9 3JZ, Scotland. | OR: ajcd%lfcs.ed.ac.uk@nsfnet-relay.ac.uk
From: ajcd@cs.ed.ac.uk (Angus Duggan)
Newsgroups: alt.sources
Subject: pbmtopk/patch03
Keywords: PBMPLUS PK PbmtoPk
Date: 21 Sep 90 17:31:40 GMT
Reply-To: ajcd@cs.ed.ac.uk (Angus Duggan)
Followup-To: alt.sources.d
Organization: Edinburgh University Fried Brain Carry-out
Archive-Name: pbmtopk/patch03
Here's patch #3 for PBMtoPK. This removes the dependency on the "aint"
function, which some maths libraries don't seem to have. A test for failed
malloc of the bitcount array is also made.
==
Angus Duggan, Department of Computer Science, | I'm pink, therefore I'm Spam.
University of Edinburgh, JCMB, |
The King's Buildings, Mayfield Road, | JANET: ajcd@uk.ac.ed.lfcs
Edinburgh, EH9 3JZ, Scotland. | OR: ajcd%lfcs.ed.ac.uk@nsfnet-relay.ac.uk