summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Improvements on the database and on the scripteroux2010-03-092-37/+54
| | | | | | | | | | | | * 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.
* We support nothing but the latest and greatestKhaled Hosny2010-03-081-7/+1
| | | | | It is actually worse than that, I only test against trunk, once texlive2010 binaries are frozen we will test against it.
* Locals are fasterKhaled Hosny2010-03-081-17/+10
| | | | | We also don't need to call that code from outside anyway (there is no point).
* Fix log messageKhaled Hosny2010-03-081-1/+2
|
* Changing the database directory to TEXMFVAR/scripts/luatexfontdberoux2010-03-032-15/+17
|
* Now having version in status table tooeroux2010-03-012-5/+13
| | | | Also stronger checks on status
* Changing the checksum system to a timestamp systemeroux2010-03-012-19/+35
| | | | | | | - 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)
* renaming in the Makefile tooeroux2010-03-011-3/+3
|
* not using fc-cache by defaulteroux2010-03-011-3/+2
|
* Fixing small bugseroux2010-03-012-13/+13
|
* finishing renamingeroux2010-03-012-7/+6
|
* Renaming the script mkluatexfontdberoux2010-03-011-0/+0
|
* Rewrite loggingKhaled Hosny2010-03-012-40/+62
|
* A, useless, rewriteKhaled Hosny2010-03-012-117/+98
| | | | | | 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/+0
|
* Correlate checksums to filenamesKhaled Hosny2010-02-282-4/+4
| | | | | This way when the file is moved around, its filename in the database will be updated, as suggested by Elie.
* Open the file in append modeKhaled Hosny2010-02-261-1/+1
| | | | | So that the old file content is not erased, right now if the script ended unexpectedly, we are left with an empty file.
* Implement a --force optionKhaled Hosny2010-02-262-8/+19
|
* Checksum loaded fontsKhaled Hosny2010-02-262-10/+33
| | | | | | Store checksums of already loaded fonts in the database to avoids reloading them, this isn't much faster but it avoids reloading the fonts and the huge memory consumption. Is there a faster way to hash a file?
* Get rid of empty lines in the outputKhaled Hosny2010-02-261-3/+0
|
* Updating News fileeroux2010-02-261-1/+1
|
* Updating READMEeroux2010-02-261-0/+1
|
* making the end of the path (after TEXMFVAR) a variableeroux2010-02-262-3/+7
| | | | as it will change soon...
* Adding a swith on arg[0]eroux2010-02-261-0/+3
|
* Executing fc-cache if necessary (to be tested further)eroux2010-02-261-7/+35
|
* Making the log function available elsewhereeroux2010-02-261-5/+3
| | | | + Ooops, I missed one commit...
* A safer path normalizationeroux2010-02-261-7/+16
|
* Remove the arg[0] checking hackKhaled Hosny2010-02-261-4/+0
| | | | The script is no longer to be run standalone.
* More robust progress bar buildingKhaled Hosny2010-02-261-3/+3
|
* Port to "alt_getopt"Khaled Hosny2010-02-261-58/+52
| | | | | | | | | Now the options are handled the standard getopt_long way, with a hack to support multiple -v's, and --verbose now takes a required level argument. Also, we now use require() which already have built-in error checking (if it doesn't work on some system, then this is a bug to report).
* Updating the README and MakefileElie Roux2010-02-252-9/+12
|
* First commit of the update-luatex-font-database scriptElie Roux2010-02-251-0/+103
| | | | I think it's quite OK as it is now... all comments are welcome!
* Actually working checks for writabilityElie Roux2010-02-251-12/+19
| | | | | | | | | Now we scan the fonts only if we can write in the final file. There is currently (if I understand correctly) no clean way to check if a folder is writable or not in Lua: lfs.attributes will give you the string returned by ls -l, but there is no simple way to know if we can actually write, as we don't know if we are the owner, or if we have access to the group...
* Making the final directory changeableElie Roux2010-02-251-5/+14
| | | | Useful for the --sys option
* Fixing duplicate entries in the databaseElie Roux2010-02-251-7/+26
| | | | | | | If the texmf fonts are in fc-cache (which is the case in Debian's TeX Live 2009, there were two entries in the database, one with the filename and the other with the complete path, they were also scanned twice.
* Adding some comments, small changes in the logs.Elie Roux2010-02-251-6/+47
|
* Updating to latest ConTeXt beta (2010.02.24)Khaled Hosny2010-02-258-257/+53
| | | | Now encoding related code gone.
* Updating to latest ConTeXt beta (2010.02.23)Khaled Hosny2010-02-237-174/+184
| | | | | Now many of our fixes are incorporated upstream or fixed in a different way.
* Simplify againKhaled Hosny2010-02-211-2/+2
|
* Simplfy test fileKhaled Hosny2010-02-211-1/+1
|
* Simple test for feature filesKhaled Hosny2010-02-212-0/+21
|
* Fix bug with loading font featureKhaled Hosny2010-02-211-1/+1
| | | | Make sure |kind| is defined before calling |string.lower()| on it.
* Some README and author updatesKhaled Hosny2010-02-203-8/+9
|
* Add a new |luat-over| moduleKhaled Hosny2010-02-203-23/+37
| | | | | To minimize differences between original ConTeXt files, this module overrides functions defined in |luat-dum| module.
* Updating to latest ConTeXt beta (2010.02.18)Khaled Hosny2010-02-203-36/+7
| | | | + Remove some, now unneeded, code.
* Fixing cygwin pathsElie Roux2010-02-161-1/+26
|
* Some cosmetic hacksKhaled Hosny2010-02-151-3/+4
|
* Disable progress bar in verbose modeKhaled Hosny2010-02-151-15/+17
|
* Guard against fonts with broken names tableKhaled Hosny2010-02-151-6/+14
| | | | | | Due to a bug in current luatex, some fonts would lack certain required entries in names table, now we'll just ignore such fonts. The real bug is fixed in luatex trunk anyway.
* Adding only modern fonts to the list of os fontsElie Roux2010-02-151-1/+5
|