Пример #1
0
        static char [] ReadPanose(TTFReader r)
        {
            byte [] rb = r.ReadBytes(10);
            char [] rc =
                new char[]
            {
                (char)rb[0], (char)rb[1], (char)rb[2], (char)rb[3], (char)rb[4],
                (char)rb[5], (char)rb[6], (char)rb[7], (char)rb[8], (char)rb[9]
            };

            return(rc);
        }
Пример #2
0
 public void Read(TTFReader r, uint tableSz)
 {
     this.instructions = r.ReadBytes((int)tableSz);
 }
Пример #3
0
 public void Read(TTFReader r, int tableSize)
 {
     this.instructions = r.ReadBytes(tableSize);
 }
Пример #4
0
        public byte []      yPels;      // The vertical pel height at which the glyph can be assumed to scale linearly. On a per glyph basis.

        public void Read(TTFReader r)
        {
            r.ReadInt(out this.version);
            r.ReadInt(out this.numGlyphs);
            this.yPels = r.ReadBytes(this.numGlyphs);
        }