{"success":true,"data":{"ext":"eot","name":"EOT","description":"Embedded OpenType (EOT) is a font file format developed by Microsoft for packaging and delivering TrueType fonts for web use. It is used primarily to embed fonts in websites and documents, ensuring consistent text rendering in browsers and applications that support the format. EOT is a legacy web font format with limited modern adoption; like other font files, it should be obtained from trusted sources because malformed fonts can expose parsing vulnerabilities.","mime":["application/vnd.ms-fontobject"],"risk_level":"Safe","signatures":[{"hex":"02 00 02 00","offset":8,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]}],"related":["afm","otf","pfa","pfb","pfm","ttc"],"usage":{"python":"def is_eot(file_path: str) -> bool:\n    \"\"\"Check if file is a valid EOT by magic bytes at offset 8.\"\"\"\n    signature = bytes([0x02, 0x00, 0x02, 0x00])\n    with open(file_path, \"rb\") as f:\n        f.seek(8)\n        return f.read(4) == signature","node":"function isEOT(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x02, 0x00, 0x02, 0x00]);\n  if (buffer.length < 12) return false;\n  return buffer.subarray(8, 12).equals(signature);\n}","go":"func IsEOT(data []byte) bool {\n    signature := []byte{0x02, 0x00, 0x02, 0x00}\n    if len(data) < 12 {\n        return false\n    }\n    return bytes.Equal(data[8:12], signature)\n}"},"category":"Fonts"}}