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