Quantcast
Channel: Adobe Community : Popular Discussions - PDF Language and Specifications
Viewing all articles
Browse latest Browse all 46145

Parent/child fonts problem

$
0
0

Hi all

 

I'm developing a program which has been writing out servicable PDF files for a few months, with embedded Truetype fonts; the files open without problem and display correctly. However, I am now trying to write out parent/child fonts (to allow character sets other than Latin) and I'm running into problems, even though I think I'm obeying the PDF spec.

 

Specifically, when I open the PDF, my font is not used. In the Document properties, Fonts tab, only the parent font is displayed, and at the bottom of the dialog, the following appears: "Gathering font information... (0%)".

 

Presumably, that means there is at least one mistake in my font declarations. The relevant sections from my PDF are as follows; I wonder if anyone can see anything obviously wrong? Note that there are many more figures in object 5's width collection, but I have removed them for the sake of brevity.

4 0 obj

<</Type/Font/Subtype/Type0/BaseFont/d+TraditionalArabicBold,Bold

/Encoding/Identity-H/DescendantFonts [5 0 R ]>>

endobj

 

5 0 obj

<</Type/Font/Subtype/CIDFontType2/BaseFont/d+TraditionalArabicBold,Bol d/CIDSystemInfo<</Supplement 0/Ordering(Identity)/Registry(Adobe)>>

/FontDescriptor 6 0 R

/Widths [244 244 244 244 244

]

>>

endobj

 

6 0 obj

<</Type/FontDescriptor/FontName/d+TraditionalArabicBold,Bold

/FontFile2 7 0 R

/Flags 32 /FontBBox [-120 -195 994 914] /MissingWidth 500 /StemV 120 /ItalicAngle 0 /CapHeight 1023 /XHeight 511 /Ascent 1023 /Descent -510 /MaxWidth 1063 /AvgWidth 482>>

endobj

Is there anything obviously wrong here?

 

Thanks in advance for any help you can give.

 

Rob


Viewing all articles
Browse latest Browse all 46145

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>