Ticket #38871

[luatexja-fontspec] 非埋め込みフォント指定で ! TeX capacity exceeded

Open Date: 2019-01-18 06:42 Last Update: 2019-01-28 18:01

Reporter:
Owner:
(None)
Type:
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
None

Details

表題のとおりです.

\documentclass{article}
\usepackage{luatexja-fontspec}
\setmainjfont[BoldFont=GothicBBB-Medium, NoEmbed]{Ryumin-Light}
\begin{document}
\end{document}
を走らせると,
Package fontspec Warning: Font 'Ryumin-Light' does not contain script
(fontspec)                'Default'.
が無限に出力され,最終的に
! TeX capacity exceeded, sorry [parameter stack size=10000].
\use_none:nnnnn #1#2#3#4#5->

l.5 \begin
        {document}
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.
となってしまいます.少なくとも,先日の更新 (fontspec 2019/01/16 v2.6k) で発生しています.

非埋め込みフォントじゃなく,きちんと実在のフォント名・フォントファイルを指定したときは大丈夫なようですが…….

Ticket History (3/5 Histories)

2019-01-18 06:42 Updated by: h7k
  • New Ticket "[luatexja-fontspec] 非埋め込みフォント指定で ! TeX capacity exceeded" created
2019-01-18 10:00 Updated by: h7k
Comment

次でも同様のエラーになるようです(LuaTeX-ja 無関係のはず).

\documentclass{article}
\usepackage{fontspec}
\ExplSyntaxOn
\keys_set:nx {fontspec-opentype} {Script=CJK}
\ExplSyntaxOff

\begin{document}
\end{document}

↑追記:これは \l__fontspec_tmp_tl が未定義によることが原因.チケット本体は LuaTeX-ja が定義した Ryumin-Light に Script "DFLT" がないことが原因なので,やはり LuaTeX-ja の問題ですね.

(Edited, 2019-01-18 10:10 Updated by: h7k)
2019-01-18 13:07 Updated by: h7k
Comment

3b10cee2b (kitagawa_test branch) で直しました.

2019-01-19 00:06 Updated by: h7k
Comment

3b10cee2b (kitagawa_test branch) で直しました.

と思ったら,縦組で

! error:  (node lib): lua <node> expected, not an object with type number
!  ==> Fatal error occurred, no output PDF file produced!%
が出たり,また横組でも生成された pdf ファイルのフォント名が /{Ryumin-Light} とブレースが入っていたりと,まだ全然ダメでした.

2019-01-28 18:01 Updated by: h7k
  • Resolution Update from None to Fixed
  • Status Update from Open to Closed
Comment

20190128.0 で修正.

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login