Skip to content
  • Behdad Esfahbod's avatar
    In RenderPrepare(), handle ranges smartly · 2db7ca7d
    Behdad Esfahbod authored
    If font claims to support range [100,900], and request is for [250], then
    return [250] in "rendered" pattern.  Previously was returning [100,900].
    
    This is desirable for varfonts weight and width, but probably not for size.
    Will roll back size to return request size always, for non-empty ranges.
    2db7ca7d