Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cufón font security

I've been trying to research a safer way to implement Cufón that would store the actual font data in a MySQL database that could be queried and returned when necessary, without having to store the converted .js file on the server (and break EULA).

Is this even possible? I'm still in the beginning stages of testing this out.

I've already implemented this solution for now, combining @font-face and Cufón. http://kilianvalkhof.com/2009/css-xhtml/combining-cufon-and-font-face/

like image 852
Jeff Wain Avatar asked Nov 15 '22 15:11

Jeff Wain


1 Answers

Cufón needs VML/Canvas points data about the fonts it'll render, and it gets that from a static JS file. This is essentially the definition of the font. Storing that data somewhere else (in a db, for example) and delivering it in another way (e.g. JSON) does not in fact "get around copyright"; you're still distributing the font data in a potentially unlicensed way.

Like this guy says (see "My thoughts on Cufón" on that page), I'd be careful about using Cufón with anything other quickie non-commercial sites, or even better, only with fonts I actually have rights to use.

like image 106
sigint Avatar answered Dec 21 '22 20:12

sigint