summaryrefslogtreecommitdiff
path: root/src/luaotfload.sty
blob: 836d8198bd76ce0d1e37d563b4228f9980448875 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
%% Copyright (C) 2009-2015
%%
%%      by  Elie Roux      <elie.roux@telecom-bretagne.eu>
%%      and Khaled Hosny   <khaledhosny@eglug.org>
%%      and Philipp Gesang <philipp.gesang@alumni.uni-heidelberg.de>
%%      and Dohyun Kim     <nomosnomos@gmail.com>
%%      and David Carlisle <d.p.carlisle@gmail.com>
%%
%% This file is part of Luaotfload.
%%
%%      Home:      https://github.com/lualatex/luaotfload
%%      Support:   <lualatex-dev@tug.org>.
%%
%% Luaotfload is under the GPL v2.0 (exactly) license.
%%
%% ----------------------------------------------------------------------------
%%
%% Luaotfload is free software; you can redistribute it and/or
%% modify it under the terms of the GNU General Public License
%% as published by the Free Software Foundation; version 2
%% of the License.
%%
%% Luaotfload is distributed in the hope that it will be useful,
%% but WITHOUT ANY WARRANTY; without even the implied warranty of
%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
%% GNU General Public License for more details.
%%
%% You should have received a copy of the GNU General Public License
%% along with Luaotfload; if not, see <http://www.gnu.org/licenses/>.
%%
%% ----------------------------------------------------------------------------
%%
%% Classical Plain+\LATEX package initialization.
%%
\csname ifluaotfloadloaded\endcsname
\let\ifluaotfloadloaded\endinput
\ifx\newluafunction\undefined
  \input ltluatex
\fi
\ifdefined\ProvidesPackage
  \ProvidesPackage{luaotfload}%
    %% FIXME  The date is meaningless, we need to find a way to
    %%        use the git revision instead.
    [2015/12/09 v2.6  OpenType layout system]
\fi
\directlua{
require('luaotfload-main')
local _void = luaotfload.main ()
}