-
Notifications
You must be signed in to change notification settings - Fork 622
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
Some special characters are not generated #281
Comments
There’s an explicit filter for strings containing all symbols (or some threshold fraction of symbols). You should look for it in the function check_symb_frac(self, txt, f=0.35) in text_utils.py
On 24 Aug 2023, at 3:17 pm, RivkinMikhail ***@***.***> wrote:
Hi!
First of all thanks for such a great repo.
I've got a problem with generating images with some special characters, e.g. ":" or "%", however "-" character is generating correctly. When these characters are placed with some text ("dog%") there's no problem generating them, only for solo ones.
I've tried to play with min_nchar parameter, but nothing helps. Looked through all issues, can't find something related to.
So, if anyone knows where should I look for I'll be very grateful for your help!
—
Reply to this email directly, view it on GitHub<#281>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAFPAZKHU4P2MYEBYOOB7SDXW5O5XANCNFSM6AAAAAA35DITFM>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
@ankush-me thank you so much for such a quick response! I've changed However, the images are still not generated. (Failure: No text placed.) Could be please advise me, where should I look for more? |
There are many steps in the process — best way to debug would be to put in a breakpoint to step through the code and see where the text is getting filtered out.
On 25 Aug 2023, at 10:05 am, RivkinMikhail ***@***.***> wrote:
@ankush-me<https://github.com/ankush-me> thank you so much for such a quick response!
I've changed f=1.0 and min_nchar=1 parameters and is_good function now returns True for my text.
However, the images are still not generated. (Failure: No text placed.)
Could be please advise me, where should I look for more?
—
Reply to this email directly, view it on GitHub<#281 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAFPAZNEDWRGOONMX73UF63XXBTFBANCNFSM6AAAAAA35DITFM>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
First of all thanks for such a great repo.
I've got a problem with generating images with some special characters, e.g. ":" or "%", however "-" character is generating correctly. When these characters are placed with some text ("dog%") there's no problem generating them, only for solo ones.
I've tried to play with
min_nchar
parameter, but nothing helps. Looked through all issues, can't find something related to.So, if anyone knows where should I look for I'll be very grateful for your help!
The text was updated successfully, but these errors were encountered: