Skip to content

Comment on Show HN: I made a grid based font editor and font

Comments

It'd be interesting to know why highlighting the font makes it highlight as a different typeface.

When you download the font then it is a normal font and that does not happen. On the website, to make it possible to edit the characters in real time I'm drawing the font as SVG behind an invisible textarea; so when the text is edited really the textarea is changing and I'm drawing SVG behind every character to make it look like a textarea with the custom font. I'm curious which browser/OS are you using since I don't see the textarea text when I highlight something.

That's a neat trick!

I'm seeing this, too, in both Chrome and Firefox on Linux.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.