On Wed, Oct 14, 2009 at 12:43 PM, Ken Sharp <ken.sharp@arti...> wrote:
> At 12:16 14/10/2009 -0400, Levi wrote:
>> 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?).
> If the PDF file contains the fonts, then you don't need to add them to GS, it will use the ones in the PDF file. Containing both is not really ideal, it (probably, would need to see the file to be sure) means that you have a regular TrueType font and a CIDFont with TrueType outlines, with the same name (maybe, they might be subset).
I apologize, I forgot to mention that the fonts are NOT embedded in
the document. They are copyrighted. I have the fonts installed on my
system in C:\windows\fonts.
>> 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 think you mean get GS to use the fonts you have, not emulate.
I was having trouble getting GS to use the fonts that I have. I
added the following entry into my gs\gs8.63\lib\Fontmap.GS file (I
removed the entries I had made to cdifontmap before doing this):
/ArabicTransparent-Bold (artrbdo.ttf) ;
/ArabicTransparent (artro.ttf) ;
After doing so, I get the following error / stack:
> You probably need to add the fonts as Fonts, not CIDFonts, at a guess. This will mean editing fontmap.GS (not cidfmap) in your gs/Resource/Init directory.
I should also mention that in my gs folder I do not have a
/Resource/Init directory. In fact, I did not even have a Resource
directory, but I created one by copying the Resource directory that
was in c:\program files\Adobe\Reader 8.0\Resource to see if that would
help with the CID font. Again, thanks for the quick response and it
sounds like using the straight TTF is what I need but I am obviously
doing it wrong.