Even smaller nudge factor still looks ok on my system when scaling.
@@ -18,8 +18,8 @@ impl FontScaler {
let base_y = glyph / self.n_rows;
let scale_x = 1.0 / self.chars_per_row as f32;
let scale_y = 1.0 / self.n_rows as f32;
- let nudge_pixel_h = (1.0 / (self.chars_per_row as f32 * self.font_height_pixels.0)) / 10.0;
- let nudge_pixel_v = (1.0 / (self.n_rows as f32 * self.font_height_pixels.1)) / 10.0;
+ let nudge_pixel_h = (1.0 / (self.chars_per_row as f32 * self.font_height_pixels.0)) / 20.0;
+ let nudge_pixel_v = (1.0 / (self.n_rows as f32 * self.font_height_pixels.1)) / 20.0;
[
(base_x as f32 * scale_x) + nudge_pixel_h,
(base_y as f32 * scale_y) + nudge_pixel_v,
