- From: Gustavo Ferreira via GitHub <sysbot+gh@w3.org>
- Date: Fri, 23 Sep 2016 15:28:51 +0000
- To: public-css-archive@w3.org
gferreira has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-fonts-4] access to named instances == Reading the overview [here](https://litherum.blogspot.com.br/2016/09/variable-fonts-in-css-draft.html), 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](https://github.com/w3c/csswg-drafts/issues/518). Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/525 using your GitHub account
Received on Friday, 23 September 2016 15:29:02 UTC