bedstead/bedstead-faces.css
Ben Harris 670c0b0dd5 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.
2024-12-29 18:50:52 +00:00

103 lines
2.2 KiB
CSS

/*
* This file defines @font-face rules to make the various standard
* Bedstead fonts available in CSS.
*/
@font-face {
font-family: Bedstead;
font-stretch: expanded;
font-weight: 500;
src: url(bedstead-extended.otf) format("opentype");
}
@font-face {
font-family: Bedstead;
font-stretch: normal;
font-weight: 500;
src: url(bedstead.otf) format("opentype");
}
@font-face {
font-family: Bedstead;
font-stretch: semi-condensed;
font-weight: 500;
src: url(bedstead-semicondensed.otf) format("opentype");
}
@font-face {
font-family: Bedstead;
font-stretch: condensed;
font-weight: 500;
src: url(bedstead-condensed.otf) format("opentype");
}
@font-face {
font-family: Bedstead;
font-stretch: extra-condensed;
font-weight: 500;
src: url(bedstead-extracondensed.otf) format("opentype");
}
@font-face {
font-family: Bedstead;
font-stretch: ultra-condensed;
font-weight: 500;
src: url(bedstead-ultracondensed.otf) format("opentype");
}
@font-face {
font-family: Bedstead;
font-stretch: expanded;
font-weight: 700;
src: url(bedstead-boldextended.otf) format("opentype");
}
@font-face {
font-family: Bedstead;
font-stretch: normal;
font-weight: 700;
src: url(bedstead-bold.otf) format("opentype");
}
@font-face {
font-family: Bedstead;
font-stretch: semi-condensed;
font-weight: 700;
src: url(bedstead-boldsemicondensed.otf) format("opentype");
}
@font-face {
font-family: Bedstead;
font-stretch: condensed;
font-weight: 700;
src: url(bedstead-boldcondensed.otf) format("opentype");
}
@font-face {
font-family: Bedstead;
font-stretch: extra-condensed;
font-weight: 700;
src: url(bedstead-boldextracondensed.otf) format("opentype");
}
@font-face {
font-family: Bedstead;
font-stretch: ultra-condensed;
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;
}
}