From b6a044a0045a1a963bc6d1d36b9805ea30b01b41 Mon Sep 17 00:00:00 2001 From: Pratik Kashyap Date: Fri, 27 Oct 2023 11:21:13 +0530 Subject: [PATCH 1/2] Added character to font --- Fonts/drpepper/drpepper.h | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/Fonts/drpepper/drpepper.h b/Fonts/drpepper/drpepper.h index 93a5d32d..40e1485b 100644 --- a/Fonts/drpepper/drpepper.h +++ b/Fonts/drpepper/drpepper.h @@ -337,16 +337,18 @@ character[3][4] = '/'; - /* - char **c() - { - char **character = getCharGrid(rows,cols); - - //Enter the character grid in ROWS X COLS + char **c() + { + char **character = getCharGrid(3, 5); + character[0][1] = character[0][2] = character[0][3] = character[2][1] = character[2][3] = '_'; + character[1][2] = character[2][2] = '|'; + character[2][0] = '\\'; + character[2][4] = '.'; + character[1][4] = '\''; + character[1][0] = '/'; + return character; + } - return character; - } - */ /* char **d() From 126806a67a577eb4d03217dc534c1243fbe006ba Mon Sep 17 00:00:00 2001 From: Pratik Kashyap <135964490+ipratiik@users.noreply.github.com> Date: Fri, 27 Oct 2023 21:38:53 +0530 Subject: [PATCH 2/2] Update drpepper.h Added a blank row on top of the character of font --- Fonts/drpepper/drpepper.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Fonts/drpepper/drpepper.h b/Fonts/drpepper/drpepper.h index 40e1485b..1b25f92a 100644 --- a/Fonts/drpepper/drpepper.h +++ b/Fonts/drpepper/drpepper.h @@ -339,13 +339,13 @@ character[3][4] = '/'; char **c() { - char **character = getCharGrid(3, 5); - character[0][1] = character[0][2] = character[0][3] = character[2][1] = character[2][3] = '_'; - character[1][2] = character[2][2] = '|'; - character[2][0] = '\\'; - character[2][4] = '.'; - character[1][4] = '\''; - character[1][0] = '/'; + char **character = getCharGrid(4, 5); + character[1][1] = character[1][2] = character[1][3] = character[3][1] = character[3][3] = '_'; + character[2][2] = character[3][2] = '|'; + character[3][0] = '\\'; + character[3][4] = '.'; + character[2][4] = '\''; + character[2][0] = '/'; return character; }