🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #94

Re: stroke and fill

#94
From: David_Cristian
Date: Mon, 04 Aug 2008 11:28
26 lines
1182 bytes
Another thing in the type 42 font format do I have to populate all 256 entries in the sfnts array .
In the Adobe standard fonts I was able to modify the Encoding array and worked fine.

I mean :

/Encoding 5 array
dup 0 /.notdef put
dup 1 /a put
dup 2 /b put
dup 3 /c put
readonly def
/CharStrings 5 dict dup begin
/.notdef 0 def
/a 		 1 def
/b 2 def
/c 3 def
end readonly def

and use it like this:
(\001) 100 100 moveto show

I still get a weird error in GSView:

---> Error: /rangecheck in show

David.
Technical Details
Message-ID: <59b5e90e.51@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!feeder.erje.net!news.motzarella.org!motzarella.org!news4us.nl!webcrossing
References: <59b5e90e.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10c61a,59978ad8602309c9
X-Google-Attributes: gid10c61a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: David_Cristian@adobeforums.com
Newsgroups: adobe.postscript.programming
Subject: Re: stroke and fill
Message-ID: <59b5e90e.51@webcrossing.la2eafNXanI>
Date: Mon, 4 Aug 2008 04:28:24 -0700
References: <59b5e90e.-1@webcrossing.la2eafNXanI>
Lines: 28
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!feeder.erje.net!news.motzarella.org!motzarella.org!news4us.nl!webcrossing