無圧縮(\pdfcompresslevel=0)の PDF の出力結果を見ると、 以下のようになっています。
<< /Type /FontDescriptor /FontName /Ryumin-Light /Flags 4 /FontBBox [0 0 1000 1] /Ascent 0 /CapHeight 0 /Descent 0 /ItalicAngle 0 /StemV 73 /XHeight 503 /FontFile3 0 0 R >>
/FontFile3 (埋込の場合、これの参照先あフォントのバイナリそのものになるようです) のオブジェクト参照 ID が本来無効な「0」になっています。 pTeX + dvipdfmx の出力を見る限り、 正しいのは「/FontFile3 がない状態」であり、 実際、「/FontFile3 0 0 R」の部分を空白で潰すと pdfpages での取込が正常に行われました。
どうも「0 0 R」という参照表記を出すこと自体があり得ない気がするので、 LuaTeX の不具合の可能性もあると思います。
検証いただきありがとうございます. ご指摘に従い下記変更を LuaTeX のソースに加えると確かにうまくいきました.
Index: source/texk/web2c/luatexdir/font/writefont.w =================================================================== --- source/texk/web2c/luatexdir/font/writefont.w (revision 4266) +++ source/texk/web2c/luatexdir/font/writefont.w (working copy) @@ -533,7 +533,7 @@ } pdf_dict_add_int(pdf, "Flags", fd_flags); write_fontmetrics(pdf, fd); - if (is_cidkeyed(fd->fm)) { + if (is_cidkeyed(fd->fm) && fd->ff_found) { if (is_type1(fd->fm)) pdf_dict_add_ref(pdf, "FontFile3", (int) fd->ff_objnum); else if (is_truetype(fd->fm))
r4270 でパッチが取り込まれました. http://tracker.luatex.org/view.php?id=654
をコンパイルしてできた test.pdf を
で取り込もうとすると,以下のエラーが出ます.xelatex のみ,エラーが出ますがちゃんと取り込めています.なお,ptex + dvipdfmx で作ったフォント非埋め込みの PDF を取り込む場合にはこのようなエラーは出ないようです.