[gs-devel] ArabicTransparent and ArabicTransparent-Bold Fonts

Levi skankwilsonite at gmail.com
Wed Oct 14 09:16:46 PDT 2009


I am using the following command to convert PDF images into CCITT4 TIFF
images:
gswin32c.exe -dPrinted -dBATCH -dPDFFitPage -dUseCropBox -dNOPAUSE
-dDITHERPPI=100 -sDEVICE=tiffg4 -r600x600 -sOutputFile="c:\temp\arabic.tif"
"C:\temp\arabic.pdf"

The PDF contains ArabicTransparent and ArabicTransparent-Bold fonts (the PDF
also lists for both of those the corresponding xxx-Identity-H fonts, but I'm
guessing that just means it's a CID?).  I really don't have a clue what I'm
doing, but what I'm trying to do (if this is the proper approach) is to get
ghostscript to emulate the TrueType fonts that I have.  I have made the
following entries into the cidfmap file:

/ArabicTransparent-Bold << /FileType /TrueType /Path
(c:/windows/fonts/artrbdo.ttf) /CSI [(CNS1) 4] >> ;
/ArabicTransparent << /FileType /TrueType /Path (c:/windows/fonts/artro.ttf)
/CSI [(CNS1) 4] >> ;

Before adding those entries, I would get the following error:

Substituting CID font resource/Adobe-Identity for /ArabicTransparent.
Error: /undefinedresource in findresource

After adding those entries, the TIF is generated, but the fonts appear as
blocks which means either you can't do it this way or I am using the wrong
parameters for /CIS.  Any help would be tremendously appreciated.

Thanks in advance,

Levi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ghostscript.com/pipermail/gs-devel/attachments/20091014/7e9de5f8/attachment.html


More information about the gs-devel mailing list