{"success":true,"data":{"ext":"amfm","name":"AMFM","description":"Adobe Font Metrics (AMFM) is a font metrics file format developed by Adobe Systems and maintained as part of Adobe’s font technology ecosystem. It is used to describe character widths and related typographic information for Adobe fonts, supporting text layout and font management in publishing and design workflows. The format is largely legacy, and although it is not typically associated with security risks, files from untrusted sources should still be handled with standard caution.","mime":["application/x-font-adobe-metric"],"risk_level":"Safe","signatures":[{"hex":"53 74 61 72 74 46 6F 6E 74 4D 65 74 72 69 63 73","offset":0,"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":["acfm","afm"],"usage":{"python":"def is_amfm(file_path: str) -> bool:\n    \"\"\"Check if file is a valid AMFM by magic bytes.\"\"\"\n    signature = bytes([0x53, 0x74, 0x61, 0x72, 0x74, 0x46, 0x6F, 0x6E, 0x74, 0x4D, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73])\n    with open(file_path, \"rb\") as f:\n        return f.read(16) == signature","node":"function isAMFM(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x53, 0x74, 0x61, 0x72, 0x74, 0x46, 0x6F, 0x6E, 0x74, 0x4D, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73]);\n  return buffer.subarray(0, 16).equals(signature);\n}","go":"func IsAMFM(data []byte) bool {\n    signature := []byte{0x53, 0x74, 0x61, 0x72, 0x74, 0x46, 0x6F, 0x6E, 0x74, 0x4D, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73}\n    if len(data) < 16 {\n        return false\n    }\n    return bytes.Equal(data[:16], signature)\n}"}}}