diff --git a/src/font/face.zig b/src/font/face.zig index 640f7a5ce..819142b0c 100644 --- a/src/font/face.zig +++ b/src/font/face.zig @@ -31,7 +31,7 @@ pub const Options = struct { /// The desired size for loading a font. pub const DesiredSize = struct { // Desired size in points - points: u16, + points: u8, // The DPI of the screen so we can convert points to pixels. xdpi: u16 = default_dpi, diff --git a/src/input/Binding.zig b/src/input/Binding.zig index 021514903..4a153035d 100644 --- a/src/input/Binding.zig +++ b/src/input/Binding.zig @@ -158,8 +158,8 @@ pub const Action = union(enum) { paste_from_selection: void, /// Increase/decrease the font size by a certain amount. - increase_font_size: u16, - decrease_font_size: u16, + increase_font_size: u8, + decrease_font_size: u8, /// Reset the font size to the original configured size. reset_font_size: void,