From f0a68406f451ef1b9823292da2731862013dd59f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piyush=20=E0=A4=AE=E0=A4=BF=E0=A4=B6=E0=A5=8D=E0=A4=B0?= Date: Fri, 19 Aug 2022 13:41:10 +0530 Subject: [PATCH] Font size bug fixed --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/utils.rs | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2f650be..4f2e09f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -905,7 +905,7 @@ dependencies = [ [[package]] name = "post_maker" -version = "0.6.1" +version = "0.6.2" dependencies = [ "bichannel", "clap", diff --git a/Cargo.toml b/Cargo.toml index 0bba332..b7e933d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "post_maker" -version = "0.6.1" +version = "0.6.2" edition = "2021" description = "Post Maker helps you to make post for Instagram and other Social Media apps easily." authors = ["PiyushXCoder "] diff --git a/src/utils.rs b/src/utils.rs index 11d9cdf..ec22619 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -709,7 +709,6 @@ pub(crate) fn draw_multiline_mid_string( original_height, ); - let size = quote_from_height(height); draw_multiline_mid_string( tmp, font,