Live data from Hacker News

Realistic computer-generated handwriting

calligrapher.ai

151–160 of 247 posts

Re: Realistic computer-generated handwriting

#151
post #102

I created this cursive handwriting OTF font that you can test in a browser (or any other program): https://certik.github.io/slabikar-otf/ It correctly connects letters and it can do Czech and Slovak accents. It is based on a Metafont source (to be used in TeX) from Petr Olšák, I wrote Python code that reproduces Metafont's Bezier curves algorithm, generates curves as SVG, then calls Inkscape to convert the curve to i…

Great work! Any chance that you could add the two letters ö and å?

Å would be the same as ů but with an "a" as base.

Ö would be the same as ä but with an "o" as base.

Re: Realistic computer-generated handwriting

#153

My first name contains one of the fewest used letters of the alphabet and in first position nonetheless: Xavier Let me tell you: the training data did not contain that many X to begin with :D The Xs at best look like Ts, at worst like malformed Os. Always funny to find the blind spots of some piece of tech.

Neat! Try "XxXxXxXxXx", max speed/legibility/width, style 2. The results are bonkers. It's just loops and scribbles. Interestingly, if you write your X's from top-right to bottom-left, top-left to bottom-right order, you can sort of see this in action. Grab a sheet of paper and try to write "xxxxxxxxx" really fast. You will see that loops are extremely common. I think this might be a coincidence, but it's possible it sees the kerning of two x's as a loop, then gets caught up in that false state of drawing loops.

Re: Realistic computer-generated handwriting

#154
post #151
post #102

I created this cursive handwriting OTF font that you can test in a browser (or any other program): https://certik.github.io/slabikar-otf/ It correctly connects letters and it can do Czech and Slovak accents. It is based on a Metafont source (to be used in TeX) from Petr Olšák, I wrote Python code that reproduces Metafont's Bezier curves algorithm, generates curves as SVG, then calls Inkscape to convert the curve to i…

Great work! Any chance that you could add the two letters ö and å? Å would be the same as ů but with an "a" as base. Ö would be the same as ä but with an "o" as base.

Yes, we can! Can you please submit a pull request here: https://github.com/certik/slabikar-otf, just add the new character definitions here: https://github.com/certik/slabikar-otf/blob/dce9fc9e575f7d6e..., here is an example how uring (ů) is done: https://github.com/certik/slabikar-otf/blob/dce9fc9e575f7d6e....

Re: Realistic computer-generated handwriting

#155
post #23

Awesome, but fails with accents etc. A case for polish: „Zażółć gęślą jaźń” - fails in many gunny ways. I also tried emojis - of course it failed, but now I’m super curious how would hand written emojis look like :D

Even ASCII characters like $&@ don’t work.

Re: Realistic computer-generated handwriting

#156
post #102

I created this cursive handwriting OTF font that you can test in a browser (or any other program): https://certik.github.io/slabikar-otf/ It correctly connects letters and it can do Czech and Slovak accents. It is based on a Metafont source (to be used in TeX) from Petr Olšák, I wrote Python code that reproduces Metafont's Bezier curves algorithm, generates curves as SVG, then calls Inkscape to convert the curve to i…

Would you mind if I tried to convert it into a single line opentype-SVG font for plotters?

Re: Realistic computer-generated handwriting

#158

If anyone's interested, I think this is the github url of this project (had to dig a bit since it's not mentioned in the page): https://github.com/sjvasquez/handwriting-synthesis

Wow, it's 5 years old.

And still the style does not go to 11.

Re: Realistic computer-generated handwriting

#159

Earlier quoted context omitted.

> I always wondered if pharmacists had any specific training in the terrible handwriting doctors put on prescriptions One day my local pharmacist was in a chatty mood whilst filling my request and one topic that came up was doctor's handwriting. The answer is yes, they do (did ?) receive training in handwriting recognition. Basically it involves learning to recognise common abbreviations and mostly being very familia…

This reminded me, I once attended a lecture by a pharmacist who got interested in handwriting and showed how different conditions and medications might manifest in customers' handwriting. Looking at the samples, it was pretty fascinating. Since he undoubtedly read a lot of doctors' writing too, and since I personally know a doctor who abused their access to medication, I did wonder what questions this pharmacist woul…

Although correlated, I'm less worried about the doctors than all the prescription errors which were said to kill many people.
Post reply on HN