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

BaseFont and FontName must be equals?

$
0
0

I have trouble with an PDF/A document and some readers we are using:

 

- Acrobat (Reader) 9.X works fine

- Acrobat (Reader) 6.X and our own inhouse reader have problems

 

I tracked it down to the following part:

 

10 0 obj
<</LastChar 255/BaseFont/TimesNewRomanPSMT/Type/Font/Encoding/WinAnsiEncoding/Subtype/TrueType/FirstChar 0/FontDescriptor 11 0 R/Widths[...<removed the numers in here>...]>>
endobj

 

11 0 obj

<</CapHeight 666/FontBBox[-1164 -628 4096 2062]/Type/FontDescriptor/Descent -442/FontFile2 33 0 R/StemV 87/Flags 32/Ascent 1420/FontName/Times#20New#20Roman/ItalicAngle 0>>
endobj

 

The problem is the /FontName of the FontDescriptor contains "Times#20New#20Roman".

 

In the pdf spec i read:

 

BaseFont: "The PostScript name of the font. For Type 1 fonts, this is  always the value of the FontName entry in the font program"

FontName: "The PostScript name of the font. This name shall be the same as the value of BaseFont in the font or CIDFont dictionary that refers to this font descriptor."

 

=> Thus the BaseFont and the FontName must have the same value?

=> Is that "#20" (= a blank?) even allowed inside the FontName?

 

Thanks for the help,

ToM


Viewing all articles
Browse latest Browse all 46145

Trending Articles



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