[gs-devel] ArabicTransparent and ArabicTransparent-Bold
Fonts
Ken Sharp
ken.sharp at artifex.com
Thu Oct 15 13:28:04 PDT 2009
At 12:55 15/10/2009 -0400, Levi wrote:
>After doing so, I had an gs8.70\gs folder that included a
>"Resources\Init". I tried setting the -l/gs/Resources/Init, but
>gswin32.exe did not recognize the -l switch.
Should be a -I That's a capital 'i' not an 'l'. See gs/doc/use.htm, section
8 "How Ghostscript finds files"
>complain so I realized it wasn't picking it up. After that, I copied
>the cidfmap file into the gs8.70\lib directory, and voila...it's
>working now.
Suggests you have a GS_LIB environment variable set, as you'll see in the
documentation that's another place where it looks for files :-)
>I'm curious as to why the installer seems to suck so much or what I
>could have done to get it to work without having to go through all
>these steps, but it's working by using the (Identity) 0 CIS
>configuration.
Using a TrueType font as a CIDFont replacement is not trivial, and no
installer can guess what CMap a PDF file will use. Your Arabic test file
uses Identity-H but it could just as easily have used Unicode, which would
have required a different setup in cidfmap, there's no way to guess I'm afraid.
Its not too hard to use a TrueType font to replace a regular font, but
CIDFonts are more complicated, since they are intended for use when there
are more glyphs than can be accessed with a single byte of data.
You couldn't have got your old version of GS to work with this file, as the
code was only added recently. I'm afraid that using TrueType fonts as
CIDFonts is something which is not documented or specified, so there's no
consistent method to making it work, you just have to 'know' how to make it
work for each PDF consumer.
I'm glad to hear its working for you now,
Ken
More information about the gs-devel
mailing list