larsmagne / meme

An Emacs meme generator
https://lars.ingebrigtsen.no/2016/06/27/an-emacs-meme-generator/
178 stars 8 forks source link

Kerning is catastrophic #5

Open jordigh opened 4 years ago

jordigh commented 4 years ago

Something is wrong with the kerning. It looks a little bad in the Emacs buffer, with letters running into each other a little.

screenshot3

That's not so bad. But when the final image is generated, it's catastrophic.

honour

This is on Debian buster. Not sure what other software versions might be relevant to know about.

larsmagne commented 4 years ago

That is indeed really bad. I'm not getting results like that on Debian Buster, though, so I wonder what could be the reason... Hm... Could it have something to do with HiDPI displays? I don't quite see how, but...

larsmagne commented 4 years ago

OK, there was some janky logic with negative letter-spacing in the SVGs because it used a bold font instead of a regular font. It now looks better to me, but it never looked as bad as in your examples to me, so I'm not sure whether it fixes the problem in general or not.