summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2010-04-02Support 'opbd' (OpenType protrusion) featureKhaled Hosny
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.
2010-04-02Fix optical size matchingKhaled Hosny
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).
2010-04-02Rewrite font matching logic to be more consistentKhaled Hosny
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).
2010-04-01Support loading fonts by fullnameKhaled Hosny
Now, if we didn't find a matching family name, we then try fullname.
2010-04-01Fix optical size with no range_top/bottomKhaled Hosny
Some fonts give only design size with no range, in this case we now will assume range top == range bottom == design size.
2010-03-31Test with node mode tooKhaled Hosny
2010-03-24Make font names case insensitiveKhaled Hosny
2010-02-25Updating to latest ConTeXt beta (2010.02.24)Khaled Hosny
Now encoding related code gone.
2010-02-21Simplify againKhaled Hosny
2010-02-21Simplfy test fileKhaled Hosny
2010-02-21Simple test for feature filesKhaled Hosny
2010-02-13Some testsKhaled Hosny
Just few simple tests, we need a better test suite.