未找到 Spark-OTF 字体

未找到 Spark-OTF 字体

我想用spark-otf这个 MWE制作迷你图

\documentclass{scrartcl}
\usepackage{spark-otf}

\begin{document}
\sparkBar{0,4,3,52,4,2,3}
\end{document}

但我收到此错误信息:

luaotfload | db : Reload initiated (formats: otf,ttf,ttc); reason: Font "Sparks Bar Medium" not found.
! Font \sparkBarMedium=name:Sparks Bar Medium:mode=node;+calt; not loadable: me
tric data not found or bad.
<to be read again> 
\font 
l.59   \font
          \sparkBarNarrow     = "name:Sparks Bar Narrow:mode=node;+calt;\spa...

但是检查我的 TeXLive 的安装后发现,已经spark-otf安装了:

package:     spark-otf
category:    Package
shortdesc:   Support OpenType Spark fonts
longdesc:    The package supports the free fonts from "After the Flood" which are available from AtF Spark. The following fonts are supported: Spark -- Bar -- Medium Spark -- Bar -- Narrow Spark -- Bar -- Thin Spark -- Dot-line -- Medium Spark -- Dot -- Medium Spark -- Dot -- Small
installed:   Yes
revision:    51005
sizes:       doc: 133k, run: 9k
relocatable: No
cat-version: 0.05
cat-license: lppl1.3
cat-topics:  font-absent font-symbol font-otf font-use
collection:  collection-latexextra

有什么建议我做错了吗?

答案1

正如评论中所述。该包spark-otf仅提供对 spark-font 的支持,而不是字体文件本身。

您需要下载字体文件并安装它们。

这些文件可从GitHub 仓库

相关内容