{"success":true,"data":{"ext":"acfm","name":"ACFM","description":"Adobe Composite Font Metrics (ACFM) is a font metric file format created and maintained by Adobe for describing the properties of composite fonts. It is used by Adobe and compatible publishing, typesetting, and print workflows to support font substitution, character mapping, and text layout. The format is legacy and primarily associated with older PostScript and Adobe Font development tools; files are generally safe, though they should be handled cautiously if received from untrusted sources.","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":["afm","amfm"],"usage":{"python":"def is_acfm(file_path: str) -> bool:\n    \"\"\"Check if file is a valid ACFM 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 isACFM(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 IsACFM(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}"}}}