Debian Codegraph @

texmf-dist/tex/luatex/luaotfload/luaotfload.sty

raw
1 %% Copyright (C) 2009-2021
2 %%
3 %% by Elie Roux <[email protected]>
4 %% and Khaled Hosny <[email protected]>
5 %% and Philipp Gesang <[email protected]>
6 %% and Dohyun Kim <[email protected]>
7 %% and David Carlisle <[email protected]>
8 %%
9 %% This file is part of Luaotfload.
10 %%
11 %% Home: https://github.com/latex3/luaotfload
12 %% Support: https://github.com/latex3/luaotfload/issues, <[email protected]>.
13 %%
14 %% Luaotfload is under the GPL v2.0 (exactly) license.
15 %%
16 %% ----------------------------------------------------------------------------
17 %%
18 %% Luaotfload is free software; you can redistribute it and/or
19 %% modify it under the terms of the GNU General Public License
20 %% as published by the Free Software Foundation; version 2
21 %% of the License.
22 %%
23 %% Luaotfload is distributed in the hope that it will be useful,
24 %% but WITHOUT ANY WARRANTY; without even the implied warranty of
25 %% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 %% GNU General Public License for more details.
27 %%
28 %% You should have received a copy of the GNU General Public License
29 %% along with Luaotfload; if not, see <http://www.gnu.org/licenses/>.
30 %%
31 %% ----------------------------------------------------------------------------
32 %%
33 %% Classical Plain+\LATEX package initialization.
34 %%
35 \csname ifluaotfloadloaded\endcsname
36 \let\ifluaotfloadloaded\endinput
37 \ifx\newluafunction\undefined
38 \input ltluatex
39 \fi
40 \ifdefined\ProvidesPackage
41 \ProvidesPackage{luaotfload}%
42 [2024/12/03 v3.29 OpenType layout system]
43 \fi
44 \directlua{
45 if xpcall(function ()%
46 require('luaotfload')%
47 end,texio.write_nl) then %
48 local _void = luaotfload.main ()%
49 else %
50 texio.write_nl('Error in luaotfload - loading aborted')%
51 end %
52 }