public static new CFFCharset1 Read(BinaryReaderFont reader, int count) { CFFCharset1 value = new CFFCharset1 { format = reader.ReadByte() }; value.Range1 = CFFRange1.ReadArray(reader, count); return(value); }
public static CFFCharset Read(BinaryReaderFont reader, int count) { CFFCharset charset = null; byte format = reader.PeekByte(); switch (format) { case 0: charset = CFFCharset0.Read(reader); break; case 1: charset = CFFCharset1.Read(reader, count); break; case 2: charset = CFFCharset2.Read(reader, count); break; } return(charset); }