From: Martin Mares Date: Tue, 5 Jun 2018 20:14:21 +0000 (+0200) Subject: LuaTeX: Moved PK resolution hack to ucwmac.tex X-Git-Tag: v1.99~1^2~21 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=2ca3097c0531c5927dab0303d39e49991c2be047;p=ucwmac.git LuaTeX: Moved PK resolution hack to ucwmac.tex --- diff --git a/ucw-luacsplain.ini b/ucw-luacsplain.ini index c5ce013..8e72155 100644 --- a/ucw-luacsplain.ini +++ b/ucw-luacsplain.ini @@ -55,8 +55,6 @@ \everyjob={% \message{Loaded ucw-luacsplain 2018-06}% - % Set resolution of bitmap fonts - \directlua{kpse.init_prog("luatex", 600, "ljfour")}% % These packages do not survive dumping, defer loading to \everyjob \input ltluatex.tex \input ucwmac.tex diff --git a/ucwmac.tex b/ucwmac.tex index a0b0fe1..6f28ef0 100644 --- a/ucwmac.tex +++ b/ucwmac.tex @@ -24,6 +24,11 @@ \pdfpkresolution=600 % Provide a reasonable default \fi\fi +\ifx\directlua\undefined\else + % In LuaTeX \pdfpkresolution is not enough + \directlua{kpse.init_prog("luatex", 600, "ljfour")} +\fi + %%% Auxiliary macros %%% % Prepend/append #2 to the definition of #1