Skip to content

Commit

Permalink
Make hinting always-on to reduce arg count to make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoburns committed May 22, 2024
1 parent c9e713c commit b79f307
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/simple.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ fn render_glyph_run(
context,
&font_ref,
font_size,
true,
glyph_id,
normalized_coords,
glyph_x.fract(),
Expand Down Expand Up @@ -190,7 +189,6 @@ fn render_glyph(
context: &mut ScaleContext,
font: &FontRef,
font_size: f32,
hint: bool,
glyph_id: GlyphId,
normalized_coords: &[NormalizedCoord],
x: f32,
Expand All @@ -202,7 +200,7 @@ fn render_glyph(
let mut scaler = context
.builder(*font)
.size(font_size)
.hint(hint)
.hint(true)
.normalized_coords(normalized_coords)
.build();

Expand Down

0 comments on commit b79f307

Please sign in to comment.