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

New fonts #68

Merged
merged 12 commits into from
Sep 23, 2019
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ 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]
- get_font_dic function added to `art.py`
### Added
- 11 new fonts
- 14 new fonts
1. fancy75
2. fancy76
3. fancy77
Expand All @@ -19,6 +18,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
9. fancy82
10. fancy83
11. fancy84
12. contouring3
13. contouring4
14. love2
- `get_font_dic` function
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this 🤝

### Changed
- `font_check.py` modified
- `font_wizard.py` modified
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</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-472-blue.svg"></a>
<a href="https://github.com/sepandhaghighi/art/blob/master/FontList.ipynb"><img src="https://img.shields.io/badge/Font List-475-blue.svg"></a>
<a href="https://github.com/sepandhaghighi/art/blob/master/ArtList.ipynb"><img src="https://img.shields.io/badge/Art List-370-orange.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>
Expand Down Expand Up @@ -65,7 +65,7 @@ ART is a Python lib for text converting to ASCII art fancy. ;-)
</tr>
<tr>
<td align="center">Font Counter</td>
<td align="center">472</td>
<td align="center">475</td>
</tr>
<tr>
<td align="center">1-Line-Art Counter</td>
Expand Down
11 changes: 10 additions & 1 deletion art/art_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,14 @@
"binary",
"contouring1",
"contouring2",
"contouring3",
"contouring4",
"decimal",
"high_noo",
"hills",
"katakana",
"love1",
"love2",
"morse",
"nfi1",
"octal",
Expand Down Expand Up @@ -264,6 +267,8 @@
TEST_FILTERED_FONTS = [
"contouring1",
"contouring2",
"contouring3",
"contouring4",
"mirror",
"mirror_flip",
"flip",
Expand All @@ -280,6 +285,7 @@
"thin2",
"tiny",
"love1",
"love2",
"fancy1",
"fancy2",
"fancy3",
Expand Down Expand Up @@ -790,7 +796,10 @@
"fancy81": [fancy81_dic, False],
"fancy82": [fancy82_dic, False],
"fancy83": [fancy83_dic, False],
"fancy84": [fancy84_dic, False]
"fancy84": [fancy84_dic, False],
"contouring3": [contouring3_dic, False],
"contouring4": [contouring4_dic, False],
"love2": [love2_dic, False]
}

FONT_COUNTER = len(FONT_MAP) # pragma: no cover
Expand Down
9 changes: 9 additions & 0 deletions art/test2.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
contouring2:
⒯⒠⒮⒯
<BLANKLINE>
contouring3:
[̲̅t][̲̅e][̲̅s][̲̅t]
<BLANKLINE>
contouring4:
(̲̅t)(̲̅e)(̲̅s)(̲̅t)
<BLANKLINE>
currency:
₮Ɇ₴₮
<BLANKLINE>
Expand Down Expand Up @@ -288,6 +294,9 @@
love1:
ƬƐSƬ
<BLANKLINE>
love2:
тєsт
<BLANKLINE>
mirror:
ɈƨǝɈ
<BLANKLINE>
Expand Down
Loading