diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2010-03-28 21:53:22 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2010-03-28 21:53:22 +0200 |
commit | da145794ad36e98ddcbd7989d48be5f6c212f1d6 (patch) | |
tree | 5e246b4d849f6ec936e1626381a01fe03e38f47c /mkluatexfontdb.lua | |
parent | 6ece515832ba80bb94b20d16e93da1e6e89ab52e (diff) | |
download | luaotfload-da145794ad36e98ddcbd7989d48be5f6c212f1d6.tar.gz |
Fix outdated comments
Diffstat (limited to 'mkluatexfontdb.lua')
-rwxr-xr-x | mkluatexfontdb.lua | 35 |
1 files changed, 14 insertions, 21 deletions
diff --git a/mkluatexfontdb.lua b/mkluatexfontdb.lua index 984d767..3e5b02c 100755 --- a/mkluatexfontdb.lua +++ b/mkluatexfontdb.lua @@ -1,19 +1,11 @@ #!/usr/bin/env texlua --- This file is copyright 2010 Elie Roux and Khaled Hosny and is under CC0 --- license (see http://creativecommons.org/publicdomain/zero/1.0/legalcode). --- --- This file is a wrapper for the luaotfload-fonts.lua script. --- It is part of the luaotfload bundle, please see the luaotfload documentation --- for more info. - --[[ - first we import luaotfload-fonts.lua. - Basically it 'exports' three usefult things: the two overwritable variables - - luaotfload.fonts.basename: the filename of the database - - luaotfload.fonts.directory: the directory of the database - and the function - - luaotfload.fonts.generate: the function to generate the database -]] +This file is copyright 2010 Elie Roux and Khaled Hosny and is under CC0 +license (see http://creativecommons.org/publicdomain/zero/1.0/legalcode). + +This file is a wrapper for the luaotfload's font names module. It is part of the +luaotfload bundle, please see the luaotfload documentation for more info. +--]] kpse.set_program_name("luatex") @@ -63,10 +55,9 @@ local function version_msg() end --[[ - Command-line processing. - Here we fill cmdargs with the good values, and then analyze it, setting - luaotfload.fonts.log_level luaotfload.fonts.directory if necessary. -]] +Command-line processing. +Here we fill cmdargs with the good values, and then analyze it. +--]] local long_opts = { ['database-dir'] = "d", @@ -82,10 +73,12 @@ local long_opts = { local short_opts = "d:fqpvVh" --- Function running fc-cache if needed. --- The argument is nil for default, 0 for no fc-cache and 1 for fc-cache. --- Default behaviour is to run fc-cache if available. local function do_run_fc_cache(c) + --[[ + Function running fc-cache if needed. + The argument is nil for default, 0 for no fc-cache and 1 for fc-cache. + Default behaviour is to run fc-cache if available. + --]] if c == 0 then return end if not c then -- TODO: detect if fc-cache is available |