一枚戒指铭文汇编而成,但缺少一些字符,并且文本放错了位置

一枚戒指铭文汇编而成,但缺少一些字符,并且文本放错了位置

这其实与工作无关,但仍然是一个有趣的障碍,我自己无法克服。我喜欢把 LaTex 想象成解围之计如果你有知识和文档,你可以做任何事物其中包括写下《指环王》中的一枚戒指的铭文。代码如下:

\documentclass{minimal}
\usepackage[annataritalic]{tengwarscript}

\begin{document}

\tengwarannataritalic[1]
\tengwa{254}
\Textendedcalma\TTthreedots\Tnuumen\Tessenuquerna\TTthreedots\Tungwe\Tando\Toore\TTrightcurl\Tumbar\Ttinco\TTthreedots\Tlambealt\TTrightcurl\Tquesse\TTdoublerightcurl
\Tromanperiod\Ts
\Textendedcalma\TTthreedots\Tnuumen\Tessenuquerna\TTthreedots\Tungwe\Tungwe\Tumbar\TTnasalizer\TTdot\Ttinco\TTthreedots\Tlambe\TTrightcurl
\tengwa{255}\    \Textendedcalma\TTthreedots\Tnuumen\Tessenuquerna\TTthreedots\Tungwe\Tthuule\Troomen\Tquesse\TTthreedots\Ttinco\TTthreedots\Tlambealt\TTrightcurl\Tquesse\TTdoublerightcurl
\Tromanperiod\Ts
\Textendedungwe\TTthreedots\Tumbar\Toore\TTrightcurl\Tesse\Tkern{-0.2}\Tmalta\TTrightcurl\Textendedcalma\TTdot\Ttelco\TTdot\Tquesse\Troomen\Tparma\TTnasalizer\TTdot\Ttinco\TTthreedots\Tlambe\TTrightcurl

\end{document}

