CID (Character ID) fonts are a font format developed by Adobe for handling large character sets, particularly for East Asian languages (Chinese, Japanese, Korean). Unlike traditional fonts that map glyphs to a simple byte (like ASCII), CIDFonts map to a 16-bit or 32-bit character ID, allowing thousands of glyphs.
However, PDFs also use generic placeholder names for CIDFonts when the original font cannot be embedded or identified. That’s where F1, F2, F3, F4, F5, and F6 come in.
Check Ghostscript can see the fonts:
gs -h | grep -i font
gs -c "(/F1) findfont == quit" 2>&1 | grep -i F1
Check with pdffonts on a test PDF that uses F1–F6.
Similar to Linux, but paths change:
fc-cache -fv echo "CIDFont mapping for F1-F6 installed."
Run with sudo bash fix-cidfonts.sh.