MikTex 中的字体问题

MikTex 中的字体问题

不知何故,我的 MikTex 设置无法再找到我需要使用的字体。这是我从 pdflatex 收到的输出:

Here is how much of TeX's memory you used:
57805 strings out of 493305
1338018 string characters out of 4888868
3655927 words of memory out of 8000000
60187 multiletter control sequences out of 15000+200000
670341 words of font info for 116 fonts, out of 2000000 for 9000
1141 hyphenation exceptions out of 8191
73i,18n,96p,2026b,1997s stack positions out of 5000i,500n,10000p,200000b,50000s
{C:/Program Files/MiKTeX 2.9/fonts/enc/dvips/lm/lm-ec.enc}{C:/Program Files/M
iKTeX 2.9/fonts/enc/dvips/lm/lm-rm.enc}{C:/Program Files/MiKTeX 2.9/fonts/enc/d
vips/lm/lm-mathit.enc}{C:/Program Files/MiKTeX 2.9/fonts/enc/dvips/lm/lm-mathex
.enc}{C:/Program Files/MiKTeX 2.9/fonts/enc/dvips/lm/lm-mathsy.enc}{C:/Program 
Files/MiKTeX 2.9/fonts/enc/dvips/lm/lm-ts1.enc}{C:/Program Files/MiKTeX 2.9/fon
ts/enc/dvips/tex-gyre/q-ec.enc}<C:/Program Files/MiKTeX 2.9/fonts/type1/public/
lm/lmbx10.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/lm/lmex10.pfb><C:
/Program Files/MiKTeX 2.9/fonts/type1/public/lm/lmmi10.pfb><C:/Program Files/Mi
KTeX 2.9/fonts/type1/public/lm/lmmi6.pfb><C:/Program Files/MiKTeX 2.9/fonts/typ
e1/public/lm/lmmi8.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/lm/lmr10
.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/lm/lmr17.pfb><C:/Program F
iles/MiKTeX 2.9/fonts/type1/public/lm/lmr6.pfb><C:/Program Files/MiKTeX 2.9/fon
ts/type1/public/lm/lmr8.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/lm/
lmri10.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/lm/lmro10.pfb><C:/Pr
ogram Files/MiKTeX 2.9/fonts/type1/public/lm/lmro8.pfb><C:/Program Files/MiKTeX
2.9/fonts/type1/public/lm/lmro9.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/p
ublic/lm/lmss12.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/lm/lmssbx10
.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/lm/lmsy10.pfb><C:/Program 
Files/MiKTeX 2.9/fonts/type1/public/lm/lmsy8.pfb>
!pdfTeX error: pdflatex.exe (file qagb.pfb.pfb): cannot open Type 1 font file f
or reading
==> Fatal error occurred, no output PDF file produced!

我已经有几个命令来更新 fndb、fontmap 等等。

initexmfs --mkmaps
updmap

我尝试使用 MikTex 的 CLI 和 GUI,但似乎没有任何作用。

我觉得很奇怪,MikTex 似乎正在搜索“qagb.pfb.pfb”,该文件类型应该只出现一次,不是吗?

答案1

在错误的最后你可以看到 pdflatex 无法加载字体:

pdflatex.exe (file qagf.pfb.pfb): cannot open Type 1 font file f
or reading

字体名称是卡夫

字体配置在 cls 文件中。查找它并进行以下更改:

node[white] {{\fontfamily{qag}\selectfont \tiny ID}};

==>

node[white] {{\fontfamily{qagf}\selectfont \tiny ID}};

这对我来说有用。似乎有人忘记了“f”。

相关内容