Open davelab6 opened 1 month ago
@jfkthame @drott
Yes please
I would be in favor of adding avar2
to the <font-tech>
production in
https://drafts.csswg.org/css-fonts/#font-face-src-parsing
Then the example would work with
src: url('RobotoFlex-VF-avar2.woff2') format(woff2) tech(avar2)
or
src: url('RobotoFlex-VF-avar2.woff2') format(woff2) tech(variations,avar2)
https://web.dev/articles/variable-fonts#loading_variable_font_files gives this CSS example for loading Roboto Flex, an advanced variable font:
However, a new version is under development, https://github.com/googlefonts/roboto-flex-avar2 , and this uses the new avar v2 table instead of the current v1 one, as pioneered in https://github.com/harfbuzz/boring-expansion-spec and can be inspected and authored with https://lorp.github.io/fencer/src/fencer.html
Therefore I would like to be able to do this in my CSS
@lorp @simoncozens @twardoch