<?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.5 Font subsets - CharSet entry in Type1 subsets</name>
    <description>For all Type 1 font subsets referenced within a conforming file, the font descriptor dictionary shall include a CharSet string
	listing the character names defined in the font subset, as described in PDF Reference Table 5.18</description>
    <creator>veraPDF Consortium</creator>
    <created>2015-09-01T18:25:27Z</created>
    <hash>sha-1 hash code</hash>
    <rules>
		<rule id="6-3-5-t02" object="PDType1Font">
			<description>For all Type 1 font subsets referenced within a conforming file, the font descriptor dictionary shall include a CharSet string
			listing the character names defined in the font subset, as described in PDF Reference Table 5.18</description>
			<test>BaseFont.search(/[A-Z]{6}\+/) != 0 || CharSet != null</test>
			<error>
				<message>A Type1 font subset does not define CharSet entry in its Descriptor dictionary</message>
			</error>
			<reference>
				<specification>ISO19005-1</specification>
				<clause>6.3.5</clause>
				<reference>
					<specification>PDF 1.4 Reference</specification>
					<clause>5.5.3</clause>
				</reference>
			</reference>
		</rule>
	</rules>
</profile>
