public static EbdtComponent Read(BinaryReaderFont reader) { return(new EbdtComponent { glyphID = reader.ReadUInt16(), xOffset = reader.ReadSByte(), yOffset = reader.ReadSByte() }); }
public static SmallGlyphMetrics Read(BinaryReaderFont reader) { return(new SmallGlyphMetrics { height = reader.ReadByte(), width = reader.ReadByte(), bearingX = reader.ReadSByte(), bearingY = reader.ReadSByte(), advance = reader.ReadByte() }); }
public static BigGlyphMetrics Read(BinaryReaderFont reader) { return(new BigGlyphMetrics { height = reader.ReadByte(), width = reader.ReadByte(), horiBearingX = reader.ReadSByte(), horiBearingY = reader.ReadSByte(), horiAdvance = reader.ReadByte(), vertBearingX = reader.ReadSByte(), vertBearingY = reader.ReadSByte(), vertAdvance = reader.ReadByte() }); }
public static SbitLineMetrics Read(BinaryReaderFont reader) { return(new SbitLineMetrics { ascender = reader.ReadSByte(), descender = reader.ReadSByte(), widthMax = reader.ReadByte(), caretSlopeNumerator = reader.ReadSByte(), caretSlopeDenominator = reader.ReadSByte(), caretOffset = reader.ReadSByte(), minOriginSB = reader.ReadSByte(), minAdvanceSB = reader.ReadSByte(), maxBeforeBL = reader.ReadSByte(), minAfterBL = reader.ReadSByte(), pad1 = reader.ReadSByte(), pad2 = reader.ReadSByte() }); }