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


Groups > comp.lang.postscript > #631

Re: Embedding a subset of Type 1 fonts in EPS

From ken <ken@spamcop.net>
Newsgroups comp.lang.postscript
Subject Re: Embedding a subset of Type 1 fonts in EPS
Date 2012-03-19 08:04 +0000
Message-ID <MPG.29d0f8f3984b7d798987f@usenet.plus.net> (permalink)
References <c8840951-0de8-4932-8b1b-48958a45c676@w5g2000yqi.googlegroups.com>

Show all headers | View raw


In article <c8840951-0de8-4932-8b1b-48958a45c676
@w5g2000yqi.googlegroups.com>, tikuma@gmail.com says...

> Upon studying the PLRM and Type1 font spec documents from Adobe, I've
> implemented the following:
> 
> 1. Read in PFB file and decrypt eexec coded /Private dict
> 2. Remove CharString dict entries that are not used in the EPS figure

What about Subrs and OtherSubrs, have you checked for SEAC glyphs ?

> 3. Adjust encoding so that all undefined characters point to /.notdef
> 4. Re-encrypt modified /Private dict

Actually you don't *have* to eexec encrypt fonts, its done for historic 
reasons.

> 5. Convert the binary section to hex (ASCII) format
> 6. Replace the fullset font dict in the EPS file with the created
> reduced set dict
> 7. Open it in Ghostscript... -> errors out (with code -101, which is a
> generic error code)
> 
> Am I missing something?

To be honest, without seeing the font, and the usage, its not possible 
to tell, you may be. If you'd like to post an example somewhere public 
I'd be happy to look at it. (I can also debug Ghostscript and find out 
what its complaining about).


			Ken

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


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