summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Import ConTeXt math modulesKhaled Hosny2010-04-0213-0/+148151
| | | | | | | | | Modules that provide OpenType and Unicode math related functionality, not very tested yet, but it seems to magically fix some of unicode-math issues. May be it should be trimmed a bit, since a good chunk of the code is of no use to us.
* Try fontname and ps fullname tooKhaled Hosny2010-04-021-1/+3
|
* Some cleanup + a bug fixKhaled Hosny2010-04-021-21/+18
| | | | | | | | If the family name is matching but no matching style, we would not return any thing, we now just return a random match (e.g. the user asks for XITS Math/Regular but gets XITS Math/Math), I hope in such rare cases there is only one match, else one is better giving proper style or fullname.
* Support 'opbd' (OpenType protrusion) featureKhaled Hosny2010-04-023-11/+363
| | | | | | | Code scrapped from ConTeXt, AFAIK, no font implements OpenType optical bounds (on of Linux Libertine font has traces of it), but I plan to use it in my fonts. The committed feature file is prepared for Pagella, we can later have font specific feature files like this.
* Return the original name, not the normalised oneKhaled Hosny2010-04-021-1/+1
| | | | When we fallback to filename lookup, we should return the original name.
* Oops!Khaled Hosny2010-04-021-2/+2
|
* Check if kpse can find font names database firstKhaled Hosny2010-04-021-1/+4
| | | | This way we can load font names database from working directory etc.
* Clean database generation code a bitKhaled Hosny2010-04-022-64/+18
| | | | | Simplify the database and the code to reflect recent changes in font matching logic.
* Fix optical size matchingKhaled Hosny2010-04-022-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 consistentKhaled Hosny2010-04-022-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 fullnameKhaled Hosny2010-04-012-16/+22
| | | | Now, if we didn't find a matching family name, we then try fullname.
* Fix optical size with no range_top/bottomKhaled Hosny2010-04-012-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 cachingKhaled Hosny2010-04-011-0/+53
| | | | | Update from ConTeXt, changes to save fonts under TEXMFVAR/luatex-cache/latex/fonts.
* Pump dateKhaled Hosny2010-04-011-6/+6
| | | | Also, fix date and version number to match that of latex package.
* Test with node mode tooKhaled Hosny2010-03-311-2/+4
|
* Purge removed fonts by defaultKhaled Hosny2010-03-302-20/+7
| | | | | There is no performance difference, so it doesn't make sense to keep removed fonts in the database.
* 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.
* Update repository linkKhaled Hosny2010-03-291-2/+2
|
* Fix outdated commentsKhaled Hosny2010-03-281-21/+14
|
* CosmeticsKhaled Hosny2010-03-281-24/+36
| | | | | Move function documentation inside the function block, and make multi-line documents look better.
* Update doc a bitKhaled Hosny2010-03-281-5/+2
|
* Include alt_getopt.lua for nowKhaled Hosny2010-03-282-8/+168
|
* 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-242-1/+9
|
* Make mkluatexfontdb.lua executableKhaled Hosny2010-03-241-0/+0
|
* Change the default database directoryKhaled Hosny2010-03-242-3/+3
| | | | | Now $TEXMFVAR/luatex-cache/latex/names/ which looks more logical than $TEXMFVAR/scripts/luatexfontdb/.
* Fixing database generation under windowseroux2010-03-171-4/+3
|
* Updating to latest ConTeXt beta (2010.03.12)Khaled Hosny2010-03-145-5/+13
| | | | Fixes a regression with legacy TeX ligatures (``'' etc.)
* CosmeticsKhaled Hosny2010-03-141-19/+23
|
* Set minimal required luatex to 0.51Khaled Hosny2010-03-141-18/+14
| | | | + remove some unused compatibility code.
* 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-122-21/+22
|
* Check for windows not "not unix"Khaled Hosny2010-03-121-1/+1
|
* LUAROCKS_UNAME_S doesn't work in tex modeKhaled Hosny2010-03-122-19/+3
| | | | | Use os.type and os.name instead, if os.name doesn't return cygwin then luatex need to be fixed.
* CleanupKhaled Hosny2010-03-124-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 tooKhaled Hosny2010-03-121-1/+1
|
* 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
|
* Oops...eroux2010-03-101-0/+3
|
* Making purge an non-default option and fixing log levelseroux2010-03-102-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 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