Question
FDK errors while validating the font
Hello, <br /><br />I am using FDF toolkit to test some CFF and OpenType(CFF) fonts, but I am getting mixed messages. <br /><br />The CFF font (http://www.pdftron.com/pub/cfftest.zip) is actually a CID font and is using a single range (0, 0xFFFF) in the Charset dictionary of CFF font. <br /><br />When I run or CFFChecker (using the older FDK) I get lots of information (see below). Also FDK tools can successfully embed/render the CFF font in PDF. However, spot and some other tools report errors when I try to dump the CFF table saying that there is an error in CFF data.<br /><br />So are 'spot' and other FDK tools able to handle this type of CFF fonts (i.e. the fonts that use CID map as described above)? Is there anything wrong with this font? Are there any other resources that can help us to validate Adobe CFF format?<br /><br />Thank You, <br /><br />IvanN<br /><br />-------------<br />C:\>python CFFChecker.py<br /><br />Imported txlib v.1.5.4750<br />-dcf -y <br />### Header (00000000-00000003)<br />major =1<br />minor =0<br />hdrSize=4<br />offSize=4<br />### Name INDEX (00000004-00000014)<br />--- object[index]={value}<br />[0]={IK_FNT}<br />### Top DICT INDEX (00000015-00000055)<br />--- object[index]={value}<br />[0]={<br />393 394 0 ROS<br />391 FullName<br />392 FamilyName<br />0 0 1000 1000 FontBBox<br />0.001 0 0 0.001 0 0 FontMatrix<br />1 StrokeWidth<br />142 charset<br />155 CharStrings<br />17 CIDCount<br />1108 FDArray<br />147 FDIndex<br />}<br />### String INDEX (00000056-0000008b)<br />--- object[index]={value}<br />[391]={IK_FNT}<br />[392]={IK_FNTFamily}<br />[393]={Adobe}<br />[394]={Identity}<br />### GlobalSubrINDEX (0000008c-0000008d)<br />empty<br />### Charset (0000008e-00000092)<br />format=2<br />--- Range2[index]={first,nLeft}<br />[0]={1,16}<br />### FDSelect (00000093-0000009a)<br />format =3<br />nRanges=1<br />--- Range3[index]={first,fd}<br />[0]={0,0}<br />sentinel=17<br />### FDArray INDEX (00000454-00000483)<br />--- object[index]={value}<br />[0]={<br />391 FullName<br />392 FamilyName<br />0 0 1000 1000 FontBBox<br />0.001 0 0 0.001 0 0 FontMatrix<br />1 StrokeWidth<br />391 FontName<br />0 0 Private<br />}<br />### CharStrings INDEX (0000009b-00000453)<br />--- object[index]={value}<br />[0]={<br />100 10 12 rmoveto<br />120 133 rlineto<br />endchar<br />}<br />[1]={<br />150 10 12 rmoveto<br />120 133 rlineto<br />endchar<br />} <br />... <snip> ...<br />}<br />### Private DICT (00000000-ffffffff)
