Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Oct 31, 2024
1 parent b6daa66 commit 2cae4fd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
10 changes: 7 additions & 3 deletions kunnasta/src/os2.rs
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions kunnasta/src/panose.rs
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down

0 comments on commit 2cae4fd

Please sign in to comment.