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