[gs-devel] ArabicTransparent and ArabicTransparent-Bold Fonts

Ken Sharp ken.sharp at artifex.com
Thu Oct 15 06:44:00 PDT 2009


At 09:15 15/10/2009 -0400, Levi wrote:

>I'm attaching the two fonts that enable me to see the PDFs in Adobe
>Reader as well as Foxit Reader.  Note that they are copyrighted so
>they're not embeddable.

I can only use the PDF file you sent as a test and that only references one 
of the fonts, ArabicTransparent. However, if I add this to my cidfmap in 
/gs/Resource/Init/cidfmap:

/ArabicTransparent << /CSI [(Identity) 0] /Path (c:/temp/artro.ttf) 
/SubfontID 0 /FileType /TrueType >> ;

and then invoke GS using:

gs -I/gs/Resource/Init;/gs/Resource arabic.pdf

The resulting file appears to be OK. At least, it contains Arabic text, 
looks like 'Nastaliq' style cursive script, but has word spaces which I 
thought was undesirable, but then I'm not an Arabic speaker (also the 
resolution I'm using is rather low). Perhaps the spacing of the glyphs is 
incorrect.

NB I also needed to add this font to my fontmap.GS file, but from your 
previous email this seems to have been done for you at install time, so if 
you use the example above, and duplicate that line, with appropriate 
substitutions, for the ArabicTransparent-Bold font, then the file should work.

                 Ken

PS the lack of a ToUnicode CMap in the original PDF file will prevent 
cut+paste from the file working correctly.


More information about the gs-devel mailing list