Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #3247

gs extension to relax access rules?

Newsgroups comp.lang.postscript
Date 2018-03-24 10:05 -0700
Message-ID <c94cbcf0-df12-4a9c-95a5-16b7c1487f49@googlegroups.com> (permalink)
Subject gs extension to relax access rules?
From luser droog <luser.droog@gmail.com>

Show all headers | View raw


I'm trying to interrogate a Type 1 font to get the
values I need to create a PDF font descriptor for it.
And I believe I've found the value I need, but I can't
access it!

/Palatino-Roman findfont
1000 scalefont
setfont

<</Type/FontDescriptor
  /FontName currentfont /FontName get
  /FontBBox currentfont /FontBBox get dup length array copy

  /StemV currentfont /Private get /StdVW get
  dup type == cvx exec
>>

I'm able to get the StdVW array out of the Private
dictionary, but the array itself appears to have
no access. '0 get' failed which tells me it does
not have read access. And 'cvx exec' failed which
tells me it does not have exec access either.

Is there any workaround I can use to persuade gs
to crack this array for me?

Back to comp.lang.postscript | Previous | NextNext in thread | Find similar


Thread

gs extension to relax access rules? luser droog <luser.droog@gmail.com> - 2018-03-24 10:05 -0700
  Re: gs extension to relax access rules? ken <ken@spamcop.net> - 2018-03-26 07:54 +0100
    Re: gs extension to relax access rules? luser droog <luser.droog@gmail.com> - 2018-03-26 15:00 -0700

csiph-web