#2318 cmap files not found by luatexja

fixed
None
2014-05-13
2014-04-19
U_Fischer
No

The luatexja package needs to find some cmap files the first time it is run. This files are in poppler/cMap. But this folder is not in the search path of luatex and so you get an error:

\documentclass{article}

 \usepackage{luatexja-fontspec}
 \setmainjfont{Arial Unicode MS}  
  \begin{document}
  abc
  \end{document}

  ! LuaTeX error ...iles (x86)/MiKTeX 2.9/tex/luatex/luatexja/ltj-rmlgbm.lua
  bad argument #1 to 'open' (string expected, got nil)

Copying the content of poppler/cmap files to fonts/cmap solves the problem.

Ulrike Fischer

Discussion

  • Christian Schenk

    I have added package adobemapping and the files can be found under fonts/cmap (which will be search for cmap files).

     
  • Christian Schenk

    • status: open --> fixed
    • assigned_to: Christian Schenk