MiKTeX 更新后无法使用字体

MiKTeX 更新后无法使用字体

我制作了 isocpeur.ttf 字体(我早期的主题)能够在 LaTeX 中使用(MiKTeX字体.zip) 很久以前就使用了,直到昨天才成功使用。自 2019 年以来没有更新过我的 MiKTeX,所以决定更新它。

更新后我甚至无法编译最简单的文档(基本版) 因为这: 在此处输入图片描述

自从我更新 MiKTeX 以来发生了什么变化?我该如何修复它?


小的完整例子

\documentclass{extreport}

\begin{document}
\fontfamily{iso}
\selectfont
This is a test.
\end{document}

日志档案

This is pdfTeX, Version 3.141592653-2.6-1.40.24 (MiKTeX 21.12.10) 
(preloaded format=pdflatex 2022.1.26)  26 JAN 2022 14:47
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**./bdr.tex
(bdr.tex
LaTeX2e <2021-11-15> patch level 1
L3 programming layer <2022-01-21>
(C:\Users\user9\AppData\Local\Programs\MiKTeX 
2.9\tex/latex/extsizes\extreport.cls
Document Class: extreport 1996/10/08 v1.0 Non Standard LaTeX document 
class
(C:\Users\user9\AppData\Local\Programs\MiKTeX 
2.9\tex/latex/base\size10.clo
File: size10.clo 2021/10/04 v1.4n Standard LaTeX file (size option)
)
(C:\Users\user9\AppData\Local\Programs\MiKTeX 
2.9\tex/latex/base\exscale.sty
Package: exscale 2018/09/24 v2.1i Standard LaTeX package exscale
LaTeX Font Info:    Redeclaring symbol font `largesymbols' on input line 
57.
LaTeX Font Info:    Overwriting symbol font `largesymbols' in version 
`normal'
(Font)                  OMX/cmex/m/n --> OMX/cmex/m/n on input line 57.
LaTeX Font Info:    Overwriting symbol font `largesymbols' in version 
`bold'
(Font)                  OMX/cmex/m/n --> OMX/cmex/m/n on input line 57.
\big@size=\dimen138
)
\c@part=\count185
\c@chapter=\count186
\c@section=\count187
\c@subsection=\count188
\c@subsubsection=\count189
\c@paragraph=\count190
\c@subparagraph=\count191
\c@figure=\count192
\c@table=\count193
\abovecaptionskip=\skip47
\belowcaptionskip=\skip48
\bibindent=\dimen139
)
(C:\Users\user9\AppData\Local\Programs\MiKTeX 
2.9\tex/latex/l3backend\l3backend
-pdftex.def
File: l3backend-pdftex.def 2022-01-12 L3 backend support: PDF output 
(pdfTeX)
\l__color_backend_stack_int=\count194
\l__pdf_internal_box=\box50
)
No file bdr.aux.
\openout1 = `bdr.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for TS1/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Trying to load font information for OT1+iso on input 
line 5
.
(C:/Users/user9/MiKTeX ttfonts\tex/latex/microsoft/isocpeur\ot1iso.fd
File: ot1iso.fd 2016/11/13 Fontinst v1.933 font definitions for OT1/iso.
)
! Font OT1/iso/m/n/10=isor7t at 10.0pt not loadable: Metric (TFM) file 
not found.
<to be read again> 
                   relax 
l.5 \selectfont
               
? 
Missing character: There is no T in font nullfont!
Missing character: There is no h in font nullfont!
Missing character: There is no i in font nullfont!
Missing character: There is no s in font nullfont!
Missing character: There is no i in font nullfont!
Missing character: There is no s in font nullfont!
Missing character: There is no a in font nullfont!
Missing character: There is no t in font nullfont!
Missing character: There is no e in font nullfont!
Missing character: There is no s in font nullfont!
Missing character: There is no t in font nullfont!
Missing character: There is no . in font nullfont!
[1

{C:/Users/user9/AppData/Local/MiKTeX/2.9/fonts/map/pdftex/pdftex.map}]
(bdr.aux) ) 
Here is how much of TeX's memory you used:
482 strings out of 478555
10734 string characters out of 2840913
296675 words of memory out of 3000000
18749 multiletter control sequences out of 15000+600000
469259 words of font info for 28 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
41i,5n,48p,184b,109s stack positions out of 
5000i,500n,10000p,200000b,80000s
<C:/Users/user9/AppData/Local/Programs/MiKTeX 2.9/fonts/type1/public
/amsfonts/cm/cmr10.pfb>
Output written on bdr.pdf (1 page, 9261 bytes).
PDF statistics:
11 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)

小型完整示例\pdfmapfile{}

\documentclass{extreport}

\begin{document}
\pdfmapfile{=isocpeur.map}
\fontencoding{T1}
\fontfamily{iso}
\selectfont
This is a test.
\end{document}

日志档案

This is pdfTeX, Version 3.141592653-2.6-1.40.24 (MiKTeX 21.12.10) (preloaded format=pdflatex 2022.1.26)  26 JAN 2022 17:03
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**./bdr.tex
(bdr.tex
LaTeX2e <2021-11-15> patch level 1
L3 programming layer <2022-01-21>
(C:\Users\user9\AppData\Local\Programs\MiKTeX 2.9\tex/latex/extsizes\extreport.
cls
Document Class: extreport 1996/10/08 v1.0 Non Standard LaTeX document class
(C:\Users\user9\AppData\Local\Programs\MiKTeX 2.9\tex/latex/base\size10.clo
File: size10.clo 2021/10/04 v1.4n Standard LaTeX file (size option)
)
(C:\Users\user9\AppData\Local\Programs\MiKTeX 2.9\tex/latex/base\exscale.sty
Package: exscale 2018/09/24 v2.1i Standard LaTeX package exscale
LaTeX Font Info:    Redeclaring symbol font `largesymbols' on input line 57.
LaTeX Font Info:    Overwriting symbol font `largesymbols' in version `normal'
(Font)                  OMX/cmex/m/n --> OMX/cmex/m/n on input line 57.
LaTeX Font Info:    Overwriting symbol font `largesymbols' in version `bold'
(Font)                  OMX/cmex/m/n --> OMX/cmex/m/n on input line 57.
\big@size=\dimen138
)
\c@part=\count185
\c@chapter=\count186
\c@section=\count187
\c@subsection=\count188
\c@subsubsection=\count189
\c@paragraph=\count190
\c@subparagraph=\count191
\c@figure=\count192
\c@table=\count193
\abovecaptionskip=\skip47
\belowcaptionskip=\skip48
\bibindent=\dimen139
)
(C:\Users\user9\AppData\Local\Programs\MiKTeX 2.9\tex/latex/l3backend\l3backend
-pdftex.def
File: l3backend-pdftex.def 2022-01-12 L3 backend support: PDF output (pdfTeX)
\l__color_backend_stack_int=\count194
\l__pdf_internal_box=\box50
)
No file bdr.aux.
\openout1 = `bdr.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for TS1/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
{C:/Users/user9/AppData/Local/MiKTeX/2.9/fonts/map/pdftex/pdftex.map}

pdfTeX warning: pdflatex (file isocpeur.map): cannot open font map file
LaTeX Font Info:    Trying to load font information for T1+iso on input line 7.

(C:/Users/user9/MiKTeX ttfonts\tex/latex/microsoft/isocpeur\t1iso.fd
File: t1iso.fd 2016/11/13 Fontinst v1.933 font definitions for T1/iso.
) [1

]
(bdr.aux) ) 
Here is how much of TeX's memory you used:
 485 strings out of 478555
 10755 string characters out of 2840913
 296675 words of memory out of 3000000
 18749 multiletter control sequences out of 15000+600000
 469915 words of font info for 30 fonts, out of 8000000 for 9000
 1141 hyphenation exceptions out of 8191
 41i,5n,48p,184b,123s stack positions out of 5000i,500n,10000p,200000b,80000s

!pdfTeX error: pdflatex (file isor8r): Font isor8r at 600 not found
 ==> Fatal error occurred, no output PDF file produced!

答案1

在您的 中,zip地图文件isocpeur.map位于 文件夹中dvips\config。这是当前 TeX 系统中错误的文件夹。map文件应位于 的子文件夹中 fonts\map。例如fonts\map\dvips

相关内容