还有一个问题,但它使用的是常规 LaTeX 而不是 ConTeXt。我试过了,但我不知道如何让这个字体有衬线数字。我通过一个在线网站检查了一下,发现这是可行的。
\starttypescript [brill]
\definefontsynonym[Brill-Roman] [file:Brill-Roman]
\definefontsynonym[Brill-Italic] [file:Brill-Italic]
\definefontsynonym[Brill-Bold] [file:Brill-Bold]
\definefontsynonym[Brill-BoldItalic] [file:Brill-BoldItalic]
\stoptypescript
\starttypescript [brill]
\setups[font:fallback:serif]
\definefontsynonym[Serif] [Brill-Roman] [features=default]
\definefontsynonym[SerifItalic] [Brill-Italic] [features=default]
\definefontsynonym[SerifBold] [Brill-Bold] [features=default]
\definefontsynonym[SerifBoldItalic] [Brill-BoldItalic] [features=default]
\stoptypescript
\starttypescript [brill]
\definetypeface [brill] [rm] [serif] [brill] [default]
\stoptypescript
\definefontfeature[default][default][lnum=yes]
\setupbodyfont[brill]
\setupbodyfont[12pt]
答案1
已修复,删除所有内容并从头开始:
\definefontfamily [brill] [rm] [Brill]
\definefontfeature[default][default][lnum=yes]
\setupbodyfont[brill]
\starttext
Numbers: 0123456789
En dash: --
Em dash: ---
\stoptext