Beispiel #1
0
        public static new CFFFDSelect0 Read(BinaryReaderFont reader)
        {
            CFFFDSelect0 value = new CFFFDSelect0 {
                format = reader.ReadByte()
            };

            return(value);
        }
Beispiel #2
0
        public static CFFFDSelect Read(BinaryReaderFont reader)
        {
            CFFFDSelect fdSelect = null;
            byte        format   = reader.PeekByte();

            switch (format)
            {
            case 0:
                fdSelect = CFFFDSelect0.Read(reader);
                break;

            case 3:
                fdSelect = CFFFDSelect3.Read(reader);
                break;
            }
            return(fdSelect);
        }