LuaLaTeX 中 Charis SIL 字型出現新錯誤

LuaLaTeX 中 Charis SIL 字型出現新錯誤

TeX Live 中的新更新可能存在一些問題。現在我在使用 LuaLaTeX 編譯字體時遇到了這個新錯誤Charis SIL。如果我更改字體(例如Gentium Plus),錯誤就會消失。

LaTeX3 錯誤:鍵“fontspec-renderer/Renderer”僅接受一
組固定的(LaTeX3)選擇。 ]

編輯:我使用 Charis SIL 字體

\setmainfont{Charis SIL}[ Renderer = ICU ]

得到小型大寫字母,才發現這Renderer = ICU就是問題,沒有它,問題就消失了。

我關心的是發生了什麼事?我使用這個配置很多年了,今天失敗了。

編輯2:這是一個MWE

\documentclass{article}
\usepackage{fontspec}
\setmainfont{Charis SIL}[
Renderer = ICU
]
\usepackage{lipsum}
\begin{document}
\lipsum[1]
\end{document}

編輯3:忘記吧Renderer = ICU,我的錯誤。我的觀點是fontspec和存在一些問題Charis SIL。我有這個 MWE,它在 MacTeX 中編譯得很好,但在 Ubuntu 18.04、TeX Live 2018 中給出錯誤,兩者都已更新。但如果我改變字體(比如說Gentium Plus),錯誤就會消失。

\documentclass{article}
\usepackage{fontspec}
\setmainfont{Charis SIL}[%{Gentium Plus}[%{Charis SIL}[
Ligatures = TeX,
]

%%% Microtype
\usepackage[activate={true,nocompatibility},final,tracking=alltext,letterspace=-10]{microtype} 

\usepackage{lipsum}
\begin{document}
\lipsum[1]

\textsc{Hello World!}
\end{document}

錯誤:

Missing number, treated as zero. \begin{document}
Missing number, treated as zero. \begin{document}
Missing number, treated as zero. \begin{document}
Missing number, treated as zero. \begin{document}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}
Missing number, treated as zero. \textsc{Hello World!}

主要的一點是,我使用了幾個具有類似模板的文件,涉及了Charis SIL幾年,但昨天(2019年2月26日)所有這些文件都編譯失敗。如果我將字體更改為Gentium Plus.

相關內容