🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: mod.computers.laser-printers
Article #722

Re: PK format

#722
From: chris
Date: Thu, 12 Mar 1987 03:47
26 lines
1886 bytes
Not only is PK format more compressed than GF format, it is also
easier to read (!).  This is mainly because GF format does not
guarantee that its bounding boxes are minimal, while PK does:

	gyre% ls -l *font.c
	-rw-r--r--  1 bin          9104 Nov 18 02:17 font.c
	-rw-r--r--  1 bin         21464 Nov 18 02:08 gffont.c
	-rw-r--r--  1 bin         17222 Nov 18 02:18 pkfont.c
	-rw-r--r--  1 bin          6400 Nov 18 02:18 pxlfont.c
	-rw-r--r--  1 bin          5202 Nov 18 02:17 tfmfont.c

TFM `fonts' are the easiest to `interpret', since they have no
pixels.  (The TFM `font' exists mainly for invisble fonts for
SLiTeX.)  PXL fonts also require practially no interpretation.  Of
course, the size of a C source file that interprets a font fomrat
is not a perfect measure of the format's complexity, but I think
this gives a pretty good `feel'.

(`font.c' implements my generic in-core format, which is not directly
related to any disk format.  These fonts are simply data objects
that support font operations, including a function that returns a
pointer to a pixel array.  The functions themselves are, of course,
in the implementation-specific files.)
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690)
UUCP:	seismo!mimsy!chris	ARPA/CSNet:	chris@mimsy.umd.edu
Technical Details
Message-ID: <8703120347.AA06702@mimsy.umd.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ucbvax!MIMSY.UMD.EDU!chris

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ucbvax!MIMSY.UMD.EDU!chris
From: chris@MIMSY.UMD.EDU.UUCP
Newsgroups: mod.computers.laser-printers
Subject: Re: PK format
Message-ID: <8703120347.AA06702@mimsy.umd.edu>
Date: Wed, 11-Mar-87 22:47:04 EST
Article-I.D.: mimsy.8703120347.AA06702
Posted: Wed Mar 11 22:47:04 1987
Date-Received: Sun, 15-Mar-87 04:45:31 EST
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: world
Organization: The ARPA Internet
Lines: 26
Approved: laser-lovers@washington.arpa