Skip to content

Commit

Permalink
minor docstring formatting: leave empty line after first [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
anthrotype committed Sep 25, 2023
1 parent ddf4585 commit a66d109
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions write-fonts/src/tables/cmap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ fn size_of_cmap12(num_groups: u32) -> u32 {

impl CmapSubtable {
/// Create a new format 4 `CmapSubtable` from a list of `(char, GlyphId)` pairs.
///
/// The pairs are expected to be already sorted by codepoint.
/// Characters beyond the BMP are ignored. If all characters are beyond the BMP
/// then `None` is returned.
Expand Down Expand Up @@ -116,6 +117,7 @@ impl CmapSubtable {
}

/// Create a new format 12 `CmapSubtable` from a list of `(char, GlyphId)` pairs.
///
/// The pairs are expected to be already sorted by chars.
/// In case of duplicate chars, the last one wins.
fn create_format_12(mappings: &[(char, GlyphId)]) -> Self {
Expand Down

0 comments on commit a66d109

Please sign in to comment.