You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
basicwidget/internal/textstyle: remove the dedicated weight text style property
Ranged font weights will be modeled as the wght OpenType variation
axis, which textstyle.Style already carries in its variations list and
the font package already applies when resolving a face. A dedicated
weight property would be a second representation of the same thing, so
drop it from Style and Runs before implementing the feature. Tests
covering weight now go through SetVariation with the wght tag.
Add TODOs for the remaining face-selection work: choosing a concrete
face from the font family based on the family and italic properties,
and generalizing font.Attributes' ad-hoc Weight, Liga, and Tnum members
into variations and features.
Updates #131
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments