stipplefont and postscript

stipplefont and postscript

Post by John Pigott Delete the dig » Sun, 20 Jun 1999 04:00:00



I have this PS code from Cadence. It
prints
OK, but causes difficulty with distiller,
ghostscript and other windows-based PS reader
programs (Canvas etc.). The error message is:

%%[ Error: typecheck; OffendingCommand:
definefont; ErrorInfo: Encoding --nostringval--
]%%

Stack:
/Font
-dict-
/StippleFont
-mark-
-save-

%%[ Flushing: rest of job (to end-of-file) will
be
ignored ]%%
%%[ Warning: PostScript error. No PDF file
produced. ] %%

What is wrong ?

%!PS-Adobe-3.0
%%DocumentFonts: Helvetica Times-Roman Courier
%%Creator: Cadence Design Systems
%%EndComments
%%BeginProlog
%
% Start of Cadence ps.prologue -- Version 5.0.0
% Adobe Postscript Level 2 Color Version.  
%************************************************
*
*****************************
% Graphics initialization routine.
%
/gis  {
  save
  mark
  newpath

%
% Scale postscripts 72 dpi divided by the plotter
resolution set in pap.
%
  72 resolution div
  dup
  scale

%
% Move the origin of the plot up and to the right
so the plotters margin
% is observed.
%
  offsetX offsetY translate

  /stippleArray 10 array def
    stippleArray
     dup    0  <FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF>
put
     dup    1  <00000000000000000000000000000000
                00000000000000000000000000000000>
put
     dup    2  <00000000000000000000000000000000
                00000000000000000000000000000000>
put
     dup    3  <00000000000000000000000000000000
                00000000000000000000000000000000>
put
     dup    4  <00000000000000000000000000000000
                00000000000000000000000000000000>
put
     dup    5  <00000000000000000000000000000000
                00000000000000000000000000000000>
put
     dup    6  <00000000000000000000000000000000
                00000000000000000000000000000000>
put
     dup    7  <00000000000000000000000000000000
                00000000000000000000000000000000>
put
     dup    8  <08080404020201018080404020201010
                08080404020201018080404020201010>
put
            9  <08081414222241418080414122221414
                08081414222241418080414122221414>
put

  /newFont 10 dict def
  newFont begin

    /FontType 3 def
    /FontMatrix [1 0 0 1 0 0] def
    /FontBBox [0 0 1 1] def

    /Encoding 256 array def
    0 1 255 {Encoding exch /.notdef put} for
    Encoding
      dup 48 0  put
      dup 49 1  put
      dup 50 2  put
      dup 51 3  put
      dup 52 4  put
      dup 53 5  put
      dup 54 6  put
      dup 55 7  put
      dup 56 8  put
          57 9  put

    /BuildChar {
        /char exch def
        /fontdict exch def
        /charname fontdict /Encoding get char get
def

         1 0 setcharwidth

          16 16 true
          [16 0 0 -16 -.5 15.50]
           stippleArray charname 1 getinterval
cvx
          imagemask
    } def

  end
  /StippleFont newFont definefont 66 scalefont
setfont
  /fillChar 0 def

  /ellipsedict 8 dict def
  ellipsedict /mtrx matrix put

 
 
 

1. postscript fonts and postscript plotting

I am trying to make a postscript plot from microstation5.
I would like an eps extension.  Is there a way
I would also like to install a postscript font from autocad
when I try to install the font, I get a message about a tmp file in the
microstation\tmp directory and it fails to install
any thoughts on the subject
Mary Bates

2. Calling Code Resource from System Heap???

3. postscript output in acad mdt 5

4. MFC Journal!?!

5. postscript driver r14

6. Routing gone wrong

7. postscript

8. test

9. Postscript out does not honor page sizes.......

10. ACAD 2000 Postscript plotter?

11. PostScript export year 2000 error?

12. Postscript Utility

13. AutoCAD Publishing Software - PostScript?