Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Check if kpse can find font names database first | Khaled Hosny | 2010-04-02 | 1 | -1/+4 | |
| | | | | This way we can load font names database from working directory etc. | |||||
* | Clean database generation code a bit | Khaled Hosny | 2010-04-02 | 2 | -64/+18 | |
| | | | | | Simplify the database and the code to reflect recent changes in font matching logic. | |||||
* | Fix optical size matching | Khaled Hosny | 2010-04-02 | 2 | -15/+41 | |
| | | | | | | | | | | With the previous commit, if we don't found a font with the requested optical size, we return nothing, though we might have a matching font name. Now we store all matching names with no matching optical size and return the first one, then we return the closest match (i.e. if the requested size is 15pt and we have 10pt and 5pt match, we return the 10pt one). | |||||
* | Rewrite font matching logic to be more consistent | Khaled Hosny | 2010-04-02 | 2 | -52/+68 | |
| | | | | | | We now simply loop over the whole data.mappings table, so loading font by family, fullname, psname etc is all the same, but it is a bit slower now (~0.25s with syatemfonts.tex). | |||||
* | Support loading fonts by fullname | Khaled Hosny | 2010-04-01 | 2 | -16/+22 | |
| | | | | Now, if we didn't find a matching family name, we then try fullname. | |||||
* | Fix optical size with no range_top/bottom | Khaled Hosny | 2010-04-01 | 2 | -9/+34 | |
| | | | | | Some fonts give only design size with no range, in this case we now will assume range top == range bottom == design size. | |||||
* | Enable font caching | Khaled Hosny | 2010-04-01 | 1 | -0/+53 | |
| | | | | | Update from ConTeXt, changes to save fonts under TEXMFVAR/luatex-cache/latex/fonts. | |||||
* | Pump date | Khaled Hosny | 2010-04-01 | 1 | -6/+6 | |
| | | | | Also, fix date and version number to match that of latex package. | |||||
* | Test with node mode too | Khaled Hosny | 2010-03-31 | 1 | -2/+4 | |
| | ||||||
* | Purge removed fonts by default | Khaled Hosny | 2010-03-30 | 2 | -20/+7 | |
| | | | | | There is no performance difference, so it doesn't make sense to keep removed fonts in the database. | |||||
* | Do garbage collection | Khaled Hosny | 2010-03-30 | 1 | -0/+1 | |
| | | | | Patch from Taco. | |||||
* | Make sure names file exist before loading it | Khaled Hosny | 2010-03-29 | 1 | -1/+6 | |
| | | | | To protect against lua complaining about non existing file. | |||||
* | Update repository link | Khaled Hosny | 2010-03-29 | 1 | -2/+2 | |
| | ||||||
* | Fix outdated comments | Khaled Hosny | 2010-03-28 | 1 | -21/+14 | |
| | ||||||
* | Cosmetics | Khaled Hosny | 2010-03-28 | 1 | -24/+36 | |
| | | | | | Move function documentation inside the function block, and make multi-line documents look better. | |||||
* | Update doc a bit | Khaled Hosny | 2010-03-28 | 1 | -5/+2 | |
| | ||||||
* | Include alt_getopt.lua for now | Khaled Hosny | 2010-03-28 | 2 | -8/+168 | |
| | ||||||
* | Make sanitize() Unicode friendly | Khaled Hosny | 2010-03-24 | 1 | -1/+2 | |
| | ||||||
* | Make some frequently used functions local | Khaled Hosny | 2010-03-24 | 1 | -7/+8 | |
| | ||||||
* | Make font names case insensitive | Khaled Hosny | 2010-03-24 | 2 | -1/+9 | |
| | ||||||
* | Make mkluatexfontdb.lua executable | Khaled Hosny | 2010-03-24 | 1 | -0/+0 | |
| | ||||||
* | Change the default database directory | Khaled Hosny | 2010-03-24 | 2 | -3/+3 | |
| | | | | | Now $TEXMFVAR/luatex-cache/latex/names/ which looks more logical than $TEXMFVAR/scripts/luatexfontdb/. | |||||
* | Fixing database generation under windows | eroux | 2010-03-17 | 1 | -4/+3 | |
| | ||||||
* | Updating to latest ConTeXt beta (2010.03.12) | Khaled Hosny | 2010-03-14 | 5 | -5/+13 | |
| | | | | Fixes a regression with legacy TeX ligatures (``'' etc.) | |||||
* | Cosmetics | Khaled Hosny | 2010-03-14 | 1 | -19/+23 | |
| | ||||||
* | Set minimal required luatex to 0.51 | Khaled Hosny | 2010-03-14 | 1 | -18/+14 | |
| | | | | + remove some unused compatibility code. | |||||
* | Make the loaded names database table global | Khaled Hosny | 2010-03-12 | 1 | -12/+13 | |
| | | | | + some cosmetics | |||||
* | Isolate database loading code and clean it a bit | Khaled Hosny | 2010-03-12 | 2 | -21/+22 | |
| | ||||||
* | Check for windows not "not unix" | Khaled Hosny | 2010-03-12 | 1 | -1/+1 | |
| | ||||||
* | LUAROCKS_UNAME_S doesn't work in tex mode | Khaled Hosny | 2010-03-12 | 2 | -19/+3 | |
| | | | | | Use os.type and os.name instead, if os.name doesn't return cygwin then luatex need to be fixed. | |||||
* | Cleanup | Khaled Hosny | 2010-03-12 | 4 | -70/+107 | |
| | | | | | | | 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. | |||||
* | Pump version here too | Khaled Hosny | 2010-03-12 | 1 | -1/+1 | |
| | ||||||
* | Fix loading existing databse | Khaled Hosny | 2010-03-10 | 1 | -2/+2 | |
| | | | | We were always generating a new one. | |||||
* | Cosmetics | Khaled Hosny | 2010-03-10 | 1 | -12/+12 | |
| | ||||||
* | Cosmetics | Khaled Hosny | 2010-03-10 | 1 | -17/+18 | |
| | ||||||
* | --no-fc-cache doesn't make sense now | Khaled Hosny | 2010-03-10 | 1 | -4/+0 | |
| | ||||||
* | Oops... | eroux | 2010-03-10 | 1 | -0/+3 | |
| | ||||||
* | Making purge an non-default option and fixing log levels | eroux | 2010-03-10 | 2 | -22/+53 | |
| | | | | | 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 script | eroux | 2010-03-09 | 2 | -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 greatest | Khaled Hosny | 2010-03-08 | 1 | -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 faster | Khaled Hosny | 2010-03-08 | 1 | -17/+10 | |
| | | | | | We also don't need to call that code from outside anyway (there is no point). | |||||
* | Fix log message | Khaled Hosny | 2010-03-08 | 1 | -1/+2 | |
| | ||||||
* | Changing the database directory to TEXMFVAR/scripts/luatexfontdb | eroux | 2010-03-03 | 2 | -15/+17 | |
| | ||||||
* | Now having version in status table too | eroux | 2010-03-01 | 2 | -5/+13 | |
| | | | | Also stronger checks on status | |||||
* | Changing the checksum system to a timestamp system | eroux | 2010-03-01 | 2 | -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 too | eroux | 2010-03-01 | 1 | -3/+3 | |
| | ||||||
* | not using fc-cache by default | eroux | 2010-03-01 | 1 | -3/+2 | |
| | ||||||
* | Fixing small bugs | eroux | 2010-03-01 | 2 | -13/+13 | |
| | ||||||
* | finishing renaming | eroux | 2010-03-01 | 2 | -7/+6 | |
| | ||||||
* | Renaming the script mkluatexfontdb | eroux | 2010-03-01 | 1 | -0/+0 | |
| |