[gs-devel] ArabicTransparent and ArabicTransparent-Bold
ken.sharp at artifex.com
Thu Oct 15 07:24:36 PDT 2009
At 10:05 15/10/2009 -0400, Levi wrote:
>I apologize if I am being obtuse, but on my system I do not know how
>to get this to run like you did. First off, I don't have a gs, but
>gswin32 which I'm guessing is not a big deal,
Means you are using Windows, not Linux :-)
> but most importantly I
>don't have an Init folder in my Resource folder in c:\program
It wouldn't be in gs8.63\bin, it would be in gs8.63\Resource
> This is why I am wondering if my installation or
>something is not setup correctly?
Well, I'm not certain how the installer works for Windows, its not
something Artifex supports directly, its done by Ghostgum in Australia.
If you go and get the Ghostscript sources then you will also get the
support files. Since you don't have these I'm assuming that your version of
GS is compiled to use a ROM file system.
>However, when I do run gswin32.exe c:\temp\arabic.pdf it loads the pdf
>if I use (Unicode) 1 but the text is still wrong...but when I modify
>cidfmap to be what have above (Identity) 0, it does not work at all
>C: >>gswin32c.exe -dPrinted -dBATCH -dPDFFitPage -dUseCropBox
>-dNOPAUSE -dDITHERPPI=100 -sDEVICE=tiffg4 -r72x72
>GPL Ghostscript 8.63 (2008-08-01)
>Copyright (C) 2008 Artifex Software, Inc. All rights reserved.
>This software comes with NO WARRANTY: see the file PUBLIC for details.
>Processing pages 1 through 1.
>Loading a TT font from c:/windows/fonts/artro.ttf to emulate a CID
>font ArabicTransparent ... Done.
>Can't build /Identity.Unicode /CIDDecoding resource. See gs_ciddc.ps .
>Error: /undefinedresource in findresource
Well that's simple enough, your version of Ghostscript is too old to handle
Identity decodings. I added that code in July this year so it should be
present in the 8.70 release. Note that this relies on both source code
changes and support file changes, so you need a complete new copy of GS.
There's more detail on the change here:
Probably more detail than you want to read ;-)
>Since that displays, does that mean you can do my original command to
>convert it to a ccitt4 tiff file and it works too?
Yes that works for me, once it works to any device it should generally work
to all devices.
>I may be able to send you the original document, but I need to clear that
I don't think that's necessary, you just need a more recent version of GS
and the Identity decoding will work, everything should be fine after that.
More information about the gs-devel