Skip to content

Commit

Permalink
Merge pull request #862 from PRIYANSHU210021/main
Browse files Browse the repository at this point in the history
Added 'h' (Font-Block)
  • Loading branch information
AnshumanMahato authored Oct 25, 2023
2 parents 283fef7 + c6fafdd commit a0bba7c
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 77 deletions.
54 changes: 41 additions & 13 deletions Fonts/block/block.h
Original file line number Diff line number Diff line change
Expand Up @@ -404,16 +404,26 @@ class Block : public Fonts
return character;
}

/*

char **T()
{
char **character = getCharGrid();
char **character = getCharGrid(11, 20);

//Enter the character grid in ROWS X COLS
character[0][2] = character[0][3] = character[0][4] = character[0][5] = character[0][6] = character[0][7] = character[0][8] = character[0][9] = character[0][10] = character[0][11] = character[0][12] = character[0][13] = character[0][14] = character[0][15] = character[0][16] = character[0][17] = character[1][3] = character[1][4] = character[1][5] = character[1][6] = character[1][7] = character[1][8] = character[1][9] = character[1][10] = character[1][11] = character[1][12] = character[1][13] = character[1][14] = character[1][15] = character[1][16] = '-';
character[9][3] = character[9][4] = character[9][5] = character[9][6] = character[9][7] = character[9][10] = character[9][11] = character[9][12] = character[9][13] = character[9][14] = character[9][15] = character[9][16] = character[10][2] = character[10][3] = character[10][4] = character[10][5] = character[10][6] = character[10][7] = character[10][8] = character[10][9] = character[10][10] = character[10][11] = character[10][12] = character[10][13] = character[10][14] = character[10][15] = character[10][16] = character[10][17] = character[9][8] = character[9][9] = '-';
character[1][0] = character[2][0] = character[3][0] = character[4][0] = character[5][0] = character[6][0] = character[7][0] = character[8][0] = character[9][0] = character[2][2] = character[3][2] = character[4][2] = character[5][2] = character[6][2] = character[7][2] = character[8][2] = '|';
character[1][19] = character[2][19] = character[3][19] = character[4][19] = character[5][19] = character[6][19] = character[7][19] = character[8][19] = character[9][19] = character[2][17] = character[3][17] = character[3][17] = character[4][17] = character[5][17] = character[6][17] = character[7][17] = character[8][17] = '|';
character[0][1] = character[0][18] = character[1][2] = character[1][17] ='.';
character[10][1] = character[10][18] = character[9][2] = character[9][17] = '\'';

character[7][7] = character[7][8] = character[7][9] = character[7][10] = character[7][11] = character[6][7] = character[6][11] = character[3][7] = character[3][11] = character[4][5] = character[4][13] = character[2][5] = character[2][6] = character[2][7] = character[2][8] = character[2][9] = character[2][10] = character[2][11] = character[2][12] = character[2][13] = '_';
character[3][4] = character[3][14]= character[4][4]= character[4][14]= character[4][8]= character[4][10] = character[5][8]= character[5][10] = character[6][8]= character[6][10] = character[7][6] = character[7][12] = '|';
character[4][6] = '/';
character[4][12] = '\\';

return character;
}
*/


/*
char **U()
Expand Down Expand Up @@ -594,16 +604,24 @@ class Block : public Fonts
}
*/

/*

char **h()
{
char **character = getCharGrid();
char **character = getCharGrid(11, 20);

//Enter the character grid in ROWS X COLS
character[0][2] = character[0][3] = character[0][4] = character[0][5] = character[0][6] = character[0][7] = character[0][8] = character[0][9] = character[0][10] = character[0][11] = character[0][12] = character[0][13] = character[0][14] = character[0][15] = character[0][16] = character[0][17] = character[1][3] = character[1][4] = character[1][5] = character[1][6] = character[1][7] = character[1][8] = character[1][9] = character[1][10] = character[1][11] = character[1][12] = character[1][13] = character[1][14] = character[1][15] = character[1][16] = '-';
character[9][3] = character[9][4] = character[9][5] = character[9][6] = character[9][7] = character[9][10] = character[9][11] = character[9][12] = character[9][13] = character[9][14] = character[9][15] = character[9][16] = character[10][2] = character[10][3] = character[10][4] = character[10][5] = character[10][6] = character[10][7] = character[10][8] = character[10][9] = character[10][10] = character[10][11] = character[10][12] = character[10][13] = character[10][14] = character[10][15] = character[10][16] = character[10][17] = character[9][8] = character[9][9] = '-';
character[1][0] = character[2][0] = character[3][0] = character[4][0] = character[5][0] = character[6][0] = character[7][0] = character[8][0] = character[9][0] = character[2][2] = character[3][2] = character[4][2] = character[5][2] = character[6][2] = character[7][2] = character[8][2] = '|';
character[1][19] = character[2][19] = character[3][19] = character[4][19] = character[5][19] = character[6][19] = character[7][19] = character[8][19] = character[9][19] = character[2][17] = character[3][17] = character[3][17] = character[4][17] = character[5][17] = character[6][17] = character[7][17] = character[8][17] = '|';
character[0][1] = character[0][18] = character[1][2] = character[1][17] ='.';
character[10][1] = character[10][18] = character[9][2] = character[9][17] = '\'';

character[2][5] = character[2][6] = character[2][7] = character[2][8] = character[2][11] = character[2][12] = character[2][13] = character[2][14] = character[3][5] = character[3][14] = character[4][9] = character[4][10] = character[7][5] = character[7][6] = character[7][7] = character[7][8] = character[7][11] = character[7][12] = character[7][13] = character[7][14] = character[6][5] = character[6][14] = character[5][9] = character[5][10] = '_';
character[3][4] = character[3][9] = character[3][10] = character[3][15] = character[4][6] = character[4][8] = character[4][11] = character[4][13] = character[5][13] = character[5][6] = character[6][6] = character[6][8] = character[6][11] = character[6][13] = character[7][4] = character[7][9] = character[7][10] = character[7][15] = '|';

return character;
}
*/



