Ticket #35829

luaotfload v2.6 への対応

Open Date: 2015-12-10 21:32 Last Update: 2015-12-15 11:19

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

Details

luaotfload v2.6 が出たようです(角藤さんのメールで知りました,ありがとうございます)が,現状の LuaTeX-ja はそれに追随できていないようです.

  • luatexbase の代わり ltluatex を読むようになったので,\newluatexattribute のところでエラー発生→commit 9b788c5 で修正
  • test01.tex をタイプセットすると次のようなエラーが出て,小塚明朝の読み込みで止まってしまう.
    This is LuaTeX, Version beta-0.80.1 (TeX Live 2016/dev) (rev 5328) 
     restricted \write18 enabled.
    (./test01.tex (/opt/texlive/texmf-local/tex/luatex/luatexja/luatexja.sty
    (/opt/texlive/texmf-local/tex/luatex/luatexja/luatexja-core.sty
    (/opt/texlive/2015/texmf-dist/tex/luatex/luatexbase/luatexbase.sty
    (/opt/texlive/2015/texmf-dist/tex/luatex/ctablestack/ctablestack.sty
    (/opt/texlive/2015/texmf-dist/tex/latex/base/ltluatex.tex
    (/opt/texlive/2015/texmf-dist/tex/plain/config/unicode-letters.def))))
    (/home/h7k/texmf/tex/luatex/luaotfload/luaotfload.sty(using write cache: /home/
    h7k/.texlive2015/texmf-var/luatex-cache/generic)(using read cache: /opt/texlive
    /2015/texmf-var/luatex-cache/generic /home/h7k/.texlive2015/texmf-var/luatex-ca
    che/generic)
    ……(中略)……
    (compiling luc: /home/h7k/.texlive2015/texmf-var/luatex-cache/generic/fonts/otf
    /kozminpr6n-regular.luc)
    ! LuaTeX error ...7k/texmf/tex/luatex/luaotfload/fontloader-2015-12-10.lua:4012
    : fontloader.glyphs.__index: index is invalid
    .
    <to be read again> 
    \afterassignment 
    \jfont #1->\afterassignment 
                                \ltj@@jfont \directlua {luatexja.jfont.jfontdefX...
    
    l.7 \jfont\jisfour
                    ={\COMN;+jp04;jfm=ujis}
    ?
    

こちらの環境では, 後者の fontloader.glyphs.__index: index is invalid というエラーは,luaotfload で CID-Keyed OpenType フォントを

\input luaotfload.sty
\font\a=KozGoPr6N-Medium.otf
のように読み込んだ時に起こるようです(KozMinPr6N-regular.otf, KozGoPr6N-Medium.otf, HiraMinProN-W3.otf, 一太郎付属の JJSYuMinchoPr6N-R.otf で確認).

Ticket History (3/5 Histories)

2015-12-10 21:32 Updated by: h7k
  • New Ticket "luaotfload v2.6 への対応" created
2015-12-11 10:41 Updated by: h7k
Comment

fontloader.glyphs.__index: index is invalid

luaotfload の src/fontloader/runtime/fontloader-tl2014.lua が, LuaTeX 本体の fontloader の更新 (r5259, 2015/05/26) に対応できていないだけのようです.

2015-12-12 13:19 Updated by: h7k
  • Type Update from Bugs to Support Request
Comment

最近の LuaTeX(r5328 で確認)では,どうも lmroman10-regular (Latin Modern Roman) のキャッシュを作るときに Segmentation fault してしまうようです(上流にメール済). TeX Live 2015 の LuaTeX (r5237) ではこの症状は再現しません. というわけで,現状のところ,LuaTeX r5328 以降と luaotfload v2.6 の二者択一の状況になっています.

2015-12-15 11:08 Updated by: kmaeda
Comment

最近の LuaTeX(r5328 で確認)では,どうも lmroman10-regular (Latin Modern Roman) のキャッシュを作るときに Segmentation fault してしまうようです

TeX Live 2015 の luaotfload では,昨日の時点では Segmentation Fault でしたが,今日アップデートすると大丈夫になりました. 情報ありがとうございました.

2015-12-15 11:19 Updated by: h7k
  • Resolution Update from None to Fixed
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2015-12-15 11:19
Comment

手元でも動いている感じなので,完了にします.

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