Skip to content

Instantly share code, notes, and snippets.

@rsheeter
Created March 13, 2015 19:28
Show Gist options
  • Save rsheeter/5b692cf56eb5d8d54bfe to your computer and use it in GitHub Desktop.
Save rsheeter/5b692cf56eb5d8d54bfe to your computer and use it in GitHub Desktop.
A font that fails OTS in TTX form
<?xml version="1.0" encoding="utf-8"?>
<ttFont sfntVersion="\x00\x01\x00\x00" ttLibVersion="2.4">
<GlyphOrder>
<!-- The 'id' attribute is only for humans; it is ignored when parsed. -->
<GlyphID id="0" name=".notdef"/>
<GlyphID id="1" name="space"/>
</GlyphOrder>
<head>
<!-- Most of this table will be recalculated by the compiler -->
<tableVersion value="1.0"/>
<fontRevision value="2.0"/>
<checkSumAdjustment value="0xc72a9fb2"/>
<magicNumber value="0x5f0f3cf5"/>
<flags value="00000000 00001001"/>
<unitsPerEm value="2048"/>
<created value="Mon Oct 1 16:59:48 2012"/>
<modified value="Tue Oct 2 17:01:21 2012"/>
<xMin value="-211"/>
<yMin value="-652"/>
<xMax value="2027"/>
<yMax value="2424"/>
<macStyle value="00000000 00000000"/>
<lowestRecPPEM value="8"/>
<fontDirectionHint value="2"/>
<indexToLocFormat value="0"/>
<glyphDataFormat value="0"/>
</head>
<hhea>
<tableVersion value="1.0"/>
<ascent value="2444"/>
<descent value="-591"/>
<lineGap value="0"/>
<advanceWidthMax value="2204"/>
<minLeftSideBearing value="-126"/>
<minRightSideBearing value="-256"/>
<xMaxExtent value="1921"/>
<caretSlopeRise value="1"/>
<caretSlopeRun value="0"/>
<caretOffset value="0"/>
<reserved0 value="0"/>
<reserved1 value="0"/>
<reserved2 value="0"/>
<reserved3 value="0"/>
<metricDataFormat value="0"/>
<numberOfHMetrics value="2"/>
</hhea>
<maxp>
<!-- Most of this table will be recalculated by the compiler -->
<tableVersion value="0x10000"/>
<numGlyphs value="2"/>
<maxPoints value="119"/>
<maxContours value="5"/>
<maxCompositePoints value="125"/>
<maxCompositeContours value="4"/>
<maxZones value="2"/>
<maxTwilightPoints value="40"/>
<maxStorage value="54"/>
<maxFunctionDefs value="106"/>
<maxInstructionDefs value="0"/>
<maxStackElements value="158"/>
<maxSizeOfInstructions value="2402"/>
<maxComponentElements value="3"/>
<maxComponentDepth value="2"/>
</maxp>
<OS_2>
<version value="1"/>
<xAvgCharWidth value="797"/>
<usWeightClass value="400"/>
<usWidthClass value="5"/>
<fsType value="00000000 00000000"/>
<ySubscriptXSize value="1331"/>
<ySubscriptYSize value="1433"/>
<ySubscriptXOffset value="0"/>
<ySubscriptYOffset value="286"/>
<ySuperscriptXSize value="1331"/>
<ySuperscriptYSize value="1433"/>
<ySuperscriptXOffset value="0"/>
<ySuperscriptYOffset value="983"/>
<yStrikeoutSize value="102"/>
<yStrikeoutPosition value="530"/>
<sFamilyClass value="0"/>
<panose>
<bFamilyType value="2"/>
<bSerifStyle value="0"/>
<bWeight value="5"/>
<bProportion value="3"/>
<bContrast value="0"/>
<bStrokeVariation value="0"/>
<bArmStyle value="0"/>
<bLetterForm value="0"/>
<bMidline value="0"/>
<bXHeight value="0"/>
</panose>
<ulUnicodeRange1 value="10100000 00000000 00000000 01101111"/>
<ulUnicodeRange2 value="01000000 00000000 00000000 01001011"/>
<ulUnicodeRange3 value="00000000 00000000 00000000 00000000"/>
<ulUnicodeRange4 value="00000000 00000000 00000000 00000000"/>
<achVendID value="newt"/>
<fsSelection value="00000000 01000000"/>
<fsFirstCharIndex value="32"/>
<fsLastCharIndex value="64258"/>
<sTypoAscender value="2444"/>
<sTypoDescender value="-591"/>
<sTypoLineGap value="0"/>
<usWinAscent value="2444"/>
<usWinDescent value="591"/>
<ulCodePageRange1 value="00000000 00000000 00000000 10010011"/>
<ulCodePageRange2 value="00000000 00000000 00000000 00000000"/>
</OS_2>
<hmtx>
<mtx name=".notdef" width="748" lsb="68"/>
<mtx name="space" width="416" lsb="0"/>
</hmtx>
<cmap>
<tableVersion version="0"/>
<cmap_format_4 platformID="0" platEncID="3" language="0">
<map code="0x20" name="space"/><!-- SPACE -->
</cmap_format_4>
<cmap_format_4 platformID="3" platEncID="1" language="0">
<map code="0x20" name="space"/><!-- SPACE -->
</cmap_format_4>
</cmap>
<loca>
<!-- The 'loca' table will be calculated by the compiler -->
</loca>
<glyf>
<!-- The xMin, yMin, xMax and yMax values
will be recalculated by the compiler. -->
<TTGlyph name=".notdef"/><!-- contains no outline data -->
<TTGlyph name="space"/><!-- contains no outline data -->
</glyf>
<name>
<namerecord nameID="1" platformID="3" platEncID="1" langID="0x409">
Oswald
</namerecord>
<namerecord nameID="2" platformID="3" platEncID="1" langID="0x409">
Regular
</namerecord>
<namerecord nameID="3" platformID="3" platEncID="1" langID="0x409">
vernonadams: Oswald Light: 2011-12
</namerecord>
<namerecord nameID="4" platformID="3" platEncID="1" langID="0x409">
Oswald Regular
</namerecord>
<namerecord nameID="5" platformID="3" platEncID="1" langID="0x409">
Version 2.002; ttfautohint (v0.92.18-e454-dirty) -l 8 -r 50 -G 200 -x 0 -w "g"
</namerecord>
<namerecord nameID="6" platformID="3" platEncID="1" langID="0x409">
Oswald-Regular
</namerecord>
<namerecord nameID="14" platformID="3" platEncID="1" langID="0x409">
http://scripts.sil.org/OFL
</namerecord>
</name>
<post>
<formatType value="3.0"/>
<italicAngle value="0.0"/>
<underlinePosition value="0"/>
<underlineThickness value="0"/>
<isFixedPitch value="0"/>
<minMemType42 value="0"/>
<maxMemType42 value="0"/>
<minMemType1 value="0"/>
<maxMemType1 value="0"/>
</post>
<gasp>
<gaspRange rangeMaxPPEM="65535" rangeGaspBehavior="15"/>
</gasp>
<GDEF>
<Version value="1.0"/>
<GlyphClassDef>
<ClassDef glyph="space" class="1"/>
</GlyphClassDef>
<MarkAttachClassDef>
<ClassDef glyph=".notdef" class="0"/>
</MarkAttachClassDef>
</GDEF>
<GPOS>
<Version value="1.0"/>
<ScriptList>
<!-- ScriptCount=0 -->
</ScriptList>
<FeatureList>
<!-- FeatureCount=0 -->
</FeatureList>
<LookupList>
<!-- LookupCount=0 -->
</LookupList>
</GPOS>
<GSUB>
<Version value="1.0"/>
<ScriptList>
<!-- ScriptCount=0 -->
</ScriptList>
<FeatureList>
<!-- FeatureCount=0 -->
</FeatureList>
<LookupList>
<!-- LookupCount=0 -->
</LookupList>
</GSUB>
</ttFont>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment