OSDN Git Service

small optimize
[luatex-ja/luatexja.git] / src / luatexja-core.sty
index cfad949..85d68dc 100644 (file)
   \expandafter\let\csname ifltj@in@latex\expandafter\endcsname
     \csname iftrue\endcsname
   \NeedsTeXFormat{LaTeX2e}
-  \ProvidesPackage{luatexja-core}[2015/05/03 Core of LuaTeX-ja]
+  \ProvidesPackage{luatexja-core}[2015/05/17 Core of LuaTeX-ja]
 \fi                             %</LaTeX>
 
 %% Load prerequisite packages.
+\unless\ifdefined\luatexsuppressfontnotfounderror
+  \ifdefined\suppressfontnotfounderror
+    \let\luatexsuppressfontnotfounderror\suppressfontnotfounderror
+    \let\luatexprehyphenchar\prehyphenchar
+    \let\luatexpreexhyphenchar\preexhyphenchar
+    \let\luatexposthyphenchar\posthyphenchar
+    \let\luatexpostexhyphenchar\postexhyphenchar
+  \fi
+\fi
+
 \endlinechar=13 %
 \newif\ifltj@everyhook@avail\ltj@everyhook@availfalse
 %! 外部パッケージは普通の \endlinechar で読まないと危険.