Skip to content

Commit

Permalink
subset: Allow unused variants in CmapStrategy
Browse files Browse the repository at this point in the history
Some are only used when the prince feature is enabled.
  • Loading branch information
wezm authored and cliu2018 committed Sep 14, 2023
1 parent 4851f15 commit d06cda7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tables/cmap/subset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ pub(crate) enum CmapTarget {
}

/// The strategy to use to generate a cmap table for the subset font
#[allow(unused)]
pub(crate) enum CmapStrategy {
/// Build a cmap table by filtering existing mappings
Generate(MappingsToKeep<OldIds>), // FIXME: Rename
Expand Down

0 comments on commit d06cda7

Please sign in to comment.