Ghostscript and PDF with fonts not embedded -


my system config os x ghostscript 9.02 know (step step) how add , configure file in gs make possible substitutions fonts. gs installation don't have installed/created file. how can add it?

the problem have 1 pdf embedded subset fonts, except one. , 1 gs can't rasterize page.

how possible solve problem?

there 2 categories of fonts in pdf -- "regular" fonts , cidfonts. regular fonts, single byte used each glyph , there encoding , other information provided in pdf select glyph font. ghostscript make guess substitute font based on fontname , while may not original, should print.

cidfonts, accessed using multiple bytes, , name implies cmap needed decoding byte stream glyph number. other 'gotcha' glyph numbers particular glyphs vary depending on 'ordering'. cidfonts not embedded, ghostscript produce error output like:

 can't find cid font "kozmin-bold". substituting cid font /adobe-japan1 /kozmin-bold, see    doc/use.htm#cidfontsubstitution. substitute cid font "adobe-japan1" not provided either. exit error. 

what tells pdf referenced font "kozmin-bold" specified ordering "adobe-japan1" and:

1) kozmin-bold font not found in ghostscript's resource/cidfont directory

2) there no mapping defined kozmin-bold in cidfmap file (gs searches file in of libpath listed 'search paths' "gs -h".

3) there no mapping fonts adobe-japan1 ordering in cidfmap. if ghostscript can't find font using steps 1 , 2, substitute font using ordering font name. @ least should correct glyph.

i don't want reproduce cidfmap documentation here since update on occassion, can accessed online at: http://www.artifex.com/gs-current-release/use.htm#cidfontsubstitution

examples provided in section of ghostscript documentation.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -