Sunday, March 22, 2009

two partial fixes for the cufon select and copy problem

Recently I've been spending Sundays playing with something new. Here's today's results.

I started playing with cufon today, which is a nice little javascript font renderer; ie a sIFR replacement for js. It has a big Achilles heal though: you can't select the text to copy it. So I experimented with a couple possible solutions here and here.

In the first case I've setup overlays so that when you click on a cufon rendered block of text you it transforms into the unrendered version until you click elsewhere. In the second experiment you can select and copy but you don't see your highlighting.

Both of these are just experiments and certainly not complete solutions (and they've only been tested in firefox). But perhaps they will give someone the inspiration to come up with a complete solution.


Anonymous said...

I have searched the web, and can't find any solution that comes near yours... Have you made anything after posting this post?

steven said...

Unfortunately I haven't and I probably won't be anytime in the near future. If I hear of anything I will be sure to post links here though.

Oh, and I'd be interested to hear if you end up using or improving on either of the mini-solutions I offered.


Anonymous said...

Sure thing Steven... Nice work m8...