chiark / gitweb /
Add @font-feature-values to bedstead-faces.css
authorBen Harris <bjh21@bjh21.me.uk>
Fri, 27 Dec 2024 12:08:37 +0000 (12:08 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 29 Dec 2024 18:50:52 +0000 (18:50 +0000)
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.

bedstead-faces.css

index 11e278ac20b28208e383cd9f97235193a9649a2d..8b9a6c098b816174f6aed9eecf0108867835a4b4 100644 (file)
     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;
+    }
+}