Skip to content

Commit

Permalink
[write-fonts] Move iup module to tables::gvar
Browse files Browse the repository at this point in the history
This was previously in tables::variations, but it is only used by gvar,
and I am anticipating a future where it uses some data types defined in
gvar.
  • Loading branch information
cmyr committed Sep 20, 2023
1 parent 8207c89 commit 8c83c4a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions write-fonts/src/tables/gvar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ use super::variations::{
PackedDeltas, PackedPointNumbers, Tuple, TupleVariationCount, TupleVariationHeader,
};

pub mod iup;

/// Variation data for a single glyph, before it is compiled
#[derive(Clone, Debug)]
pub struct GlyphVariations {
Expand Down
File renamed without changes.
4 changes: 0 additions & 4 deletions write-fonts/src/tables/variations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ include!("../../generated/generated_variations.rs");

pub use read_fonts::tables::variations::{TupleIndex, TupleVariationCount};

mod iup;

pub use iup::{iup_delta_optimize, IupError};

impl TupleVariationHeader {
pub fn new(
variation_data_size: u16,
Expand Down

0 comments on commit 8c83c4a

Please sign in to comment.