char **i()
Expand Down Expand Up @@ -753,17 +771,27 @@ class Block : public Fonts
*/

/*
char **t()

char **t()
{
char **character = getCharGrid();
char **character = getCharGrid(11, 20);

//Enter the character grid in ROWS X COLS
character[0][2] = character[0][3] = character[0][4] = character[0][5] = character[0][6] = character[0][7] = character[0][8] = character[0][9] = character[0][10] = character[0][11] = character[0][12] = character[0][13] = character[0][14] = character[0][15] = character[0][16] = character[0][17] = character[1][3] = character[1][4] = character[1][5] = character[1][6] = character[1][7] = character[1][8] = character[1][9] = character[1][10] = character[1][11] = character[1][12] = character[1][13] = character[1][14] = character[1][15] = character[1][16] = '-';
character[9][3] = character[9][4] = character[9][5] = character[9][6] = character[9][7] = character[9][10] = character[9][11] = character[9][12] = character[9][13] = character[9][14] = character[9][15] = character[9][16] = character[10][2] = character[10][3] = character[10][4] = character[10][5] = character[10][6] = character[10][7] = character[10][8] = character[10][9] = character[10][10] = character[10][11] = character[10][12] = character[10][13] = character[10][14] = character[10][15] = character[10][16] = character[10][17] = character[9][8] = character[9][9] = '-';
character[1][0] = character[2][0] = character[3][0] = character[4][0] = character[5][0] = character[6][0] = character[7][0] = character[8][0] = character[9][0] = character[2][2] = character[3][2] = character[4][2] = character[5][2] = character[6][2] = character[7][2] = character[8][2] = '|';
character[1][19] = character[2][19] = character[3][19] = character[4][19] = character[5][19] = character[6][19] = character[7][19] = character[8][19] = character[9][19] = character[2][17] = character[3][17] = character[3][17] = character[4][17] = character[5][17] = character[6][17] = character[7][17] = character[8][17] = '|';
character[0][1] = character[0][18] = character[1][2] = character[1][17] ='.';
character[10][1] = character[10][18] = character[9][2] = character[9][17] = '\'';

character[7][7] = character[7][8] = character[7][9] = character[7][10] = character[7][11] = character[6][7] = character[6][11] = character[3][7] = character[3][11] = character[4][5] = character[4][13] = character[2][5] = character[2][6] = character[2][7] = character[2][8] = character[2][9] = character[2][10] = character[2][11] = character[2][12] = character[2][13] = '_';
character[3][4] = character[3][14]= character[4][4]= character[4][14]= character[4][8]= character[4][10] = character[5][8]= character[5][10] = character[6][8]= character[6][10] = character[7][6] = character[7][12] = '|';
character[4][6] = '/';
character[4][12] = '\\';

return character;
}

*/


