summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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.