← Back to context

Comment by bobbylarrybobby

3 years ago

One option to allow users to preview the font while not letting them download it for free is to have them submit their code sample, render an image of it on the server, then send that back to the user. Not as nice as rendering the font in browser, of course, but it works.

The problem with rendering a picture is that it doesn't reflect how it renders on my setup in my editor which can be quite important.

I've seen projects posted here that render your code as a screenshot for posting online or something. (??) That always seemed silly to me.

This is would be the perfect application of it.

I was thinking that but others also mentioned to have a trial mode font that didn’t have a complete character set also. Rendering a picture might become costly.