Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #635
| From | Kesh <tikuma@gmail.com> |
|---|---|
| Newsgroups | comp.lang.postscript |
| Subject | Re: Embedding a subset of Type 1 fonts in EPS |
| Date | 2012-03-19 19:40 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <33319794.3735.1332211247556.JavaMail.geo-discussion-forums@vbbfy7> (permalink) |
| References | <c8840951-0de8-4932-8b1b-48958a45c676@w5g2000yqi.googlegroups.com> <MPG.29d0f8f3984b7d798987f@usenet.plus.net> <876c6837-b52a-4b9e-b92b-37132adc6573@h12g2000yqi.googlegroups.com> <MPG.29d17e8e99d96fb7989880@usenet.plus.net> |
Ken,
Alright, I've uploaded a few files to my Google Doc in public sharing mode. The font being subsetted is AMS CMMI10 font for greek alpha & beta characters. (Yes, it is an (infamous?) MATLAB generated EPS with some tweaking.)
EPS file with fully embed font (which opens properly in Ghostscript):
https://docs.google.com/open?id=0B3YjzIrad6oPQ0JQYzgxUzRRUi1GWm5DRzVlQVl1dw
Here's the PNG image (generated by Ghostscript)
https://docs.google.com/open?id=0B3YjzIrad6oPbWRnUlZ1cHhSeE9CUnhqQk96R1JCQQ
Then, the problematic, EPS with subsetted font
https://docs.google.com/open?id=0B3YjzIrad6oPcXlzMC05MXhTREdydExBcUo1RVdzZw
So far I have even failed to embed unencrypted (full-set) font, successfully. So, I just pasted the unencrypted Private dict of the subsetted font below (Binary CharStrings are omitted (shown as '---'). Thank you so much for looking into this. And please take your time. This is my pastime project.
currentfile exec
dup/Private 15 dict dup begin
/RD{string currentfile exch readstring pop}executeonly def
/ND{noaccess def}executeonly def
/NP{noaccess put}executeonly def
/BlueValues [-22 0 683 705 431 442 453 466] def
/OtherBlues [-205 -194] def
/StdHW [31] def
/StdVW [72] def
/StemSnapH [25 31] def
/BlueScale 0.04379 def
/ForceBold false def
/MinFeature{16 16}def
/password 5839 def
/UniqueID 5087385 def
/OtherSubrs[
{}{}{}
{systemdict/internaldict known not
{pop 3}
{1183615869 systemdict/internaldict get exec
dup/startlock known
{/startlock get exec}
{dup/strtlck known
{/strtlck get exec}
{pop 3}
ifelse}
ifelse}
ifelse
}executeonly
]ND
/Subrs 6 array
dup 0 15 RD --- NP
dup 1 9 RD --- NP
dup 2 9 RD --- NP
dup 3 5 RD --- NP
dup 4 12 RD --- NP
dup 5 20 RD --- NP
ND
2 index /CharStrings 3 dict dup begin
/alpha 177 RD --- ND
/beta 242 RD --- ND
/.notdef 12 RD --- ND
end
end
readonly put
noaccess put
dup/FontName get exch definefont pop
Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar
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