-
Notifications
You must be signed in to change notification settings - Fork 746
Closed
Labels
css-fonts-4Current WorkCurrent Work
Description
Reading the overview here, I miss a way to access pre-defined instances by name. While it's great to be able to choose a value for each parameter numerically, in most common cases it will be easier for font users to choose one among several named instances provided by the type designer.
Here’s an example to illustrate what I mean:
10. Use named, pre-defined variation instances contained in the font
@font-face {
font-family: "MyVariableFamily";
src: url("MyVariableFamily.otf");
}
<div style="font-family: MyVariableFamily; font-name: 'SemiBold'>hamburgefonstiv</div>
<div style="font-family: MyVariableFamily; font-name: 'Light Condensed';">hamburgefonstiv</div>
<div style="font-family: MyVariableFamily; font-name: 'Black Extended Rounded'>hamburgefonstiv</div>
note: probably related to this.
rsheeter, colinmford, kupfers and scottkellumCrissov
Metadata
Metadata
Assignees
Labels
css-fonts-4Current WorkCurrent Work