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); }
public void Read(TTFReader r, uint tableSz) { this.instructions = r.ReadBytes((int)tableSz); }
public void Read(TTFReader r, int tableSize) { this.instructions = r.ReadBytes(tableSize); }
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); }