summaryrefslogtreecommitdiff
path: root/otfl-font-nms.lua
Commit message (Collapse)AuthorAgeFilesLines
* Do garbage collectionKhaled Hosny2010-03-301-0/+1
| | | | Patch from Taco.
* Make sure names file exist before loading itKhaled Hosny2010-03-291-1/+6
| | | | To protect against lua complaining about non existing file.
* CosmeticsKhaled Hosny2010-03-281-24/+36
| | | | | Move function documentation inside the function block, and make multi-line documents look better.
* Make sanitize() Unicode friendlyKhaled Hosny2010-03-241-1/+2
|
* Make some frequently used functions localKhaled Hosny2010-03-241-7/+8
|
* Make font names case insensitiveKhaled Hosny2010-03-241-1/+3
|
* Change the default database directoryKhaled Hosny2010-03-241-2/+2
| | | | | Now $TEXMFVAR/luatex-cache/latex/names/ which looks more logical than $TEXMFVAR/scripts/luatexfontdb/.
* Fixing database generation under windowseroux2010-03-171-4/+3
|
* Make the loaded names database table globalKhaled Hosny2010-03-121-12/+13
| | | | + some cosmetics
* Isolate database loading code and clean it a bitKhaled Hosny2010-03-121-13/+18
|
* Check for windows not "not unix"Khaled Hosny2010-03-121-1/+1
|
* LUAROCKS_UNAME_S doesn't work in tex modeKhaled Hosny2010-03-121-18/+2
| | | | | Use os.type and os.name instead, if os.name doesn't return cygwin then luatex need to be fixed.
* CleanupKhaled Hosny2010-03-121-5/+86
| | | | | | | 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.
* Oops...eroux2010-03-101-0/+3
|
* Making purge an non-default option and fixing log levelseroux2010-03-101-21/+52
| | | | | 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-29/+41
| | | | | | | | | | | | * 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.
* Now having version in status table tooeroux2010-03-011-3/+11
| | | | Also stronger checks on status
* Changing the checksum system to a timestamp systemeroux2010-03-011-16/+20
| | | | | | | - 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)
* Fixing small bugseroux2010-03-011-5/+4
|
* Rewrite loggingKhaled Hosny2010-03-011-34/+56
|
* A, useless, rewriteKhaled Hosny2010-03-011-104/+41
| | | | | | Rewrite the database script to be a more or less a luaotfload module (so it can be invoked, say, by fontspec) and actual file writing to the update script. Not finished yet.
* Prepare for merging luaotfload-fonts in luaotfloadKhaled Hosny2010-02-281-0/+375