summaryrefslogtreecommitdiff
path: root/mkluatexfontdb.lua
Commit message (Collapse)AuthorAgeFilesLines
* avoid loading of extended lualibsPhilipp Gesang2013-04-131-1/+6
|
* enable overrides for Context loggersPhilipp Gesang2013-04-111-0/+1
|
* make loglevel “-q” effectivePhilipp Gesang2013-04-101-1/+2
|
* cleanup font db scriptPhilipp Gesang2013-04-101-27/+29
|
* fallback for earlier lualibs; move locals up in luaotfload.luaPhilipp Gesang2013-04-101-3/+5
|
* Fixing module loading in the scriptElie Roux2013-04-081-0/+8
| | | | | | | | Even though the script should not really be useful anymore, it might be useful for debugging purposes, so I think it's worth fixing it. It was crashing on require("lualibs"), unable to find the module; so I made it load luatexbase.loader.lua, in oder to fix it...
* Copyright does not make sense with CC0Khaled Hosny2011-11-091-1/+1
| | | | Thanks to Karl for pointing this out.
* More cleanupKhaled Hosny2011-10-161-1/+1
|
* Add support for compiled names cacheKhaled Hosny2011-10-161-0/+3
|
* No more pairs()/ipairs()Khaled Hosny2011-10-141-1/+1
|
* Unify logging systemsPhilipp Stephani2011-07-241-1/+2
| | | | | | | | | Until now, the logging functions in `otfl-luat-ovr.lua` and the function `log` in `otfl-font-nms.lua` used different syntax conventions, which resulted in suboptimal output when the functions in `otfl-font-nms.lua` were called from the LuaLaTeX module (in contrast to `mkluatexfontdb`). Spotted by Karl Berry, see http://tug.org/pipermail/lualatex-dev/2011-July/001274.html
* Remove some misleading text, one should read the manual insteadKhaled Hosny2011-04-211-19/+0
|
* Remove --database-dir and --sys optionsKhaled Hosny2010-11-121-49/+9
| | | | | | | | | | | * --database-dir is useless anyway since we don't support loading names database from arbitrary path. * --sys (and mkluatexfontdb-sys) are dangerous since we will load user specific fonts (in ~/.fonts for example) which can not be loaded by other users (can be security concern as well). If there is real need, we should then implement it properly. + some clean up and less code duplication in mkluatexfontdb.
* Remove the progress bar and simplify the codeKhaled Hosny2010-07-111-1/+0
| | | | | The database building/updating that the, unusual, progress bar is not needed.
* Outdated docKhaled Hosny2010-06-231-1/+1
|
* CosmeticsKhaled Hosny2010-06-141-2/+2
| | | | Utilize lualibs functions when apporiate.
* Remove --fc-cache optionKhaled Hosny2010-05-301-25/+0
| | | | | | We no longer query fontconfig cache rendering this option useless. Someone have to test it, I can't run the script here.
* Document auto mkluatexfontdbWill Robertson2010-05-311-7/+8
| | | | (hope that's enough. too late for much thought.)
* Revert "Remove all mention of the CC0 licence; use GPL for all"Will Robertson2010-05-201-2/+2
| | | | This reverts commit ef220e625c6741cc15f29a77e457c7094fc79541.
* Remove all mention of the CC0 licence; use GPL for allWill Robertson2010-05-201-2/+2
| | | | Related question: do Manuel and I have to add our names to the copyright?
* document OSFONTDIR behaviourWill Robertson2010-05-191-0/+10
|
* a little documentation for mkluatexfontdb --helpWill Robertson2010-05-191-0/+8
|
* Simplify the codeKhaled Hosny2010-05-161-10/+1
| | | | | The |status| table need not to reside in a separate file, it is now part of the font names database itself.
* Removing the useless mkluatexfontdb tableElie Roux2010-05-151-8/+7
|
* luaextra -> lualibsKhaled Hosny2010-05-111-1/+1
|
* Change the default cache pathKhaled Hosny2010-04-271-1/+1
| | | | | Per Manuel's suggestion, we now use TEXMVAR/luatex/generic/luaotfload/ instead of TEXMVAR/luatex-cache/latex/.
* Clean database generation code a bitKhaled Hosny2010-04-021-2/+1
| | | | | Simplify the database and the code to reflect recent changes in font matching logic.
* Purge removed fonts by defaultKhaled Hosny2010-03-301-8/+3
| | | | | There is no performance difference, so it doesn't make sense to keep removed fonts in the database.
* Fix outdated commentsKhaled Hosny2010-03-281-21/+14
|
* Make mkluatexfontdb.lua executableKhaled Hosny2010-03-241-0/+0
|
* Change the default database directoryKhaled Hosny2010-03-241-1/+1
| | | | | Now $TEXMFVAR/luatex-cache/latex/names/ which looks more logical than $TEXMFVAR/scripts/luatexfontdb/.
* Isolate database loading code and clean it a bitKhaled Hosny2010-03-121-8/+4
|
* LUAROCKS_UNAME_S doesn't work in tex modeKhaled Hosny2010-03-121-1/+1
| | | | | Use os.type and os.name instead, if os.name doesn't return cygwin then luatex need to be fixed.
* CleanupKhaled Hosny2010-03-121-2/+0
| | | | | | | Group all our font names functions in |otfl-font-nms.lua| and make |luaotfload.lua| load it. Now |otfl-font-dum.lua| is an unmodified, we instead override the needed functions in the names module. This decreases the redundancy that we had.
* Fix loading existing databseKhaled Hosny2010-03-101-2/+2
| | | | We were always generating a new one.
* CosmeticsKhaled Hosny2010-03-101-12/+12
|
* CosmeticsKhaled Hosny2010-03-101-17/+18
|
* --no-fc-cache doesn't make sense nowKhaled Hosny2010-03-101-4/+0
|
* Making purge an non-default option and fixing log levelseroux2010-03-101-1/+1
| | | | | It seems that there is no performance regressions with purge... can you test, maybe it would be better to make it default?
* Improvements on the database and on the scripteroux2010-03-091-8/+13
| | | | | | | | | | | | * the info on a font now contains the checksum (might be needed for font caching) * very small optimizations in force mode * database version bumping * a new purge option (not taken into consideration yet) * new mechanism to remove old entries in the database without rebuilding everything, activated all the time but (for performance reasons) will be activated only with the purge options in the very near future.
* Changing the database directory to TEXMFVAR/scripts/luatexfontdberoux2010-03-031-5/+6
|
* Now having version in status table tooeroux2010-03-011-2/+2
| | | | Also stronger checks on status
* Changing the checksum system to a timestamp systemeroux2010-03-011-3/+15
| | | | | | | - the status is now externalized in another file name (in the same directory), so that it's not loaded when just asking for a font - the status is now filename->last-modification-timestamp so that we don't have to checksum the files (much faster)
* not using fc-cache by defaulteroux2010-03-011-3/+2
|
* Fixing small bugseroux2010-03-011-8/+9
|
* finishing renamingeroux2010-03-011-1/+1
|
* Renaming the script mkluatexfontdberoux2010-03-011-0/+177