当我第一次尝试编译此代码时,我遇到了与大多数人相同的问题。软件包tengwarscript仅为字体提供基本度量方案,但没有实际的编码。因此我开始在这些论坛中寻找答案,并找到了一个:TeX Live 中的 Tengwar 脚本。我按照它的说明进行操作:

  1. 我下载并解压了.ttf文件

  2. 我将它们放在以下位置:C:\texlive\texmf-local\fonts\truetype\annatar

  3. 手动安装了所有字体(每个包中都有一个“安装”按钮.ttf

  4. mktexlsr.exe以管理员身份运行以确保所有内容均已更新

然后我再次编译了上面的代码,得到了一个奇怪的结果: 在此处输入图片描述

有人能解释一下为什么会发生这种情况,并提供解决方法吗?我的 Texstudio 报告了 ,我感到非常困惑Process exited normally。有人能帮我吗?提前谢谢您。

编辑:这是您一直要求的日志文件(这次包含\pdfmapfile{=tengwarscript.map}在内):

This is XeTeX, Version 3.14159265-2.6-0.99996 (TeX Live 2016/W32TeX) (preloaded format=xelatex 2016.11.11)  2 MAR 2017 11:45
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**./Annatar.tex
(./Annatar.tex
LaTeX2e <2016/03/31> patch level 3
Babel <3.9r> and hyphenation patterns for 83 language(s) loaded.
(c:/texlive/2016/texmf-dist/tex/latex/base/minimal.cls
Document Class: minimal 2001/05/25 Standard LaTeX minimal class
) (c:/texlive/2016/texmf-dist/tex/latex/fontspec/fontspec.sty
(c:/texlive/2016/texmf-dist/tex/latex/l3kernel/expl3.sty
Package: expl3 2016/10/19 v6730 L3 programming layer (loader) 

(c:/texlive/2016/texmf-dist/tex/latex/l3kernel/expl3-code.tex
Package: expl3 2016/10/19 v6730 L3 programming layer (code)
L3 Module: l3bootstrap 2016/06/13 v6596 L3 Bootstrap code
L3 Module: l3names 2016/10/13 v6722 L3 Namespace for primitives
L3 Module: l3basics 2016/09/01 v6696 L3 Basic definitions
L3 Module: l3expan 2016/08/19 v6684 L3 Argument expansion
L3 Module: l3tl 2016/08/19 v6692 L3 Token lists
L3 Module: l3str 2016/08/19 v6692 L3 Strings
L3 Module: l3seq 2016/08/19 v6685 L3 Sequences and stacks
L3 Module: l3int 2016/09/07 v6700 L3 Integers
\c_max_int=\count79
\l_tmpa_int=\count80
\l_tmpb_int=\count81
\g_tmpa_int=\count82
\g_tmpb_int=\count83
L3 Module: l3quark 2016/08/19 v6685 L3 Quarks
L3 Module: l3prg 2016/08/18 v6679 L3 Control structures
\g__prg_map_int=\count84
L3 Module: l3clist 2016/08/19 v6685 L3 Comma separated lists
L3 Module: l3token 2016/09/01 v6695 L3 Experimental token manipulation
L3 Module: l3prop 2016/08/19 v6685 L3 Property lists
L3 Module: l3msg 2016/08/19 v6691 L3 Messages
L3 Module: l3file 2016/08/19 v6685 L3 File and I/O operations
\l_iow_line_count_int=\count85
\l__iow_target_count_int=\count86
\l__iow_current_line_int=\count87
\l__iow_current_word_int=\count88
\l__iow_current_indentation_int=\count89
L3 Module: l3skip 2016/08/19 v6692 L3 Dimensions and skips
\c_zero_dim=\dimen102
\c_max_dim=\dimen103
\l_tmpa_dim=\dimen104
\l_tmpb_dim=\dimen105
\g_tmpa_dim=\dimen106
\g_tmpb_dim=\dimen107
\c_zero_skip=\skip41
\c_max_skip=\skip42
\l_tmpa_skip=\skip43
\l_tmpb_skip=\skip44
\g_tmpa_skip=\skip45
\g_tmpb_skip=\skip46
\c_zero_muskip=\muskip10
\c_max_muskip=\muskip11
\l_tmpa_muskip=\muskip12
\l_tmpb_muskip=\muskip13
\g_tmpa_muskip=\muskip14
\g_tmpb_muskip=\muskip15
L3 Module: l3keys 2016/09/21 v6711 L3 Key-value interfaces
\l_keys_choice_int=\count90
L3 Module: l3fp 2016/08/19 v6685 L3 Floating points
\c__fp_leading_shift_int=\count91
\c__fp_middle_shift_int=\count92
\c__fp_trailing_shift_int=\count93
\c__fp_big_leading_shift_int=\count94
\c__fp_big_middle_shift_int=\count95
\c__fp_big_trailing_shift_int=\count96
\c__fp_Bigg_leading_shift_int=\count97
\c__fp_Bigg_middle_shift_int=\count98
\c__fp_Bigg_trailing_shift_int=\count99
L3 Module: l3box 2016/08/19 v6685 L3 Experimental boxes
\c_empty_box=\box26
\l_tmpa_box=\box27
\l_tmpb_box=\box28
\g_tmpa_box=\box29
\g_tmpb_box=\box30
L3 Module: l3coffins 2016/08/19 v6685 L3 Coffin code layer
\l__coffin_internal_box=\box31
\l__coffin_internal_dim=\dimen108
\l__coffin_offset_x_dim=\dimen109
\l__coffin_offset_y_dim=\dimen110
\l__coffin_x_dim=\dimen111
\l__coffin_y_dim=\dimen112
\l__coffin_x_prime_dim=\dimen113
\l__coffin_y_prime_dim=\dimen114
\c_empty_coffin=\box32
\l__coffin_aligned_coffin=\box33
\l__coffin_aligned_internal_coffin=\box34
\l_tmpa_coffin=\box35
\l_tmpb_coffin=\box36
\l__coffin_display_coffin=\box37
\l__coffin_display_coord_coffin=\box38
\l__coffin_display_pole_coffin=\box39
\l__coffin_display_offset_dim=\dimen115
\l__coffin_display_x_dim=\dimen116
\l__coffin_display_y_dim=\dimen117
L3 Module: l3color 2016/06/13 v6596 L3 Experimental color support
L3 Module: l3sys 2015/09/25 v6087 L3 Experimental system/runtime functions
L3 Module: l3candidates 2016/08/19 v6688 L3 Experimental additions to l3kernel
\l__box_top_dim=\dimen118
\l__box_bottom_dim=\dimen119
\l__box_left_dim=\dimen120
\l__box_right_dim=\dimen121
\l__box_top_new_dim=\dimen122
\l__box_bottom_new_dim=\dimen123
\l__box_left_new_dim=\dimen124
\l__box_right_new_dim=\dimen125
\l__box_internal_box=\box40
\l__coffin_bounding_shift_dim=\dimen126
\l__coffin_left_corner_dim=\dimen127
\l__coffin_right_corner_dim=\dimen128
\l__coffin_bottom_corner_dim=\dimen129
\l__coffin_top_corner_dim=\dimen130
\l__coffin_scaled_total_height_dim=\dimen131
\l__coffin_scaled_width_dim=\dimen132
L3 Module: l3luatex 2016/08/18 v6679 L3 Experimental LuaTeX-specific functions
)
(c:/texlive/2016/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx.def
File: l3xdvidpfmx.def 2016/08/18 v6679 L3 Experimental driver: xdvipdfmx
\l__driver_tmp_box=\box41
))
(c:/texlive/2016/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
Package: xparse 2016/10/19 v6730 L3 Experimental document command parser
\l__xparse_current_arg_int=\count100
\l__xparse_m_args_int=\count101
\l__xparse_mandatory_args_int=\count102
\l__xparse_processor_int=\count103
\l__xparse_v_nesting_int=\count104
)
Package: fontspec 2016/02/01 v2.5a Font selection for XeLaTeX and LuaLaTeX

(c:/texlive/2016/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
Package: fontspec-xetex 2016/02/01 v2.5a Font selection for XeLaTeX and LuaLaTe
X
\l_fontspec_script_int=\count105
\l_fontspec_language_int=\count106
\l_fontspec_strnum_int=\count107
\l__fontspec_tmpa_dim=\dimen133
\l__fontspec_tmpb_dim=\dimen134
\l__fontspec_tmpc_dim=\dimen135
\g__file_internal_ior=\read1

(c:/texlive/2016/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2016/06/19 v1.99m Standard LaTeX package

(c:/texlive/2016/texmf-dist/tex/latex/euenc/eu1enc.def
File: eu1enc.def 2010/05/27 v0.1h Experimental Unicode font encodings
)
LaTeX Font Info:    Try loading font information for EU1+lmr on input line 105.


(c:/texlive/2016/texmf-dist/tex/latex/euenc/eu1lmr.fd
File: eu1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
))
(c:/texlive/2016/texmf-dist/tex/xelatex/xunicode/xunicode.sty
File: xunicode.sty 2011/09/09 v0.981 provides access to latin accents and many 
other characters in Unicode lower plane

(c:/texlive/2016/texmf-dist/tex/latex/tipa/t3enc.def
File: t3enc.def 2001/12/31 T3 encoding
LaTeX Font Info:    Try loading font information for EU1+lmss on input line 357
.

(c:/texlive/2016/texmf-dist/tex/latex/euenc/eu1lmss.fd
File: eu1lmss.fd 2009/10/30 v1.6 Font defs for Latin Modern
))
\tipaTiiicode=\count108
\tipasavetokens=\toks14
\tipachecktokens=\toks15

(c:/texlive/2016/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)

(c:/texlive/2016/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks16
)
(c:/texlive/2016/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2016/07/10 v1.0t Standard LaTeX Graphics (DPC,SPQR)

(c:/texlive/2016/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
)
(c:/texlive/2016/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
)
Package graphics Info: Driver file: xetex.def on input line 99.

(c:/texlive/2016/texmf-dist/tex/latex/graphics-def/xetex.def
File: xetex.def 2016/07/11 v4.10 LaTeX color/graphics driver for XeTeX (L3/RRM/
JK)
))
\Gin@req@height=\dimen136
\Gin@req@width=\dimen137
))
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \__fontspec_post_arg:w with sig. 'mmO{}' on line 353.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \fontspec with sig. 'om' on line 355.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \setmainfont with sig. 'om' on line 365.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \setsansfont with sig. 'om' on line 375.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \setmonofont with sig. 'om' on line 385.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \setmathrm with sig. 'om' on line 399.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \setboldmathrm with sig. 'om' on line 407.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \setmathsf with sig. 'om' on line 415.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \setmathtt with sig. 'om' on line 423.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \newfontfamily with sig. 'mom' on line 437.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \newfontface with sig. 'mom' on line 453.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \defaultfontfeatures with sig. 't+om' on line 467.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \addfontfeatures with sig. 'm' on line 529.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \newfontfeature with sig. 'mm' on line 540.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \newAATfeature with sig. 'mmmm' on line 548.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \newopentypefeature with sig. 'mmm' on line 556.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \aliasfontfeature with sig. 'mm' on line 577.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \aliasfontfeatureoption with sig. 'mmm' on line 586.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \newfontscript with sig. 'mm' on line 590.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \newfontlanguage with sig. 'mm' on line 594.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \DeclareFontsExtensions with sig. 'm' on line 599.
.................................................
\l__fontspec_tmp_int=\count109

(c:/texlive/2016/texmf-dist/tex/latex/fontspec/fontspec.cfg)
LaTeX Info: Redefining \itshape on input line 2705.
LaTeX Info: Redefining \slshape on input line 2710.
LaTeX Info: Redefining \scshape on input line 2715.
LaTeX Info: Redefining \upshape on input line 2720.
\l__fontspec_em_int=\count110
\l__fontspec_emdef_int=\count111
LaTeX Info: Redefining \em on input line 2736.
LaTeX Info: Redefining \emph on input line 2742.
LaTeX Info: Redefining \- on input line 2746.
.................................................
. LaTeX info: "xparse/redefine-command"
. 
. Redefining command \oldstylenums with sig. 'm' on line 2841.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \liningnums with sig. 'm' on line 2845.
.................................................
))
(c:/texlive/2016/texmf-dist/tex/latex/tengwarscript/tengwarscript.sty
Package: tengwarscript 2014/07/12 v1.3.1 TengwarScript for LaTeX

(c:/texlive/2016/texmf-dist/tex/latex/fp/fp-basic.sty
Package: fp-basic 1996/05/13

`Basic Fixed Point Arithmetic',  Version 1.2d (C) Michael Mehlich             
\FP@xs=\count112
\FP@xia=\count113
\FP@xib=\count114
\FP@xfa=\count115
\FP@xfb=\count116
\FP@rega=\count117
\FP@regb=\count118
\FP@regs=\count119
\FP@times=\count120
) (c:/texlive/2016/texmf-dist/tex/latex/fp/fp-snap.sty
Package: fp-snap 1995/04/05

`Fixed Point Snap Off',          Version 1.0a (C) Michael Mehlich             )
(c:/texlive/2016/texmf-dist/tex/latex/tengwarscript/annataritalic.cfg))
(./Annatar.aux)
\openout1 = `Annatar.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for EU1/lmr/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for T3/cmr/m/n on input line 7.
LaTeX Font Info:    Try loading font information for T3+cmr on input line 7.
(c:/texlive/2016/texmf-dist/tex/latex/tipa/t3cmr.fd
File: t3cmr.fd 2001/12/31 TIPA font definitions
)
LaTeX Font Info:    ... okay on input line 7.
.................................................
. fontspec info: "setup-math"
. 
. Adjusting the maths setup (use [no-math] to avoid this).
.................................................
\symlegacymaths=\mathgroup4
LaTeX Font Info:    Overwriting symbol font `legacymaths' in version `bold'
(Font)                  OT1/cmr/m/n --> OT1/cmr/bx/n on input line 7.
LaTeX Font Info:    Redeclaring math accent \acute on input line 7.
LaTeX Font Info:    Redeclaring math accent \grave on input line 7.
LaTeX Font Info:    Redeclaring math accent \ddot on input line 7.
LaTeX Font Info:    Redeclaring math accent \tilde on input line 7.
LaTeX Font Info:    Redeclaring math accent \bar on input line 7.
LaTeX Font Info:    Redeclaring math accent \breve on input line 7.
LaTeX Font Info:    Redeclaring math accent \check on input line 7.
LaTeX Font Info:    Redeclaring math accent \hat on input line 7.
LaTeX Font Info:    Redeclaring math accent \dot on input line 7.
LaTeX Font Info:    Redeclaring math accent \mathring on input line 7.
LaTeX Font Info:    Redeclaring math symbol \colon on input line 7.
LaTeX Font Info:    Redeclaring math symbol \Gamma on input line 7.
LaTeX Font Info:    Redeclaring math symbol \Delta on input line 7.
LaTeX Font Info:    Redeclaring math symbol \Theta on input line 7.
LaTeX Font Info:    Redeclaring math symbol \Lambda on input line 7.
LaTeX Font Info:    Redeclaring math symbol \Xi on input line 7.
LaTeX Font Info:    Redeclaring math symbol \Pi on input line 7.
LaTeX Font Info:    Redeclaring math symbol \Sigma on input line 7.
LaTeX Font Info:    Redeclaring math symbol \Upsilon on input line 7.
LaTeX Font Info:    Redeclaring math symbol \Phi on input line 7.
LaTeX Font Info:    Redeclaring math symbol \Psi on input line 7.
LaTeX Font Info:    Redeclaring math symbol \Omega on input line 7.
LaTeX Font Info:    Redeclaring math symbol \mathdollar on input line 7.
LaTeX Font Info:    Redeclaring symbol font `operators' on input line 7.
LaTeX Font Info:    Encoding `OT1' has changed to `EU1' for symbol font
(Font)              `operators' in the math version `normal' on input line 7.
LaTeX Font Info:    Overwriting symbol font `operators' in version `normal'
(Font)                  OT1/cmr/m/n --> EU1/lmr/m/n on input line 7.
LaTeX Font Info:    Encoding `OT1' has changed to `EU1' for symbol font
(Font)              `operators' in the math version `bold' on input line 7.
LaTeX Font Info:    Overwriting symbol font `operators' in version `bold'
(Font)                  OT1/cmr/bx/n --> EU1/lmr/m/n on input line 7.
LaTeX Font Info:    Overwriting symbol font `operators' in version `normal'
(Font)                  EU1/lmr/m/n --> EU1/lmr/m/n on input line 7.
LaTeX Font Info:    Overwriting math alphabet `\mathit' in version `normal'
(Font)                  OT1/cmr/m/it --> EU1/lmr/m/it on input line 7.
LaTeX Font Info:    Overwriting math alphabet `\mathbf' in version `normal'
(Font)                  OT1/cmr/bx/n --> EU1/lmr/bx/n on input line 7.
LaTeX Font Info:    Overwriting math alphabet `\mathsf' in version `normal'
(Font)                  OT1/cmss/m/n --> EU1/lmss/m/n on input line 7.
LaTeX Font Info:    Overwriting math alphabet `\mathtt' in version `normal'
(Font)                  OT1/cmtt/m/n --> EU1/lmtt/m/n on input line 7.
LaTeX Font Info:    Overwriting symbol font `operators' in version `bold'
(Font)                  EU1/lmr/m/n --> EU1/lmr/bx/n on input line 7.
LaTeX Font Info:    Overwriting math alphabet `\mathit' in version `bold'
(Font)                  OT1/cmr/bx/it --> EU1/lmr/bx/it on input line 7.
LaTeX Font Info:    Overwriting math alphabet `\mathsf' in version `bold'
(Font)                  OT1/cmss/bx/n --> EU1/lmss/bx/n on input line 7.
LaTeX Font Info:    Overwriting math alphabet `\mathtt' in version `bold'
(Font)                  OT1/cmtt/m/n --> EU1/lmtt/bx/n on input line 7.
[1]
(./Annatar.aux) ) 
Here is how much of TeX's memory you used:
13647 strings out of 493589
271993 string characters out of 6146759
272936 words of memory out of 5000000
17054 multiletter control sequences out of 15000+600000
4079 words of font info for 20 fonts, out of 8000000 for 9000
1347 hyphenation exceptions out of 8191
46i,4n,31p,10390b,233s stack positions out of 5000i,500n,10000p,200000b,80000s

Output written on Annatar.pdf (1 page).

编辑2:当我尝试updmap-sys --enable Map=tengwarscript.map在 CMD 中运行您推荐的命令()时出现错误消息:

在此处输入图片描述

我只想说我非常感谢你的帮助。谢谢。

更新:最后成功解决了这个问题。关键在于 TeXLive不是我的主要来源——后者是 MikTeX。这就是为什么 Ulrike Fischer 建议的命令不起作用的原因。因为他的建议,我开始研究页面并找到了适用于 MikTeX 的正确命令。我输入了initexmf --edit-config-file updmap,创建了一个包含内容的文件Map=tengwarscript.map,然后initexmf --mkmaps再次在 CMD 中运行该命令。此外,我现在尝试编译我的 One Ring 代码,并且它成功了。我想感谢大家的支持和指导,尤其是 Ulrike Fischer 和 cfs。非常感谢!

在此处输入图片描述

答案1

texlive 不会激活字体的映射文件。使用 pdflatex 编译示例会出现错误,因为 pdflatex 无法找到 ttf。xelatex 可以找到字体,但由于缺少映射文件,编码错误,因此您会得到有缺陷/缺失的字形。

要解决两个引擎的问题,请在命令行上调用

 updmap-sys --enable Map=tengwarscript.map

然后使用 xelatex 和 pdflatex 进行编译应该可以工作,并给出以下结果

在此处输入图片描述

相关内容