@@ -23,6 +23,8 @@ Date Author Change
2323using EPPlus . Fonts . OpenType . Tables . Name ;
2424using EPPlus . Fonts . OpenType . Tables . Os2 ;
2525using EPPlus . Fonts . OpenType . Tables . Post ;
26+ using EPPlus . Fonts . OpenType . Tables . Vhea ;
27+ using EPPlus . Fonts . OpenType . Tables . Vmtx ;
2628using System ;
2729using System . Collections . Generic ;
2830
@@ -42,12 +44,14 @@ public FontValidator()
4244 _validators . Add ( new HeadTableValidator ( ) ) ;
4345 _validators . Add ( new MaxpTableValidator ( ) ) ;
4446 _validators . Add ( new HheaTableValidator ( ) ) ;
47+ _validators . Add ( new VheaTableValidator ( ) ) ;
4548 _validators . Add ( new NameTableValidator ( ) ) ;
4649 _validators . Add ( new Os2TableValidator ( ) ) ;
4750 _validators . Add ( new PostTableValidator ( ) ) ;
4851 _validators . Add ( new CmapTableValidator ( ) ) ;
4952 _validators . Add ( new LocaTableValidator ( ) ) ;
5053 _validators . Add ( new HmtxTableValidator ( ) ) ;
54+ _validators . Add ( new VmtxTableValidator ( ) ) ;
5155 _validators . Add ( new GlyfTableValidator ( ) ) ;
5256 _validators . Add ( new GsubTableValidator ( ) ) ;
5357 // Add more as needed...
@@ -56,12 +60,14 @@ public FontValidator()
5660 _tableAccessors . Add ( typeof ( HeadTable ) , delegate ( OpenTypeFont font ) { return font . HeadTable ; } ) ;
5761 _tableAccessors . Add ( typeof ( MaxpTable ) , delegate ( OpenTypeFont font ) { return font . MaxpTable ; } ) ;
5862 _tableAccessors . Add ( typeof ( HheaTable ) , delegate ( OpenTypeFont font ) { return font . HheaTable ; } ) ;
63+ _tableAccessors . Add ( typeof ( VheaTable ) , delegate ( OpenTypeFont font ) { return font . VheaTable ; } ) ;
5964 _tableAccessors . Add ( typeof ( NameTable ) , delegate ( OpenTypeFont font ) { return font . NameTable ; } ) ;
6065 _tableAccessors . Add ( typeof ( Os2Table ) , delegate ( OpenTypeFont font ) { return font . Os2Table ; } ) ;
6166 _tableAccessors . Add ( typeof ( PostTable ) , delegate ( OpenTypeFont font ) { return font . PostTable ; } ) ;
6267 _tableAccessors . Add ( typeof ( CmapTable ) , delegate ( OpenTypeFont font ) { return font . CmapTable ; } ) ;
6368 _tableAccessors . Add ( typeof ( LocaTable ) , delegate ( OpenTypeFont font ) { return font . LocaTable ; } ) ;
6469 _tableAccessors . Add ( typeof ( HmtxTable ) , delegate ( OpenTypeFont font ) { return font . HmtxTable ; } ) ;
70+ _tableAccessors . Add ( typeof ( VmtxTable ) , delegate ( OpenTypeFont font ) { return font . VmtxTable ; } ) ;
6571 _tableAccessors . Add ( typeof ( GlyfTable ) , delegate ( OpenTypeFont font ) { return font . GlyfTable ; } ) ;
6672 _tableAccessors . Add ( typeof ( GsubTable ) , delegate ( OpenTypeFont font ) { return font . GsubTable ; } ) ;
6773 }
0 commit comments