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


Groups > comp.lang.postscript > #638

Re: Embedding a subset of Type 1 fonts in EPS

From Kesh <tikuma@gmail.com>
Newsgroups comp.lang.postscript
Subject Re: Embedding a subset of Type 1 fonts in EPS
Date 2012-03-20 06:12 -0700
Organization http://groups.google.com
Message-ID <1236021.659.1332249168823.JavaMail.geo-discussion-forums@ynmb12> (permalink)
References (1 earlier) <MPG.29d0f8f3984b7d798987f@usenet.plus.net> <876c6837-b52a-4b9e-b92b-37132adc6573@h12g2000yqi.googlegroups.com> <MPG.29d17e8e99d96fb7989880@usenet.plus.net> <33319794.3735.1332211247556.JavaMail.geo-discussion-forums@vbbfy7> <MPG.29d2611812499c0f989881@usenet.plus.net>

Show all headers | View raw


> > /beta 242 RD --- ND
> 
> This seems to be the problem, at least in part. 
> The argument here is 242, but there are 244 bytes of binary data between 
> the RD and ND (ignoring the two spaces).
> 
> If I alter the argument from 242 to 244 then the file runs to 
> completion.

That's strange. I just checked my file and I only count 242 binary bytes for the /beta glyph. 

> BTW if you just decrypt (eexec decrypt) the encrypted portion, put it in 
> pace of the hex data and remove the 'currentfile eexec' then you shuld 
> have a decrypted font embedded, it works OK for me here.

Tried this just now and still errors out in my win32 Ghostscript 9.05. It says there's a syntax error (see the copy of the error dump below).

Error: /syntaxerror in -file-
Operand stack:
   --dict:8/11(L)--   --dict:8/11(L)--   Private   --dict:15/15(L)--   --dict:8/11(L)--   CharStrings   --dict:1/3(L)--   beta   (0\356\034Q\364\362\261\026\035\032\032I.-N\032\032\\\357\336\032\315\273y\246s\3418\r\n\335'xGG\366\303\250\343\r\n+|\245\034\275\r\nP>\274\344\362\b\032q,n\304\032Z\314\304?\342\311\177\032\032\032\312\313\317?\273`\315\2711T\025\263\347\032\300\032\017\336\032\006S+\374I\326\036\274\250l\(\240\(\332\312?'D\265Y\032\034\322\326\250gG\032\341\177\372\360h2?\013\346\344gbr\032\242\032n*R\340\b\312\260\312\272\37431\267\265\242\031\333c\2466p\r\nI\013\310c\265\002.cP\334\032}\377\250\032\242\020\372\253\b\255\343\343>\327l'\364\250\253\260\013\337\260z>\342=\032uz\037ya...)   8
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   false   1   %stopped_push   1926   1   3   %oparray_pop   1925   1   3   %oparray_pop   1909   1   3   %oparray_pop   1803   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push
Dictionary stack:
   --dict:1176/1684(ro)(G)--   --dict:0/20(G)--   --dict:82/200(L)--   --dict:15/15(L)--   --dict:1/3(L)--
Current allocation mode is local
Last OS error: No such file or directory

--- Begin offending input ---
ilÛTq4ëÛ-.8<¼ ND

/.notdef 12 RD uCI¥|o	^& ND

end

Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Embedding a subset of Type 1 fonts in EPS Kesh <tikuma@gmail.com> - 2012-03-18 13:39 -0700
  Re: Embedding a subset of Type 1 fonts in EPS ken <ken@spamcop.net> - 2012-03-19 08:04 +0000
    Re: Embedding a subset of Type 1 fonts in EPS Kesh <tikuma@gmail.com> - 2012-03-19 07:00 -0700
      Re: Embedding a subset of Type 1 fonts in EPS ken <ken@spamcop.net> - 2012-03-19 17:34 +0000
        Re: Embedding a subset of Type 1 fonts in EPS Kesh <tikuma@gmail.com> - 2012-03-19 19:40 -0700
          Re: Embedding a subset of Type 1 fonts in EPS ken <ken@spamcop.net> - 2012-03-20 09:41 +0000
            Re: Embedding a subset of Type 1 fonts in EPS Kesh <tikuma@gmail.com> - 2012-03-20 06:12 -0700
  Re: Embedding a subset of Type 1 fonts in EPS Kesh <tikuma@gmail.com> - 2012-03-24 14:51 -0700
    Re: Embedding a subset of Type 1 fonts in EPS tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2012-03-24 20:45 -0400
      Re: Embedding a subset of Type 1 fonts in EPS ken <ken@spamcop.net> - 2012-03-25 12:50 +0100
        Re: Embedding a subset of Type 1 fonts in EPS tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2012-03-25 13:37 -0400

csiph-web