monks/font_variant_caps
The font-variant-caps CSS property controls the use of alternate glyphs used for small or petite capitals or for titling.
Values
pub const all_petite_caps: #(String, String)
- : Enables display of petite capitals for both upper and lowercase letters (OpenType features:
c2pc,pcap).
pub const all_small_caps: #(String, String)
- : Enables display of small capitals for both upper and lowercase letters (OpenType features:
c2sc,smcp).
pub const petite_caps: #(String, String)
- : Enables display of petite capitals (OpenType feature:
pcap).
pub fn raw(value: String) -> #(String, String)
Enter a raw string value for font-variant-caps
pub const revert_layer: #(String, String)
pub const small_caps: #(String, String)
- : Enables display of small capitals (OpenType feature:
smcp). Small-caps glyphs typically use the form of uppercase letters but are displayed using the same size as lowercase letters.
pub const titling_caps: #(String, String)
- : Enables display of titling capitals (OpenType feature:
titl). Uppercase letter glyphs are often designed for use with lowercase letters. When used in all uppercase titling sequences they can appear too strong. Titling capitals are designed specifically for this situation.
pub const unicase: #(String, String)
- : Enables display of mixture of small capitals for uppercase letters with normal lowercase letters (OpenType feature:
unic).