[luatex] Two likely related problems with non-western scripts

Rembrandt Wolpert r.f.wolpert at gmail.com
Sun Apr 24 04:58:26 CEST 2016


The most M  MWE I can manage to demonstrate two related (?) problems is:

\documentclass{article}
\usepackage{luatextra}
\usepackage{luatexja}
\usepackage{luatexja-fontspec}
\setmainfont{Latin Modern Mono}
%\setmainjfont{DFMingHK} % (no Japanese kanji etc.)
\setmainjfont{Kozuka Mincho Pr6N} % (many Chinese glyphs missing)

\begin{document}
Japanese glyphs from Kozuka Mincho Pr6N 日本.
\end{document}

System and TeX version: MacOS 10.8.5; MacTeX 2016 pretest, all up to
date (April 23).


Problem 1: whenever luatexja and relatives are included, the
compilation stops with the message below, hitting return gives the
same message again, then hitting return again continues compilation. If the
typeface is Kozuka Mincho, the compilation runs to the end.

luaotfload | resolve : method "tex" resolved "cmtt9" -> cmtt9
(cmtt9.tfm)...6/texmf-dist/tex/luatex/lualibs/lualibs-basic-merged.lua:2578:
bad argument
#1 to 'open' (string expected, got nil).
<to be read again>
\global
l.34 \newtoks\@bannertoken

? ! Font \@bannerfont=cmtt9 not loadable: metric data not found or bad.
<to be read again>
\global
l.34 \newtoks\@bannertoken

?

Problem 2: with several standard, common (commercial) Chinese typefaces
(all otf) compilation fails with this message:

luaotfload | resolve : method "name" resolved "DFMingHK" -> DFMingHK-W5
(DFMingHK-W5.otf)(compiling luc: /usr/
local/texlive/2016/texmf-var/luatex-cache/generic/fonts/otl/dfminghk-w5.luc)(lo
ad luc:
/Users/wolpert/Library/texlive/2016/texmf-var/luatex-cache/generic/font
s/otl/dfminghk-w5.luc)Segmentation fault: 11

*Chinese and Japanese typefaces supplied with OSX 10.8.5 (e.g. STSong)
fail.*

(Obviously everything work[s|ed] with lua(la)tex in TeXLive 2015.)

Anything I can do?

thanks,
Rembrandt

---
松下問童子,言師採藥去,
只在此山中,雲深不知處。



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 535 bytes
Desc: OpenPGP digital signature
URL: <http://tug.org/pipermail/luatex/attachments/20160423/93130722/attachment.bin>


More information about the luatex mailing list