public UInt32 CMAPOffset; //第一个CMAP的起始地址 public FINF(EndianBinaryReader er) { Signature = er.ReadString(System.Text.Encoding.ASCII, 4); //FINF SectionSize = er.ReadUInt32(); FontType = er.ReadByte(); //01 LineFeed = er.ReadByte(); //28 Width = er.ReadByte(); Ascent = er.ReadByte(); Padding = er.ReadByte(); Height = er.ReadByte(); AlterCharIndex = er.ReadUInt16(); DefaultWidth = new CharWidthInfo(er); Encoding = er.ReadByte(); TGLPOffset = er.ReadUInt32(); CWDHOffset = er.ReadUInt32(); CMAPOffset = er.ReadUInt32(); }
public CharWidthInfo(EndianBinaryReader er) { Left = er.ReadSByte(); GlyphWidth = er.ReadByte(); CharWidth = er.ReadByte(); }