saurabhdaware / text-to-handwriting

So your teacher asked you to upload written assignments? Hate writing assigments? This tool will help you convert your text to handwriting xD
https://saurabhdaware.github.io/text-to-handwriting/
MIT License
4.74k stars 1.14k forks source link

the image generated is is not clear. #25

Closed rishabharidas closed 4 years ago

rishabharidas commented 4 years ago

the image generated is is not clear when using custom fonts(new handwritten fonts). even though the preview is looking great.

image

saurabhdaware commented 4 years ago

Is it only happening in pdf? can you check the output of image?

rishabharidas commented 4 years ago

no the image generated in the webpage is also like this

image

rishabharidas commented 4 years ago

image

saurabhdaware commented 4 years ago

I tried it with my handwriting file and it seems to work well for me Screenshot of image with my handwriting that shows the image is clear

Can you mention the device, browser, and operating system you tested it on?

rishabharidas commented 4 years ago

using latest edge.windows i have mailed the font i used

saurabhdaware commented 4 years ago

image

This is how it looks in my device, it looks similar to the input (I tested it in chrome and firefox in ubuntu).

The font is a little unclear but still, the output in windows is not supposed to look blurred. I'll try to test it in windows by tomorrow and see if the problem is in windows.

About the font-spacing, there is a font spacing issue in html2canvas, the library that we use internally so for the workaround there is word-spacing and letter-spacing customization option in the tool.

rishabharidas commented 4 years ago

the text looks more clear in the preview side and less clear in the image side. basically teachers need it a bit more clearer. thats why i complained. hope u understand

saurabhdaware commented 4 years ago

yes yes it's a fair issue, I'll check it out in windows and see if we can do something

saurabhdaware commented 4 years ago

screenshot of image from windows that shows the image is clear

This is from windows chrome, It looks fine in the image. I will check in edge as well

rishabharidas commented 4 years ago

try checking the pdf try to zoom it. some fonts are ok

rishabharidas commented 4 years ago

this is what im getting with my font. even in the pdf assignment

rishabharidas commented 4 years ago

image i tried with brave browser . and didnt got it so different assignment (1) should i make a font with bold writtings t make it clear. coz last time i used normal pen to make font.and maybe the ltters was too small

rishabharidas commented 4 years ago

assignment (1) was bettr with another custom font . maybe u should make the page a bit more clearer coz when zooimg pdf image

saurabhdaware commented 4 years ago

Oh yes it looks off in PDFs even in Ubuntu.

How about acting as if it is a feature :c? I mean if you turn images to a PDF with some online software, they get blurred as well so isn't that making it look more legit?

But yes in some cases, like in case of your font, that blurriness will make the text unreadable.

I'll think and I guess I'll have to check the jsPDF docs (the library we use to convert images to PDF)

Let me know your thoughts as well

rishabharidas commented 4 years ago

more like bugs = features 😁 yeah ! Maybe u should give a guide to the font creation which will better match with your project

saurabhdaware commented 4 years ago

I'm trying to solve this along with the new design. I am not sure if it will work out but let's see.

Jobin-S commented 4 years ago

can you please add me as the contributor on the site. I contributed here #71

saurabhdaware commented 4 years ago

Hi @Jobin-S It is supposed to show up automatically after some time. It fetches contributors from GitHub Contributors.

saurabhdaware commented 4 years ago

Oh and I resolved this issue sometime back. Now I don't remember which commit 🤦‍♂️ but it is apparently fixed now

Jobin-S commented 4 years ago

great @saurabhdaware