summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Enable italic correction feature by defaultKhaled Hosny2012-03-271-5/+3
| | | | | | | Conflicts: otfl-font-xtx.lua tests/itlc.tex
* Test for italic correctionKhaled Hosny2012-03-111-0/+7
|
* Make tlig actually workKhaled Hosny2012-02-261-2/+2
| | | | | Works OK in node mode, in base mode `` and '' are not ligated, also consolidated tlig and trep into one feature.
* Restore the rest of legacy TeX ligatures.Khaled Hosny2012-02-261-3/+3
|
* Add single quotes to the testKhaled Hosny2011-12-191-2/+2
|
* Revert "tlig, trep and anum are no longer supported"Khaled Hosny2011-12-192-0/+19
| | | | | | | | This reverts commit b0786c4d31736f4421c2e71d655a1e407cfabd76. Conflicts: luaotfload.dtx
* Load font by nameKhaled Hosny2011-11-121-6/+6
|
* Add test fileKhaled Hosny2011-11-121-0/+16
|
* Make the math test more usefulKhaled Hosny2011-11-101-3/+18
|
* Extend test a bitKhaled Hosny2011-11-101-1/+3
|
* Test for italic correctionKhaled Hosny2011-10-061-1/+5
|
* OFM fonts no longer workKhaled Hosny2011-10-061-6/+0
| | | | | | | I've no idea why, but I doubt anyone is using them, so I'm removing the test for now, whoever is using them is free to come with a patch. Now make chec-all runs successfully.
* tlig, trep and anum are no longer supportedKhaled Hosny2011-10-062-19/+0
| | | | | | Hans don't seem to care too much about them, neither I and I keep patching the files to re-instate this support. Someone else has to convince Hans to support those feature in his "plain" font loader.
* Another internal table renamedKhaled Hosny2011-10-041-2/+2
| | | | More tests pass.
* SimplifyKhaled Hosny2011-03-021-11/+3
|
* MinorKhaled Hosny2011-02-281-1/+1
|
* Simplify feature fileKhaled Hosny2011-02-281-70/+13
|
* Remove `luaotfload.add_patch_callback()`Khaled Hosny2010-11-261-2/+2
| | | | | Per Philip's suggestion, `luatexbase.add_to_callback()` is to be used directly instead.
* Test fileKhaled Hosny2010-11-261-0/+24
|
* Fix GPOS mark placement for LTR textKhaled Hosny2010-10-061-0/+4
| | | | | | Fix by Hans. fixes #18
* Sanitize color before attempting to use itKhaled Hosny2010-09-131-0/+8
| | | | | Right now it just checks the number if fields, may be we should check if it is a valid hex color value as well.
* Fix for \overwithdelims and brothersKhaled Hosny2010-07-151-0/+7
| | | | | | | | We now fill in two extra math constants, FractionDelimiterSize and FractionDelimiterDisplayStyleSize. See: http://tug.org/pipermail/luatex/2010-July/001741.html
* ssty indexes from 1 in luatexWill Robertson2010-07-141-2/+2
|
* Fix 'anum' featureKhaled Hosny2010-06-271-0/+12
| | | | 'FAR' script was used instead of 'ARA' and 'URD' instead of 'FAR'!
* Another testKhaled Hosny2010-06-151-0/+5
|
* Extend and simplify the testKhaled Hosny2010-06-141-9/+15
|
* Populate MathConstants tableKhaled Hosny2010-06-141-0/+20
| | | | A temporary fix.
* Fallback to regularKhaled Hosny2010-06-081-0/+6
| | | | | | | If the requested style is not found, fallback to regular. I think this broke in commit b9d377647240804d7d85429a18e1bdf0ff00823c closes #13
* Adding a test file for fonts.conf configurationElie Roux2010-06-042-0/+25
|
* Explicitely convert color value to stringKhaled Hosny2010-06-031-3/+4
| | | | Fixes #9
* Split the tfm test to uts own plain fileKhaled Hosny2010-05-312-11/+6
| | | | | | The tfmofm.ltx is special since this specific issues can't be tested in plain (cm math fonts which trigger the issue are dumped in the format, so the ttf version never get loaded in plain).
* Adding a test for loading an ofm font with and without the extention.Elie Roux2010-05-311-0/+11
|
* Handle bypassing TFM fonts properlyKhaled Hosny2010-05-311-0/+6
| | | | | | | | We now detect tfm fonts much earlier and force a file based lookup, thus bypassing |names.resolve()| completely. So, now |\font\tenrm=cmr10| is exactly the same as |\font\tenrm=file:cmr10| as long as there is a tfm/ofm file named cmr10.
* Support 'opbd' (OpenType protrusion) featureKhaled Hosny2010-04-022-0/+253
| | | | | | | 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.
* Fix optical size matchingKhaled Hosny2010-04-021-0/+4
| | | | | | | | | | 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-021-0/+2
| | | | | | 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-011-0/+7
| | | | Now, if we didn't find a matching family name, we then try fullname.
* Fix optical size with no range_top/bottomKhaled Hosny2010-04-011-0/+9
| | | | | Some fonts give only design size with no range, in this case we now will assume range top == range bottom == design size.
* Test with node mode tooKhaled Hosny2010-03-311-2/+4
|
* Make font names case insensitiveKhaled Hosny2010-03-241-0/+6
|
* Updating to latest ConTeXt beta (2010.02.24)Khaled Hosny2010-02-251-0/+4
| | | | Now encoding related code gone.
* 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
|
* Some testsKhaled Hosny2010-02-134-0/+71
Just few simple tests, we need a better test suite.