Skip to content

Commit be7d70c

Browse files
authored
Merge branch 'main' into patch-1
2 parents 60737b0 + d9342ff commit be7d70c

File tree

4 files changed

+46
-27
lines changed

4 files changed

+46
-27
lines changed

Fonts/Straight/straight.h

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,17 @@ class Straight : public Fonts
6161
}
6262
*/
6363

64-
/*
65-
char **E()
66-
{
64+
char **E()
65+
{
6766
char **character = getCharGrid();
6867

6968
//Enter the character grid in ROWS X COLS
69+
character[0][1] = character[0][2] = '_';
70+
character[1][0] = character[2][0] = '|';
71+
character[1][1] = character[2][1] = character[2][2] = '_';
7072

7173
return character;
7274
}
73-
*/
7475

7576

7677
char **F()
@@ -164,16 +165,22 @@ class Straight : public Fonts
164165
}
165166
*/
166167

167-
/*
168-
char **N()
168+
char **N()
169169
{
170170
char **character = getCharGrid();
171171

172-
//Enter the character grid in ROWS X COLS
172+
character[1][0] ='|';
173+
character[1][1] ='\\';
174+
character[1][2] =' ';
175+
character[1][3] ='|';
176+
character[2][0] ='|';
177+
character[2][1] =' ';
178+
character[2][2] ='\\';
179+
character[2][3] ='|';
173180

181+
174182
return character;
175183
}
176-
*/
177184

178185
/*
179186
char **O()
@@ -304,16 +311,21 @@ class Straight : public Fonts
304311
}
305312
*/
306313

307-
/*
308-
char **Z()
314+
char **Z()
309315
{
310316
char **character = getCharGrid();
311317

312-
//Enter the character grid in ROWS X COLS
313-
314-
return character;
318+
character[0][0] ='_';
319+
character[0][1] ='_';
320+
character[0][2] ='_';
321+
character[1][2] ='/';
322+
character[1][1] ='_';
323+
character[1][0] =' ';
324+
character[2][0] ='/';
325+
character[2][1] ='_';
326+
character[2][2] ='_';
327+
return character;
315328
}
316-
*/
317329

318330
// Lowercase
319331

Fonts/starwar/starwar.h

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,16 +167,21 @@ class Starwar : public Fonts
167167
}
168168

169169

170-
/*
170+
171171
char **M()
172172
{
173173
char **character = getCharGrid();
174174

175175
//Enter the character grid in ROWS X COLS
176+
character[1][0] = character[2][0] = character[3][0] = character[4][0] = character[5][0] = character[3][3] = character[4][3] = character[5][3] = character[1][9] = character[2][9] = character[3][9] = character[4][9] = character[5][9] = character[3][6] = character[4][6] = character[5][6] = '|';
177+
character[0][1] = character[0][2] = character[0][3] = character[0][6] = character[0][7] = character[0][8] = character[5][1] = character[5][2] = character[5][7] = character[5][8] = '_';
178+
character[1][4] = character[2][3] = character[3][4] = '\\';
179+
character[1][5] = character[3][5] = character[2][6] = '/';
180+
character[0][0] = character[0][9] = '.';
176181

177182
return character;
178183
}
179-
*/
184+
180185

181186

182187
char **N()

example.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ using namespace ascii;
66
int main()
77
{
88
Ascii a = Ascii(straight);
9-
a.print("F");
9+
a.print("Z");
10+
Ascii b = Ascii(straight);
11+
b.print("F");
1012
return 0;
1113
}

readme.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,13 @@ Features 🎉 Supports a variety of fonts, including standard fonts, decorative
289289
</a>
290290
</td></tr>
291291
<tr>
292+
<td align="center">
293+
<a href="https://github.com/miragearush">
294+
<img src="https://avatars.githubusercontent.com/u/80736891?v=4" width="70;" alt="miragearush"/>
295+
<br />
296+
<sub><b>Arush Kumar</b></sub>
297+
</a>
298+
</td>
292299
<td align="center">
293300
<a href="https://github.com/gourshabrg">
294301
<img src="https://avatars.githubusercontent.com/u/143959353?v=4" width="70;" alt="gourshabrg"/>
@@ -323,15 +330,15 @@ Features 🎉 Supports a variety of fonts, including standard fonts, decorative
323330
<br />
324331
<sub><b>Prajjawal Agrawal</b></sub>
325332
</a>
326-
</td>
333+
</td></tr>
334+
<tr>
327335
<td align="center">
328336
<a href="https://github.com/prateek00077">
329337
<img src="https://avatars.githubusercontent.com/u/147089488?v=4" width="70;" alt="prateek00077"/>
330338
<br />
331339
<sub><b>Prateek Pandey</b></sub>
332340
</a>
333-
</td></tr>
334-
<tr>
341+
</td>
335342
<td align="center">
336343
<a href="https://github.com/VikashBurman">
337344
<img src="https://avatars.githubusercontent.com/u/137149762?v=4" width="70;" alt="VikashBurman"/>
@@ -352,13 +359,6 @@ Features 🎉 Supports a variety of fonts, including standard fonts, decorative
352359
<br />
353360
<sub><b>Pronajit Sarkar</b></sub>
354361
</a>
355-
</td>
356-
<td align="center">
357-
<a href="https://github.com/miragearush">
358-
<img src="https://avatars.githubusercontent.com/u/80736891?v=4" width="70;" alt="miragearush"/>
359-
<br />
360-
<sub><b>Arush Kumar</b></sub>
361-
</a>
362362
</td></tr>
363363
</table>
364364
<!-- readme: contributors,codewithnick/-,vkumar8192449/-,vishu567/-,sachinkumar911/-,AnshumanMahato/- -end -->

0 commit comments

Comments
 (0)