xdvipdfmx 运行期间无法找到虚拟/物理字体 ecrm1095(使用 install-tl 安装的 TexLive)

xdvipdfmx 运行期间无法找到虚拟/物理字体 ecrm1095(使用 install-tl 安装的 TexLive)

我正在编写论文(使用cleanthesis样式http://cleanthesis.der-ric.de/)在我的风俗(编译为 wasm)-xetex。

它在xdvipdfmx步骤中失败并出现错误:

xdvipdfmx:warning: Could not locate a virtual/physical font for TFM "ecrm1095".
xdvipdfmx:warning: >> There are no valid font mapping entry for this font.
xdvipdfmx:warning: >> Font file name "ecrm1095" was assumed but failed to locate that font.
xdvipdfmx:fatal: Cannot proceed without .vf or "physical" font for PDF output...

它想要运行mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 ecrm1095,但当然不能,因为它在浏览器中运行,并且mktexpk不可用。

我阅读了该论坛上以前的一些问题,似乎问题在于没有运行或/updmap-sys不正确。*.mapupdmap.cfgtexmf.cnf

以下是详细信息。我该如何解决这个问题?我是否应该在我的install-tl配置文件中添加一些内容,以便提前生成*.pk/文件(确实运行了)?从存储空间上来说,对所有字体都这样做是否可行?*.vfinstall-tlupdmap-sys

谢谢你!

install-tl我的 TexLive TDS使用以下基本配置文件安装:

selected_scheme scheme-basic
TEXDIR /home/runner/work/busytex/busytex/build/texlive-basic
TEXMFLOCAL /home/runner/work/busytex/busytex/build/texlive-basic/texmf-dist/texmf-local
TEXMFSYSVAR /home/runner/work/busytex/busytex/build/texlive-basic/texmf-dist/texmf-var
TEXMFSYSCONFIG /home/runner/work/busytex/busytex/build/texlive-basic/texmf-dist/texmf-config
collection-xetex  1
collection-latex  1
collection-luatex 1

在我的 TDS 中,我确实有:

build/texlive-basic/texmf-dist/fonts/tfm/jknappen/ec/ecrm1095.tfm
build/texlive-basic/texmf-dist/fonts/source/jknappen/ec/ecrm1095.mf

但我没有任何相应的*.pk/*.vf文件。ecrm1095.tfm文件可以正常发现,但随后却因找不到*.pk/*.vf文件而失败。

以下是完整内容kpathsea日志(非常长,所以将其放在我的要点上):https://gist.github.com/vadimkantorov/e8221d479f3c7fa03887418a86ce506f

以下是/texmf-dist/web2c/updmap.cfg

# Generated by ./source/texmfrepo/install-tl on Mon Jan  9 13:17:27 2023
# $Id: updmap-hdr.cfg 54473 2020-03-22 10:53:53Z hironobu $
# 
# The updmap.cfg in the TEXMFDIST tree is generated by tlmgr by
# concatenating updmap-hdr.cfg with the updmap.cfg files in this tree.
#
# To make local customizations to the map files, using one of the
# following methods is simplest:
# 1) run
#       updmap-sys --enable Map=foo.map
#    for each map file.  (Or MixedMap instead of Map, if your font has
#    both Metafont and outline definitions.)  See the updmap --help
#    documentation. This will add lines to the updmap.cfg file in
#    TEXMFSYSCONFIG (creating it if necessary).
#
# 2) put all your additional fonts into TEXMFLOCAL, edit
#    TEXMFLOCAL/web2c/updmap.cfg, and run updmap-sys.
#
# See the output of updmap --help and/or
# http://tug.org/fonts/fontinstall.html for more.
# 
# In any case, manual edits to TL's updmap.cfg files, psfonts.map,
# pdftex.map, etc., will be lost on update.  So don't do that.
# 
# The default settings of the updmap options (not maps) are also
# specified in TEXMFDIST/web2c/updmap.cfg (also coming originally from
# updmap-hdr.cfg) and can be overridden by an updmap.cfg in any other
# tree.

# 
# Options for updmap.


# dvipsPreferOutline
#
# Should dvips (by default) prefer bitmap fonts or outline fonts
# if both are available? Independent of this setting, outlines
# can be forced by putting "p psfonts_t1.map" into a config file
# that dvips reads. Bitmaps (for the fonts in question) can
# be forced by putting "p psfonts_pk.map" into a config file.
# We provide such config files which can be enabled via
# dvips -Poutline ... resp. dvips -Ppk ...
#
dvipsPreferOutline true


# LW35
#
# Which fonts for the "Basic 35 Laserwriter Fonts" do you want to use and
# how are the filenames chosen? Valid settings:
#   URW:     URW fonts with "vendor" filenames (e.g. n019064l.pfb)
#   URWkb:   URW fonts with "berry" filenames (e.g. uhvbo8ac.pfb)
#   ADOBE:   Adobe fonts with "vendor" filenames (e.g. hvnbo___.pfb)
#   ADOBEkb: Adobe fonts with  "berry" filenames (e.g. phvbo8an.pfb)
#
LW35 URWkb


# dvipsDownloadBase35
# 
# Should dvips (by default) download the standard 35 LaserWriter fonts
# with the document (then set dvipsDownloadBase35 true) or should these
# fonts be used from the ps interpreter / printer?
# Whatever the default is, the user can override it by specifying
# dvips -Pdownload35 ... resp. dvips -Pbuiltin35 ... to either download
# the LW35 fonts resp. use the built-in fonts.
#
dvipsDownloadBase35 true


# pdftexDownloadBase14
#
# Should pdftex download the base 14 pdf fonts? Since some configurations
# (ps / pdf tools / printers) use bad default fonts, it is safer to download
# the fonts. The PDF files will get bigger, though.
#
pdftexDownloadBase14 true


# dvipdfmDownloadBase14
#
# Should dvipdfm(x) download the base 14 pdf fonts? Since some configurations
# (ps / pdf tools / printers) use bad default fonts, it is safer to download
# the fonts. The pdf files will get bigger, though.
#
dvipdfmDownloadBase14 true


# jaEmbed, scEmbed, tcEmbed, koEmbed
#
# updmap generates a file kanjix.map for usage with dvipdfmx. With this
# option one can switch between not embedding any kanji font, or
# any of the several available. 
# 
# The value can be any string. When updmap is run, the substring
# @jaEmbed@ in a map file name will be replaced with this value, and
# the respective map file used.
#
jaEmbed haranoaji
scEmbed arphic
tcEmbed arphic
koEmbed baekmuk
jaVariant -04


#  (end of updmap-hdr.cfg)
Map      euler.map
MixedMap cm.map
MixedMap cmextra.map
MixedMap cyrillic.map
MixedMap latxfont.map
MixedMap symbols.map
MixedMap cmtext-bsr-interpolated.map
Map lm.map
Map dummy-space.map
Map charter.map
Map fpls.map
Map pazo.map
Map utopia.map
MixedMap rsfs.map
Map usy.map
Map mathpple.map
Map uzd.map

相关内容