Skip to content

Commit d9342ff

Browse files
Merge pull request #309 from gourshabrg/addZ/straight
Add z/straight
2 parents 1e6bbf6 + fb32487 commit d9342ff

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

Fonts/Straight/straight.h

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -308,16 +308,21 @@ char **N()
308308
}
309309
*/
310310

311-
/*
312-
char **Z()
311+
char **Z()
313312
{
314313
char **character = getCharGrid();
315314

316-
//Enter the character grid in ROWS X COLS
317-
318-
return character;
315+
character[0][0] ='_';
316+
character[0][1] ='_';
317+
character[0][2] ='_';
318+
character[1][2] ='/';
319+
character[1][1] ='_';
320+
character[1][0] =' ';
321+
character[2][0] ='/';
322+
character[2][1] ='_';
323+
character[2][2] ='_';
324+
return character;
319325
}
320-
*/
321326

322327
// Lowercase
323328

example.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ using namespace ascii;
66
int main()
77
{
88
Ascii a = Ascii(straight);
9-
a.print("N");
9+
a.print("Z");
1010
return 0;
1111
}

0 commit comments

Comments
 (0)