<?xml version="1.0" encoding="UTF-8"?>
<profile xmlns="http://www.verapdf.org/ValidationProfile" model="org.verapdf.model.PDFA1a">
    <name>ISO 19005-1:2005 - 6.3.3 Composite fonts - CIDToGIDMap</name>
    <description>For all Type 2 CIDFonts, the CIDFont dictionary shall contain a CIDToGIDMap entry that shall be a stream mapping 
	from CIDs to glyph indices or the name Identity, as described in PDF Reference Table 5.13</description>
    <creator>veraPDF Consortium</creator>
    <created>2015-07-04T12:20:18Z</created>
    <hash>sha-1 hash code</hash>
    <rules>
		<rule id="6-3-3-t02" object="PDCIDFont">
			<description>For all Type 2 CIDFonts, the CIDFont dictionary shall contain a CIDToGIDMap entry that shall be a stream mapping 
			from CIDs to glyph indices or the name Identity, as described in PDF Reference Table 5.13</description>
			<test>Subtype != "CIDFontType2" || CIDToGIDMap != null</test>
			<error>
				<message>A Type 2 CIDFont dictionary has missing or invalid CIDToGIDMap entry</message>
			</error>
			<reference>
				<specification>ISO19005-1</specification>
				<clause>6.3.3.2</clause>
				<reference>
					<specification>PDF 1.4 Reference</specification>
					<clause>5.6.3 - Table 5.13</clause>
				</reference>
			</reference>
		</rule>
	</rules>
</profile>
