From: Ben Harris Date: Fri, 27 Dec 2024 12:08:37 +0000 (+0000) Subject: Add @font-feature-values to bedstead-faces.css X-Git-Tag: bedstead-3.251~54 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=670c0b0dd5fef441699d7f4d9cce4b87e054d2ca;p=bedstead.git Add @font-feature-values to bedstead-faces.css This means that users of this stylesheet can use declarations like "font-variant: styleset(saa5051)" to request a particular stylistic set. The separated graphics sets, 'ss14' and 'ss16', are not covered by this because new applications should use the proper Unicode code points for separated graphics instead. --- diff --git a/bedstead-faces.css b/bedstead-faces.css index 11e278a..8b9a6c0 100644 --- a/bedstead-faces.css +++ b/bedstead-faces.css @@ -86,3 +86,17 @@ font-weight: 700; src: url(bedstead-boldultracondensed.otf) format("opentype"); } + +/* + * These settings allow selection of stylistic sets by name: + * font-variant: styleset(saa5051); + * font-variant: styleset(saa5052); + * font-variant: styleset(saa5054); + */ +@font-feature-values Bedstead { + @styleset { + saa5051: 1; + saa5052: 2; + saa5054: 4; + } +}