[luatex] fontloader causes segmentation fault by Source Han Serif

Akira Kakuto kakuto at fuk.kindai.ac.jp
Thu Apr 6 15:21:38 CEST 2017


Here (Windows)
cat test.lua
fontloader.open('SourceHanSerif-Regular.otf')
texlua test.lua
crashes in my luatex 1.0.5.

An example

%
% test1.tex
%
\documentclass{article}
\usepackage{luatexja}
\usepackage{fontspec}
\setmainfont{SourceHanSerif-Regular}
\begin{document}
漢字のテスト。
\end{document}

also crashes,
whereas the following worked (see an attached test2.pdf)

%
% test2.tex
%
\documentclass{article}
\usepackage{fontspec}
\setmainfont{SourceHanSerif-Regular}
\begin{document}
漢字のテスト。
\end{document}

Best,
Akira
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test2.pdf
Type: application/pdf
Size: 4518 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20170406/6842b233/attachment.pdf>


More information about the luatex mailing list