Перейти к содержанию

Cidfont F1 F2 F3 F4 F5 F6 Install

Create a simple test.ps:

/F1 findfont 12 scalefont setfont
100 700 moveto (F1 CIDFont test) show
/F2 findfont 12 scalefont setfont
100 680 moveto (F2 CIDFont test) show
showpage

Convert to PDF:

ps2pdf test.ps test.pdf

No font errors = success.


fc-cache -fv echo "CIDFont mapping for F1-F6 installed."

Run with sudo bash fix-cidfonts.sh.


Run this command to see which CIDFonts your PDF expects:

pdffonts problem.pdf

Sample output:

name           type         encoding     emb sub uni object ID
-------------- ------------ ------------ --- --- --- ---------
F1             CID Type 0   Identity-H   yes no  no       4
F2             CID Type 0   Identity-H   yes no  no       5
F3             CID Type 0   Identity-H   yes no  no       6

Here, F1, F2, F3 are embedded subsets. If they are not embedded (emb no), you must install matching system fonts.


×
×
  • Создать...