예제 #1
0
        public static GlyphBitmapData9 Read(BinaryReaderFont reader)
        {
            GlyphBitmapData9 value = new GlyphBitmapData9 {
                bigMetrics    = BigGlyphMetrics.Read(reader),
                numComponents = reader.ReadUInt16()
            };

            value.components = EbdtComponent.ReadArray(reader, value.numComponents);
            return(value);
        }
예제 #2
0
        public static GlyphBitmapData8 Read(BinaryReaderFont reader)
        {
            GlyphBitmapData8 value = new GlyphBitmapData8 {
                smallMetrics  = SmallGlyphMetrics.Read(reader),
                pad           = reader.ReadByte(),
                numComponents = reader.ReadUInt16()
            };

            value.components = EbdtComponent.ReadArray(reader, value.numComponents);
            return(value);
        }