/*
char **u()
Expand Down
100 changes: 36 additions & 64 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,38 +75,10 @@ Features 🎉 Supports a variety of fonts, including standard fonts, decorative
<table>
<tr>
<td align="center">
<a href="https://github.com/codewithnick">
<img src="https://avatars.githubusercontent.com/u/53932029?v=4" width="70;" alt="codewithnick"/>
<br />
<sub><b>codewithnick</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/AnshumanMahato">
<img src="https://avatars.githubusercontent.com/u/58422570?v=4" width="70;" alt="AnshumanMahato"/>
<br />
<sub><b>AnshumanMahato</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/vkumar8192449">
<img src="https://avatars.githubusercontent.com/u/64706066?v=4" width="70;" alt="vkumar8192449"/>
<br />
<sub><b>vkumar8192449</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/vishu567">
<img src="https://avatars.githubusercontent.com/u/112263798?v=4" width="70;" alt="vishu567"/>
<br />
<sub><b>vishu567</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/sachinkumar911">
<img src="https://avatars.githubusercontent.com/u/115224664?v=4" width="70;" alt="sachinkumar911"/>
<a href="https://github.com/PRIYANSHU210021">
<img src="https://avatars.githubusercontent.com/u/72849822?v=4" width="70;" alt="PRIYANSHU210021"/>
<br />
<sub><b>sachinkumar911</b></sub>
<sub><b>PRIYANSHU210021</b></sub>
</a>
</td></tr>
</table>
Expand Down Expand Up @@ -160,6 +132,27 @@ Features 🎉 Supports a variety of fonts, including standard fonts, decorative
</a>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/PRIYANSHU210021">
<img src="https://avatars.githubusercontent.com/u/72849822?v=4" width="70;" alt="PRIYANSHU210021"/>
<br />
<sub><b>PRIYANSHU210021</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/Sukriti-Rai">
<img src="https://avatars.githubusercontent.com/u/144582008?v=4" width="70;" alt="Sukriti-Rai"/>
<br />
<sub><b>Sukriti-Rai</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/sakshidewangan">
<img src="https://avatars.githubusercontent.com/u/148685066?v=4" width="70;" alt="sakshidewangan"/>
<br />
<sub><b>sakshidewangan</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/XARTAN21">
<img src="https://avatars.githubusercontent.com/u/124522194?v=4" width="70;" alt="XARTAN21"/>
Expand All @@ -180,7 +173,8 @@ Features 🎉 Supports a variety of fonts, including standard fonts, decorative
<br />
<sub><b>abhay5624</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/J-Madhusmita">
<img src="https://avatars.githubusercontent.com/u/144529416?v=4" width="70;" alt="J-Madhusmita"/>
Expand All @@ -201,13 +195,12 @@ Features 🎉 Supports a variety of fonts, including standard fonts, decorative
<br />
<sub><b>chengm405</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/PRIYANSHU210021">
<img src="https://avatars.githubusercontent.com/u/72849822?v=4" width="70;" alt="PRIYANSHU210021"/>
<a href="https://github.com/Gourab-Bistu">
<img src="https://avatars.githubusercontent.com/u/144556159?v=4" width="70;" alt="Gourab-Bistu"/>
<br />
<sub><b>PRIYANSHU210021</b></sub>
<sub><b>Gourab-Bistu</b></sub>
</a>
</td>
<td align="center">
Expand All @@ -223,29 +216,22 @@ Features 🎉 Supports a variety of fonts, including standard fonts, decorative
<br />
<sub><b>AlexWeb07</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/codewithana">
<img src="https://avatars.githubusercontent.com/u/144683532?v=4" width="70;" alt="codewithana"/>
<br />
<sub><b>codewithana</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/sakshidewangan">
<img src="https://avatars.githubusercontent.com/u/148685066?v=4" width="70;" alt="sakshidewangan"/>
<br />
<sub><b>sakshidewangan</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/Bhargava-1103">
<img src="https://avatars.githubusercontent.com/u/109221234?v=4" width="70;" alt="Bhargava-1103"/>
<br />
<sub><b>Bhargava-1103</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/smedha99">
<img src="https://avatars.githubusercontent.com/u/144618806?v=4" width="70;" alt="smedha99"/>
Expand Down Expand Up @@ -273,22 +259,15 @@ Features 🎉 Supports a variety of fonts, including standard fonts, decorative
<br />
<sub><b>vishalmishraa</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/Sukriti-Rai">
<img src="https://avatars.githubusercontent.com/u/144582008?v=4" width="70;" alt="Sukriti-Rai"/>
<br />
<sub><b>Sukriti-Rai</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/Stunner33">
<img src="https://avatars.githubusercontent.com/u/127297054?v=4" width="70;" alt="Stunner33"/>
<br />
<sub><b>Stunner33</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/mohdadil1">
<img src="https://avatars.githubusercontent.com/u/39762134?v=4" width="70;" alt="mohdadil1"/>
Expand Down Expand Up @@ -317,13 +296,6 @@ Features 🎉 Supports a variety of fonts, including standard fonts, decorative
<sub><b>vaishnavisisodiya</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/Gourab-Bistu">
<img src="https://avatars.githubusercontent.com/u/144556159?v=4" width="70;" alt="Gourab-Bistu"/>
<br />
<sub><b>Gourab-Bistu</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/IshitaPathak">
<img src="https://avatars.githubusercontent.com/u/75848598?v=4" width="70;" alt="IshitaPathak"/>
Expand Down

0 comments on commit a0bba7c

Please sign in to comment.