-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
space
not working for some fonts
#225
Comments
@sadrasabouri You can start to work on this issue. |
First I write the below scripts to find out fonts which have problems with >>> from art import *
>>> for font_name in FONT_NAMES:
... if text2art("test", font_name, space=2) == text2art("test", font_name):
... print(font_name)
...
block
danc4
nvscript Then I checked them in >>> from art.art_param import FONT_MAP
>>> for font_name, font in FONT_MAP.items():
... if font[0][' '] == '':
... print(font_name)
...
block
danc4
nvscript So for solving this issue we can fill up the space character's mapping for these fonts { |
@sadrasabouri Nice approach 🔥 |
سلام. چطور میتونم به شما پی ام بدم سوالی درباره یکی از کد هاتون داشتم |
Description
It seems that newly added feature,
sapce
, is not working with some specific fonts.Steps/Code to Reproduce
Expected Behavior
Actual Behavior
The text was updated successfully, but these errors were encountered: