OSDN Git Service

Similar bug exists in luatexja-fontspec.sty.
authorHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Mon, 10 Feb 2014 08:17:25 +0000 (17:17 +0900)
committerHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Mon, 10 Feb 2014 08:17:25 +0000 (17:17 +0900)
src/addons/luatexja-fontspec.sty

index 597e533..39f4eba 100644 (file)
       \ifin@\@notffamtrue\else%
         \def\@temp##1+{\lowercase{\def\@@temp{##1#1.fd}}}\expandafter\@temp\f@encoding+%
         \message{(I search kanjifont definition file: \@@temp)}%
-        \IfFileExists{\@@temp#1.fd}{\@tempswztrue}{\@tempswzfalse}%
+        \IfFileExists{\@@temp}{\@tempswztrue}{\@tempswzfalse}%
         \if@tempswz
           \directlua{luatexja.jfont.add_ffam_list(\tmp@enc, \tmp@item)}%
          \edef\f@family{#1}%