{"success":true,"data":{"ext":"pfb","name":"PFB","description":"PFB (Printer Font Binary) is a binary file format for Adobe Type 1 fonts, originally developed by Adobe Systems and maintained as part of the Type 1 font ecosystem. It is used to distribute outline fonts for PostScript printing, desktop publishing, and legacy software that supports Type 1 font installation. The format is largely obsolete, and modern operating systems may provide limited or no native support; files from untrusted sources should still be handled cautiously.","mime":["application/x-font-type1"],"risk_level":"Safe","signatures":[{"hex":"80 01","offset":0,"sources":[{"name":"Adobe Type 1 Font Format (PFB segment header)","url":"https://adobe-type-tools.github.io/font-tech-notes/pdfs/T1_SPEC.pdf"}]},{"hex":"80 01 FF FF 00 00 25 21 50 53 2D 41 64 6F 62 65 46 6F 6E 74","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"}]},{"hex":"25 21 50 53 2D 41 64 6F 62 65 46 6F 6E 74 2D 31 2E 30","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":["pfa","afm","eot","otf","pfm","ttc"],"usage":{"python":"def is_pfb(file_path: str) -> bool:\n    \"\"\"Check if file is a valid PFB by magic bytes.\"\"\"\n    signature = bytes([0x80, 0x01])\n    with open(file_path, \"rb\") as f:\n        return f.read(2) == signature","node":"function isPFB(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x80, 0x01]);\n  return buffer.subarray(0, 2).equals(signature);\n}","go":"func IsPFB(data []byte) bool {\n    signature := []byte{0x80, 0x01}\n    if len(data) < 2 {\n        return false\n    }\n    return bytes.Equal(data[:2], signature)\n}"},"category":"Fonts"}}