@Override public String toString() { return new StringBuilder() .append("'head' Table - Font Header\n--------------------------") .append("\n 'head' version: ").append(Fixed.floatValue(_versionNumber)) .append("\n fontRevision: ").append(Fixed.roundedFloatValue(_fontRevision, 8)) .append("\n checkSumAdjustment: 0x").append(Integer.toHexString(_checkSumAdjustment).toUpperCase()) .append("\n magicNumber: 0x").append(Integer.toHexString(_magicNumber).toUpperCase()) .append("\n flags: 0x").append(Integer.toHexString(_flags).toUpperCase()) .append("\n unitsPerEm: ").append(_unitsPerEm) .append("\n created: ").append(_created) .append("\n modified: ").append(_modified) .append("\n xMin: ").append(_xMin) .append("\n yMin: ").append(_yMin) .append("\n xMax: ").append(_xMax) .append("\n yMax: ").append(_yMax) .append("\n macStyle bits: ").append(Integer.toHexString(_macStyle).toUpperCase()) .append("\n lowestRecPPEM: ").append(_lowestRecPPEM) .append("\n fontDirectionHint: ").append(_fontDirectionHint) .append("\n indexToLocFormat: ").append(_indexToLocFormat) .append("\n glyphDataFormat: ").append(_glyphDataFormat) .toString(); }
@Override public String toString() { return new StringBuilder() .append("'head' Table - Font Header\n--------------------------") .append("\n 'head' version: ").append(Fixed.floatValue(_versionNumber)) .append("\n fontRevision: ").append(Fixed.roundedFloatValue(_fontRevision, 8)) .append("\n checkSumAdjustment: 0x").append(Integer.toHexString(_checkSumAdjustment).toUpperCase()) .append("\n magicNumber: 0x").append(Integer.toHexString(_magicNumber).toUpperCase()) .append("\n flags: 0x").append(Integer.toHexString(_flags).toUpperCase()) .append("\n unitsPerEm: ").append(_unitsPerEm) .append("\n created: ").append(_created) .append("\n modified: ").append(_modified) .append("\n xMin: ").append(_xMin) .append("\n yMin: ").append(_yMin) .append("\n xMax: ").append(_xMax) .append("\n yMax: ").append(_yMax) .append("\n macStyle bits: ").append(Integer.toHexString(_macStyle).toUpperCase()) .append("\n lowestRecPPEM: ").append(_lowestRecPPEM) .append("\n fontDirectionHint: ").append(_fontDirectionHint) .append("\n indexToLocFormat: ").append(_indexToLocFormat) .append("\n glyphDataFormat: ").append(_glyphDataFormat) .toString(); }