diff --git a/kunnasta/src/os2.rs b/kunnasta/src/os2.rs index 46de200f9..ddeed2426 100644 --- a/kunnasta/src/os2.rs +++ b/kunnasta/src/os2.rs @@ -1,6 +1,10 @@ -// unicode range array generated from the ot spec: -// (https://docs.microsoft.com/en-us/typography/opentype/spec/os2#ur). -// sorted by range start codepoints +//! OS/2 table constants + +/// OS/2 Unicode ranges +/// +/// Unicode range array generated from the ot spec: +/// (https://docs.microsoft.com/en-us/typography/opentype/spec/os2#ur). +/// sorted by range start codepoints pub static UNICODE_RANGES: [(u32, u32, u8); 169] = [ (0x0, 0x7F, 0), // Basic Latin (0x80, 0xFF, 1), // Latin-1 Supplement diff --git a/kunnasta/src/panose.rs b/kunnasta/src/panose.rs index 84c88d9d7..a667f541f 100644 --- a/kunnasta/src/panose.rs +++ b/kunnasta/src/panose.rs @@ -1,3 +1,6 @@ +//! Panose Classification settings +//! +//! See the [PANOSE Classification Metrics Guide](https://monotype.github.io/panose/pan1.html) use num_enum::IntoPrimitive; #[derive(IntoPrimitive)]