Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 5.4 #191

Merged
merged 98 commits into from
Dec 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
ed8b143
rel : migrate to art 4.7.
sadrasabouri May 14, 2020
a5639bc
doc : Notebooks updated to version 4.7.
sadrasabouri May 14, 2020
66ef3b5
Merge remote-tracking branch 'upstream/dev' into dev
sadrasabouri Jul 21, 2020
d9f2fc4
add : 98 new one-line-art added to art_dic.py
sadrasabouri Jul 21, 2020
bd43304
add : 98 new fonts added to art_param.
sadrasabouri Jul 21, 2020
92a39af
add : new tests added to test2.py
sadrasabouri Jul 21, 2020
f027ac3
update : README.md updated.
sadrasabouri Jul 21, 2020
eac1442
ref : new reference added.(#130)(#59)
sadrasabouri Jul 21, 2020
bf20e50
log : changes logged.
sadrasabouri Jul 21, 2020
f8285c3
edit : surprized font duplication edited
sadrasabouri Jul 21, 2020
93c0f3e
fix : angry face art duplication fixed.
sadrasabouri Jul 22, 2020
f8260d8
fix : fuck you art duplication fixed.
sadrasabouri Jul 22, 2020
ac0a462
fix : point and pointing art duplication fixed.
sadrasabouri Jul 22, 2020
9eeb76b
fix : tests updated
sepandhaghighi Jul 22, 2020
41213d6
fix : tests updated
sepandhaghighi Jul 22, 2020
de91860
fix : minor issues fixed.
sadrasabouri Jul 22, 2020
c43dadd
Merge branch 'dev' of https://github.com/sadrasabouri/art into dev
sadrasabouri Jul 22, 2020
5a23504
fix : minor issues.
sadrasabouri Jul 22, 2020
ace5aad
fix : tests updated
sepandhaghighi Jul 23, 2020
29f939c
doc : CHANGELOG updated
sepandhaghighi Jul 23, 2020
f2238b4
doc : ArtList.ipynb updated
sepandhaghighi Jul 23, 2020
559a80b
fix : wave dance art removed from non-ascii list
sepandhaghighi Jul 25, 2020
9e36cec
fix : art_decor_check.py updated
sepandhaghighi Jul 25, 2020
6db70ea
fix : font_check.py updated
sepandhaghighi Jul 25, 2020
1fadecc
doc : CHANGELOG updated
sepandhaghighi Jul 25, 2020
2428adb
fix : looking down art removed from non-ascii list
sepandhaghighi Jul 25, 2020
af9470c
fix : is_ascii function moved to font_wizard.py
sepandhaghighi Jul 25, 2020
a8ec0b2
fix : h4k3r and fancy51 fonts removed from non-ascii list
sepandhaghighi Jul 25, 2020
76c1521
fix : font_wizard.py updated
sepandhaghighi Jul 28, 2020
25efb91
doc : CHANGELOG updated
sepandhaghighi Jul 28, 2020
6a24ae3
doc : CHANGELOG updated
sepandhaghighi Jul 29, 2020
1008d3f
fix : space after , fixed.
sadrasabouri Sep 10, 2020
3d6838a
remove : greetings.yml removed.
sadrasabouri Sep 2, 2021
957b78f
log : changes logged.
sadrasabouri Sep 2, 2021
e38ce37
Merge pull request #174 from sepandhaghighi/remove_greetings
sepandhaghighi Sep 2, 2021
845e6a5
change : tests changed accordingly.
sadrasabouri Sep 3, 2021
3cbb339
log : changes logged.
sadrasabouri Sep 3, 2021
8ec2886
fix : wizard font test lenght fixed.
sadrasabouri Sep 3, 2021
ba26f90
Merge pull request #176 from sepandhaghighi/random_test_error
sepandhaghighi Sep 3, 2021
21071f8
doc : README updated
sepandhaghighi Sep 3, 2021
9fb8938
doc : CHANGELOG updated
sepandhaghighi Sep 3, 2021
1693570
Merge pull request #177 from sepandhaghighi/minor_edits
sadrasabouri Sep 3, 2021
11d12dc
fix : newline and extra whitespace issue fixed. (autopep8ed)
sadrasabouri Sep 9, 2021
6e0788e
fix : space after comma fixed. (autopep8ed)
sadrasabouri Sep 9, 2021
c70151c
fix : missing space fixed. (autopep8ed)
sadrasabouri Sep 9, 2021
f796dbb
fix : wizard and random font names addition fixed.
sadrasabouri Sep 9, 2021
6077013
log : changes logged.
sadrasabouri Sep 9, 2021
c2cdf01
edit : INVALID_FONT_NAME completed.
sadrasabouri Sep 11, 2021
dec8fb3
add : .lower() added to font_name check.
sadrasabouri Sep 11, 2021
e7aeba4
edit : Error7 removed.
sadrasabouri Sep 14, 2021
d976380
Merge pull request #178 from sepandhaghighi/minor_issues
sepandhaghighi Sep 15, 2021
23c9887
doc : LICENSE updated
sepandhaghighi Oct 16, 2021
1ad6d63
doc : AUTHORS.md updated
sepandhaghighi Oct 16, 2021
80cd972
doc : CHANGELOG updated
sepandhaghighi Oct 16, 2021
828124f
Merge pull request #179 from sepandhaghighi/license
sadrasabouri Oct 17, 2021
b4d02c9
fix : pepy link fixed
sepandhaghighi Oct 19, 2021
3cef2bc
doc : README donation section updated
sepandhaghighi Oct 19, 2021
9e63a43
doc : CHANGELOG updated
sepandhaghighi Oct 19, 2021
a7ea073
Merge pull request #180 from sepandhaghighi/minor_edits
sadrasabouri Oct 19, 2021
9398c70
fix : python 3.10.0 added to test.yml #181
sepandhaghighi Oct 19, 2021
f025f3c
fix : python 3.10 added to setup.py #181
sepandhaghighi Oct 19, 2021
2b3b6f4
doc : CHANGELOG updated #181
sepandhaghighi Oct 19, 2021
1946654
Merge pull request #182 from sepandhaghighi/python3.10
sadrasabouri Oct 19, 2021
3b84616
doc : gitcoin button added
sepandhaghighi Oct 26, 2021
4da9aa5
Merge pull request #183 from sepandhaghighi/gitcoin_btn
sadrasabouri Oct 26, 2021
473bc02
fix : font_wizard.py updated
sepandhaghighi Dec 1, 2021
f4233b9
fix : font_wizard.py updated
sepandhaghighi Dec 1, 2021
4218492
Merge branch 'dev' of github.com:sadrasabouri/art into dev
sadrasabouri Dec 2, 2021
6550fbd
Merge remote-tracking branch 'origin/dev' into dev
sadrasabouri Dec 2, 2021
9f01cc4
fix : font_wizard.py updated
sepandhaghighi Dec 2, 2021
828441e
Merge pull request #185 from sepandhaghighi/font_wizard_modification
sadrasabouri Dec 2, 2021
bfb1119
doc : license section updated
sepandhaghighi Dec 4, 2021
124ed37
Merge pull request #186 from sepandhaghighi/minor_edits
sadrasabouri Dec 4, 2021
e3a5852
Merge branch 'dev' of github.com:sepandhaghighi/art into dev
sadrasabouri Dec 6, 2021
54f686a
Discord Badge Added (#187)
sadrasabouri Dec 6, 2021
f6c6c5b
font : 7 new fonts added
sepandhaghighi Dec 7, 2021
6449473
doc : font counters updated
sepandhaghighi Dec 7, 2021
e48f877
doc : FontList.ipynb updated
sepandhaghighi Dec 7, 2021
7046050
fix : autopep8
sepandhaghighi Dec 7, 2021
0e03b50
doc : CHANGELOG updated
sepandhaghighi Dec 7, 2021
28e91a9
fix : tests updated
sepandhaghighi Dec 7, 2021
1f5472f
fix : typo in font names fixed
sepandhaghighi Dec 7, 2021
5cc5f64
font : 3 new fonts added
sepandhaghighi Dec 7, 2021
154530c
doc : font counters updated
sepandhaghighi Dec 7, 2021
0ee7437
doc : FontList.ipynb updated
sepandhaghighi Dec 7, 2021
87a1f4c
fix : tests updated
sepandhaghighi Dec 7, 2021
53f04a6
fix : mix_letters function updated
sepandhaghighi Dec 7, 2021
766bcb2
doc : CHANGELOG updated
sepandhaghighi Dec 7, 2021
d9ed4c1
fix : autopep8
sepandhaghighi Dec 7, 2021
320e5e2
doc : CONTRIBUTING.md updated
sepandhaghighi Dec 7, 2021
5ce091b
fix : minor bug in tarty2 font fixed
sepandhaghighi Dec 8, 2021
9814dde
fix : minor bug in tarty2 font fixed
sepandhaghighi Dec 8, 2021
f9396db
Merge pull request #188 from sepandhaghighi/new_fonts
sadrasabouri Dec 9, 2021
c9beeee
Width bug (#190)
sepandhaghighi Dec 15, 2021
f8e4be6
doc : support section updated
sepandhaghighi Dec 19, 2021
7560880
doc : reference section updated
sepandhaghighi Dec 19, 2021
f34d9c8
rel : migrate to version 5.4
sepandhaghighi Dec 19, 2021
03866fb
doc : support section updated
sepandhaghighi Dec 19, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Please consider the following :
6. If font is **Non-ASCII**:
- Add font name to `NON_ASCII_FONTS` list
- Add a test case to `test2.py` (*Alphabetical order*)
- Add font name to `MIX_FILTERED_FONTS` list to remove it from mix mode (*Optional*)
7. If font is **ASCII**:
- Add a test case to `test.py` (*Alphabetical order*)
- Add font name to `RANDOM_FILTERED_FONTS` list to remove it from random modes (*Optional*)
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/greetings.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
python-version: [3.5, 3.6, 3.7, 3.8, 3.9]
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, 3.10.0]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
4 changes: 2 additions & 2 deletions AUTHORS.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Core Developer #

----------
- Sepand Haghighi - Sharif University Of Technology/Moduland Co - [@sepandhaghighi](http://github.com/sepandhaghighi)
- Sadra Sabouri - Sharif University Of Technology - [@sadrasabouri](https://github.com/sadrasabouri)
- Sepand Haghighi - Sharif University of Technology - [@sepandhaghighi](http://github.com/sepandhaghighi)
- Sadra Sabouri - Sharif University of Technology - [@sadrasabouri](https://github.com/sadrasabouri)

# Other Contributors #
----------
Expand Down
2 changes: 1 addition & 1 deletion ArtList.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Version : 5.3"
"### Version : 5.4"
]
},
{
Expand Down
33 changes: 32 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,35 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [5.4] - 2021-12-22
### Added
- 10 new font
1. fancy131
2. fancy132
3. fancy133
4. fancy134
5. fancy135
6. fancy136
7. fancy137
8. tarty1
9. tarty2
10. tarty3
- Discord badge
### Changed
- Some fonts width bug fixed
- `test.py` modified
- `font_wizard.py` modified
- `font_check.py` modified
- `art_decor_check.py` modified
- `__word2art` function modified
- `mix_letters` function modified
- `AUTHORS.md` updated
- License updated
- `README.md` modified
- `CONTRIBUTING.md` modified
- `Python 3.10` added to `test.yml`
### Removed
- `greetings.yml`
## [5.3] - 2021-08-30
### Added
- 10 new font
Expand All @@ -22,6 +51,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- `fantasy` font renamed to `fantasy1`
- `upside_down` font renamed to `upside_down1`
- `sep` parameter added to `text2art`, `tprint`, `tsave` and `set_default` functions
- Default line separator changed from `\r\n` to `\n`
- `__word2art` function modified
- Escaped `\ ` in string literals
## [5.2] - 2021-05-05
Expand Down Expand Up @@ -1954,7 +1984,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- 1-Line art
- CLI commands

[Unreleased]: https://github.com/sepandhaghighi/art/compare/v5.3...dev
[Unreleased]: https://github.com/sepandhaghighi/art/compare/v5.4...dev
[5.4]: https://github.com/sepandhaghighi/art/compare/v5.3...v5.4
[5.3]: https://github.com/sepandhaghighi/art/compare/v5.2...v5.3
[5.2]: https://github.com/sepandhaghighi/art/compare/v5.1...v5.2
[5.1]: https://github.com/sepandhaghighi/art/compare/v5.0...v5.1
Expand Down
2 changes: 1 addition & 1 deletion DecorList.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Version : 5.3"
"### Version : 5.4"
]
},
{
Expand Down
50 changes: 46 additions & 4 deletions FontList.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Version : 5.3"
"### Version : 5.4"
]
},
{
Expand All @@ -38,7 +38,7 @@
{
"data": {
"text/plain": [
"605"
"615"
]
},
"execution_count": 2,
Expand Down Expand Up @@ -640,7 +640,7 @@
"\n",
"block : \n",
"\n",
" .----------------. .----------------. .----------------. .----------------. .----------------. .----------------. .----------------.\n",
" .----------------. .----------------. .----------------. .----------------. .----------------. .----------------. .----------------. \n",
"| .--------------. || .--------------. || .--------------. || .--------------. || .--------------. || .--------------. || .--------------. |\n",
"| | _________ | || | _________ | || | _______ | || | _________ | || | __ | || | _____ | || | ______ | |\n",
"| | | _ _ | | || | |_ ___ | | || | / ___ | | || | | _ _ | | || | / | | || | / ___ `. | || | / ____ `. | |\n",
Expand All @@ -650,7 +650,7 @@
"| | |_____| | || | |_________| | || | |_______.' | || | |_____| | || | |_____| | || | |_______| | || | \\______.' | |\n",
"| | | || | | || | | || | | || | | || | | || | | |\n",
"| '--------------' || '--------------' || '--------------' || '--------------' || '--------------' || '--------------' || '--------------' |\n",
" '----------------' '----------------' '----------------' '----------------' '----------------' '----------------' '----------------'\n",
" '----------------' '----------------' '----------------' '----------------' '----------------' '----------------' '----------------' \n",
"\n",
"block2 : \n",
" \n",
Expand Down Expand Up @@ -3881,6 +3881,27 @@
"fancy130 : \n",
"𐨠𐌴Ⲋ𐨠𐄐𐄑𐄒\n",
"\n",
"fancy131 : \n",
"ᵀᴱᔆᵀ¹²³\n",
"\n",
"fancy132 : \n",
"𝕋𝔼𝕊𝕋𝟙𝟚𝟛\n",
"\n",
"fancy133 : \n",
"𝙏𝙀𝙎𝙏123\n",
"\n",
"fancy134 : \n",
"𝑻𝑬𝑺𝑻123\n",
"\n",
"fancy135 : \n",
"𝐓𝐄𝐒𝐓𝟏𝟐𝟑\n",
"\n",
"fancy136 : \n",
"𝗧𝗘𝗦𝗧𝟭𝟮𝟯\n",
"\n",
"fancy137 : \n",
"𝕿𝕰𝕾𝕿123\n",
"\n",
"fancy14 : \n",
"ȶɛֆȶ123\n",
"\n",
Expand Down Expand Up @@ -4346,6 +4367,27 @@
"tai_viet : \n",
"ꪻꫀᦓꪻ᧒ᒿᗱ\n",
"\n",
"tarty1 : \n",
"\n",
"████████╗███████╗░██████╗████████╗░░███╗░░██████╗░██████╗░\n",
"╚══██╔══╝██╔════╝██╔════╝╚══██╔══╝░████║░░╚════██╗╚════██╗\n",
"░░░██║░░░█████╗░░╚█████╗░░░░██║░░░██╔██║░░░░███╔═╝░█████╔╝\n",
"░░░██║░░░██╔══╝░░░╚═══██╗░░░██║░░░╚═╝██║░░██╔══╝░░░╚═══██╗\n",
"░░░██║░░░███████╗██████╔╝░░░██║░░░███████╗███████╗██████╔╝\n",
"░░░╚═╝░░░╚══════╝╚═════╝░░░░╚═╝░░░╚══════╝╚══════╝╚═════╝░\n",
"\n",
"tarty2 : \n",
" \n",
"▀█▀ █▀▀ █▀ ▀█▀ ▄█ ▀█ \n",
"░█░ ██▄ ▄█ ░█░ ░█ █▄ \n",
" \n",
"\n",
"tarty3 : \n",
" \n",
"▀▀█▀▀ ░█▀▀▀ ░█▀▀▀█ ▀▀█▀▀ ▄█─ █▀█ █▀▀█ \n",
"─░█── ░█▀▀▀ ─▀▀▀▄▄ ─░█── ─█─ ─▄▀ ──▀▄ \n",
"─░█── ░█▄▄▄ ░█▄▄▄█ ─░█── ▄█▄ █▄▄ █▄▄█ \n",
"\n",
"thin2 : \n",
"test123\n",
"\n",
Expand Down
6 changes: 3 additions & 3 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
⚠️ **PyPI** support of these versions will be removed in a **future release**

### Source code
- Download [Version 5.3](https://github.com/sepandhaghighi/art/archive/v5.3.zip) or [Latest Source ](https://github.com/sepandhaghighi/art/archive/dev.zip)
- Download [Version 5.4](https://github.com/sepandhaghighi/art/archive/v5.4.zip) or [Latest Source ](https://github.com/sepandhaghighi/art/archive/dev.zip)
- `python3 setup.py install` or `python setup.py install` (Need root access)

### PyPI


- Check [Python Packaging User Guide](https://packaging.python.org/installing/)
- `pip install art==5.3` or `pip3 install art==5.3` (Need root access)
- `pip install art==5.4` or `pip3 install art==5.4` (Need root access)

* Note : On `--upgrade` error install latest version of `setuptools` : `pip install setuptools` and retry

Expand All @@ -23,7 +23,7 @@

### Easy install

- Run `easy_install "art==5.3"` (Need root access)
- Run `easy_install "art==5.4"` (Need root access)

### MATLAB

Expand Down
2 changes: 2 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ MIT License

Copyright (c) 2017 Sepand Haghighi

Copyright (c) 2020 Sadra Sabouri

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
56 changes: 42 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@
</a>
<a href="https://badge.fury.io/py/art"><img src="https://badge.fury.io/py/art.svg" alt="PyPI version" height="18"></a>
<a href="https://www.python.org/"><img src="https://img.shields.io/badge/built%20with-Python3-green.svg" alt="built with Python3" /></a>
<a href="https://github.com/sepandhaghighi/art/blob/master/FontList.ipynb"><img src="https://img.shields.io/badge/Font List-605-blue.svg"></a>
<a href="https://github.com/sepandhaghighi/art/blob/master/FontList.ipynb"><img src="https://img.shields.io/badge/Font List-615-blue.svg"></a>
<a href="https://github.com/sepandhaghighi/art/blob/master/ArtList.ipynb"><img src="https://img.shields.io/badge/Art List-710-orange.svg"></a>
<a href="https://github.com/sepandhaghighi/art/blob/master/DecorList.ipynb"><img src="https://img.shields.io/badge/Decor List-218-green.svg"></a>
<a href="https://t.me/artlib_bot" target="__blank"><img src="https://img.shields.io/badge/Telegram-Bot-red.svg"></a>
<a href="https://anaconda.org/sepandhaghighi/art"><img src="https://anaconda.org/sepandhaghighi/art/badges/version.svg"></a>
<a href="https://discord.com/invite/FAAyq3QJqP"><img src="https://img.shields.io/discord/897532566301724722.svg" alt="Discord Channel"></a>
</div>

----------
Expand All @@ -36,7 +37,7 @@
* [Contribution](https://github.com/sepandhaghighi/art/blob/master/.github/CONTRIBUTING.md)
* [Reference](https://github.com/sepandhaghighi/art#reference)
* [Authors](https://github.com/sepandhaghighi/art/blob/master/AUTHORS.md)
* [License](https://github.com/sepandhaghighi/art#license)
* [License](https://github.com/sepandhaghighi/art/blob/master/LICENSE)
* [Show Your Support](https://github.com/sepandhaghighi/art#show-your-support)
* [Changelog](https://github.com/sepandhaghighi/art/blob/master/CHANGELOG.md)
* [Code of Conduct](https://github.com/sepandhaghighi/art/blob/master/.github/CODE_OF_CONDUCT.md)
Expand All @@ -56,15 +57,15 @@ ART is a Python lib for text converting to ASCII art fancy. ;-)
</tr>
<tr>
<td align="center">PyPI Counter</td>
<td align="center"><a href="http://pepy.tech/count/art"><img src="http://pepy.tech/badge/art"></a></td>
<td align="center"><a href="http://pepy.tech/project/art"><img src="http://pepy.tech/badge/art"></a></td>
</tr>
<tr>
<td align="center">Github Stars</td>
<td align="center"><a href="https://github.com/sepandhaghighi/art"><img src="https://img.shields.io/github/stars/sepandhaghighi/art.svg?style=social&label=Stars"></a></td>
</tr>
<tr>
<td align="center">Font Counter</td>
<td align="center">605</td>
<td align="center">615</td>
</tr>
<tr>
<td align="center">1-Line-Art Counter</td>
Expand Down Expand Up @@ -647,7 +648,7 @@ ___ ____ ____ ___
>>> help(set_default)
Help on function set_default in module art.art:

set_default(font='standard', chr_ignore=True, filename='art', print_status=True, overwrite=False, decoration=None)
set_default(font='standard', chr_ignore=True, filename='art', print_status=True, overwrite=False, decoration=None, sep='\n')
Change text2art, tprint and tsave default values.

:param font: input font
Expand All @@ -662,6 +663,8 @@ set_default(font='standard', chr_ignore=True, filename='art', print_status=True,
:type overwrite:bool
:param decoration: input decoration
:type decoration:str
:param sep: line separator char
:type sep: str
:return: None

>>> tprint("test")
Expand Down Expand Up @@ -780,10 +783,11 @@ Just send your text to one of these bots. 👇👇👇👇

## Issues & bug reports

Just fill an issue and describe it. I'll check it ASAP!
or send an email to [info@4r7.ir](mailto:info@4r7.ir "info@4r7.ir").

* Please complete the issue template
1. Fill an issue and describe it. We'll check it ASAP!
- Please complete the issue template
2. Discord : [https://discord.com/invite/FAAyq3QJqP](https://discord.com/invite/FAAyq3QJqP)
3. Website : [https://www.4r7.ir](https://www.4r7.ir)
4. Email : [info@4r7.ir](mailto:info@4r7.ir "info@4r7.ir")

## Dependencies

Expand All @@ -798,10 +802,6 @@ or send an email to [info@4r7.ir](mailto:info@4r7.ir "info@4r7.ir").
</tr>
</table>

## License

[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fsepandhaghighi%2Fart.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fsepandhaghighi%2Fart?ref=badge_large)

## Reference

1. [FIGlet](http://www.figlet.org/)
Expand Down Expand Up @@ -831,6 +831,7 @@ or send an email to [info@4r7.ir](mailto:info@4r7.ir "info@4r7.ir").
25. [Playing cards in Unicode](https://en.m.wikipedia.org/wiki/Playing_cards_in_Unicode)
26. [Text Generator](https://coolfonts.text-generator.org/)
27. [GOGOTEXT](https://instafontsgen.codesdetail.com)
28. [Fsymbols](https://fsymbols.com/)


* Logo designed by [Arta Khanalizadeh](https://www.linkedin.com/in/artakhanalizadeh)
Expand Down Expand Up @@ -864,5 +865,32 @@ bnb1zglwcf0ac3d0s2f6ck5kgwvcru4tlctt4p5qef
<h4>Dash</h4>
Xd3Yn2qZJ7VE8nbKw2fS98aLxR5M6WUU3s
<h4>Stellar</h4>

GALPOLPISRHIYHLQER2TLJRGUSZH52RYDK6C3HIU4PSMNAV65Q36EGNL
<h4>Zilliqa</h4>
zil1knmz8zj88cf0exr2ry7nav9elehxfcgqu3c5e5
<h4>Coffeete</h4>
<a href="http://www.coffeete.ir/opensource">
<img src="http://www.coffeete.ir/images/buttons/lemonchiffon.png" style="width:260px;" />
</a>
<h4>Gitcoin</h4>
<a href="https://gitcoin.co/grants/3408/ascii-art-library-for-python">
<img src="https://github.com/sepandhaghighi/art/raw/master/otherfile/gitcoin_btn.png" style="width:260px;" />
</a>

<h3>Become a sponsor to ART</h3>

* Contact us at the email first

<h4>Corporate sponsor</h4>

- **$250** a month
- Your company's logo can be featured on **Readme**
- Intended for small companies


<h4>Mega corporate sponsor</h4>

- **$500** a month
- Your company's logo can be featured on **Readme** and **Website**
- Intended for medium-sized companies

10 changes: 3 additions & 7 deletions art/art.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,9 @@ def mix_letters():
:return: letters as list
"""
letters = fancy1_dic.copy()
fonts = list(set(NON_ASCII_FONTS) - set(MIX_FILTERED_FONTS))
for i in letters.keys():
random_font = random.choice(NON_ASCII_FONTS)
random_font = random.choice(fonts)
letters[i] = get_font_dic(random_font)[i]
return letters

Expand Down Expand Up @@ -459,12 +460,7 @@ def __word2art(word, font, chr_ignore, letters, next_word, sep="\n"):
return ""
for i in range(len(split_list[0])):
temp = ""
for j,item in enumerate(split_list):
if j > 0 and (
i == 1 or i == len(
split_list[0]) -
2) and font == "block":
temp = temp + " "
for j, item in enumerate(split_list):
temp = temp + item[i]
result_list.append(temp)
result = (splitter).join(result_list)
Expand Down
Loading