Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Kesh Newsgroups: comp.lang.postscript Subject: Re: Embedding a subset of Type 1 fonts in EPS Date: Mon, 19 Mar 2012 19:40:47 -0700 (PDT) Organization: http://groups.google.com Lines: 71 Message-ID: <33319794.3735.1332211247556.JavaMail.geo-discussion-forums@vbbfy7> References: <876c6837-b52a-4b9e-b92b-37132adc6573@h12g2000yqi.googlegroups.com> NNTP-Posting-Host: 174.64.1.105 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1332211328 3078 127.0.0.1 (20 Mar 2012 02:42:08 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 20 Mar 2012 02:42:08 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=174.64.1.105; posting-account=Qa3mMwoAAAAoe3O4oZh-bk6pHU9--OeS User-Agent: G2/1.0 X-Received-Bytes: 3245 Xref: csiph.com comp.lang.postscript:635 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 charact= ers. (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=3D0B3YjzIrad6oPQ0JQYzgxUzRRUi1GWm5DRzVlQVl1= dw Here's the PNG image (generated by Ghostscript) https://docs.google.com/open?id=3D0B3YjzIrad6oPbWRnUlZ1cHhSeE9CUnhqQk96R1JC= QQ Then, the problematic, EPS with subsetted font https://docs.google.com/open?id=3D0B3YjzIrad6oPcXlzMC05MXhTREdydExBcUo1RVdz= Zw So far I have even failed to embed unencrypted (full-set) font, successfull= y. So, I just pasted the unencrypted Private dict of the subsetted font bel= ow (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=20 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