diff --git a/Fonts/amongus/amongus.h b/Fonts/amongus/amongus.h index 113f6bd7..7d42384c 100644 --- a/Fonts/amongus/amongus.h +++ b/Fonts/amongus/amongus.h @@ -397,13 +397,13 @@ class Amongus : public Fonts } char **e() - { - char **character = getCharGrid(4,6); - character[0][1]=character[0][2]=character[0][3]=character[0][4]=character[1][2]=character[1][3]=character[1][4]=character[2][2]=character[2][3]=character[3][1]=character[3][2]=character[3][3]=character[3][4]='_'; - character[1][0]=character[3][0]='('; - character[2][1]=character[1][5]=character[2][4]=character[3][5]=')'; - return character; - } + { + char **character = getCharGrid(4, 6); + character[0][1] = character[0][2] = character[0][3] = character[0][4] = character[1][2] = character[1][3] = character[1][4] = character[2][2] = character[2][3] = character[3][1] = character[3][2] = character[3][3] = character[3][4] = '_'; + character[1][0] = character[3][0] = '('; + character[2][1] = character[1][5] = character[2][4] = character[3][5] = ')'; + return character; + } /* char **f() { @@ -470,25 +470,25 @@ class Amongus : public Fonts return character; } - char **l() - { - char **character = getCharGrid(4,6); + char **l() + { + char **character = getCharGrid(4, 6); character[0][1] = character[0][2] = character[2][3] = character[2][4] = character[3][1] = character[3][2] = character[3][3] = character[3][4] = '_'; - character[1][0] = character[2][2] = character[3][0] = '('; + character[1][0] = character[2][2] = character[3][0] = '('; character[1][3] = character[2][1] = character[3][5] = ')'; return character; - } + } char **m() - { - char **character = getCharGrid(4,8); - character[0][1] = character[0][2] = character[0][5] = character[0][6] = character[3][1] = character[3][6] = '_'; - character[1][0] = character[2][6] = character[3][0] = '('; - character[1][7] = character[2][1] = character[3][7] = ')'; - character[1][4] = character[3][2] = character[3][4] = '/'; - character[1][3] = character[3][3] = character[3][5] = '\\'; - return character; - } + { + char **character = getCharGrid(4, 8); + character[0][1] = character[0][2] = character[0][5] = character[0][6] = character[3][1] = character[3][6] = '_'; + character[1][0] = character[2][6] = character[3][0] = '('; + character[1][7] = character[2][1] = character[3][7] = ')'; + character[1][4] = character[3][2] = character[3][4] = '/'; + character[1][3] = character[3][3] = character[3][5] = '\\'; + return character; + } char **n() { @@ -541,16 +541,16 @@ class Amongus : public Fonts return character; } - char **r() + char **r() { char **character = getCharGrid(4, 6); // Enter the character grid in ROWS X COLS character[0][1] = character[0][2] = character[0][3] = character[0][4] = character[1][3] = character[1][3] = character[3][1] = character[3][4] = '_'; - character[1][5] = character[3][3] = '\\'; + character[1][5] = character[3][3] = '\\'; character[3][5] = character[2][1] = character[3][2] = ')'; - character[1][0] = character[3][0] ='('; - character[2][5] ='/'; + character[1][0] = character[3][0] = '('; + character[2][5] = '/'; return character; } @@ -639,15 +639,15 @@ class Amongus : public Fonts */ - // char **z() - // { - // char **character = getCharGrid(ROWS, COLS); - // character[0][1] = character[0][2] = character[0][3] = character[0][4] = character[1][1] = character[2][4] = character[3][1] = character[3][2] = character[3][3] = character[3][4] = '_'; - // character[1][0] = character[3][0] = '('; - // character[2][1] = character[2][3] = '/'; - // character[1][5] = character[3][5] = ')'; - // return character; - // } + char **z() + { + char **character = getCharGrid(ROWS, COLS); + character[0][1] = character[0][2] = character[0][3] = character[0][4] = character[1][1] = character[2][4] = character[3][1] = character[3][2] = character[3][3] = character[3][4] = '_'; + character[1][0] = character[3][0] = '('; + character[2][1] = character[2][3] = '/'; + character[1][5] = character[3][5] = ')'; + return character; + } // Numbers @@ -723,19 +723,19 @@ class Amongus : public Fonts return character; } - // char **six() - // { - // char **character = getCharGrid(ROWS, COLS); + char **six() + { + char **character = getCharGrid(ROWS, COLS); - // // Enter the character grid in ROWS X COLS - // character[0][2] = character[2][2] = '_'; - // character[1][1] = character[2][0] = character[3][4] = '/'; - // character[3][0] = character[2][4] = '\\'; - // character[1][3] = ')'; - // character[3][1] = character[3][2] = character[3][3] = '_'; + // Enter the character grid in ROWS X COLS + character[0][2] = character[2][2] = '_'; + character[1][1] = character[2][0] = character[3][4] = '/'; + character[3][0] = character[2][4] = '\\'; + character[1][3] = ')'; + character[3][1] = character[3][2] = character[3][3] = '_'; - // return character; - // } + return character; + } char **seven() { diff --git a/example.cpp b/example.cpp index 8f3c79fd..7a290a36 100644 --- a/example.cpp +++ b/example.cpp @@ -5,7 +5,7 @@ using namespace ascii; int main() { - Ascii font = Ascii(drpepper); - font.print("d"); + Ascii font = Ascii(amongus); + font.print("rz6"); return 0; } \ No newline at end of file