Article View: adobe.postscript.programming
Article #272Re: Adding characters to font definition array
From: RobertSpicer
Date: Fri, 20 Oct 2006 21:35
Date: Fri, 20 Oct 2006 21:35
24 lines
1671 bytes
1671 bytes
Okay - I'm making some headway...I've now been able to add more characers to the array. New problem: How might I determine the appropriate values to the current dictionary? I've attempted to copy/paste a similar character, changing the reference from '/c20' to '/c21' as an example. However, the actual appearance of /c21 is the same as /c20.
I have a feeling its somewhere within this string...
1 dict begin /_i 0 def currentdict end mark exch { begin {
<~s8W-!s8W-!~>
and that I would need to change the values for the desired output character accordingly within the < > range. How might I determine the appropriate values?
/c20 {
12 0 setcharwidth
q
3.0 0.0 0.0 8.0 0.0 -1.0 cm
q
n
0.0 0.0 1.0 1.0 re
<< /ImageType 1 /Width 3 /Height 8 /ImageMatrix [3.0 0.0 0.0 -8.0 0.0 8.0] /BitsPerComponent 1 /Decode [0.0 1.0 ] /DataSource 1 dict begin /_i 0 def currentdict end mark exch { begin { <~s8W-!s8W-!~>
} _i 1 eq{ /_i 0 def pop ()}{_i get /_i _i 1 add def} ifelse
end } bind aload pop ] cvx
>>
imagemask
Q
Q
} bind def
Technical Details
Message-ID:
<3bc2088d.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bc2088d.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 10c61a,3132b23ea6a2d0d3 X-Google-Attributes: gid10c61a,public X-Google-Language: ENGLISH,ASCII-7-bit From: RobertSpicer@adobeforums.com Newsgroups: adobe.postscript.programming Subject: Re: Adding characters to font definition array Message-ID: <3bc2088d.0@webcrossing.la2eafNXanI> Date: Fri, 20 Oct 2006 14:35:46 -0700 References: <3bc2088d.-1@webcrossing.la2eafNXanI> Lines: 39 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing