Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix optical size matching | Khaled Hosny | 2010-04-02 | 1 | -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). | ||||
* | Fix optical size with no range_top/bottom | Khaled Hosny | 2010-04-01 | 1 | -0/+9 |
Some fonts give only design size with no range, in this case we now will assume range top == range bottom == design size. |