tags:

views:

29

answers:

2

Hi,

I found Facelift which can basically generate html headings as images (with "nice font") on the fly. Does something similar exist for Java (couldn't find one myself)?

Cheers, stephanos

A: 

Have look at http://swit.kornr.net/ Its for Wicket, but perhaps it can be used without it.

bert
+1  A: 

I don't know of any, but you should probably consider a more accessible alternative (non-image) like CSS 3 embedded fonts, which allow any fonts (even TTF, OTF and other common font formats) to be used in the page, while behaving like proper text.

My website, http://azabani.com/ uses CSS3 embedded fonts, so check that out as an example.

Delan Azabani
thx, went with cufón now
stephanos
I'd recommend against it, as there are numerous accessibility and usability issues which are quite annoying, which are not present in native CSS 3 fonts (but exist in Flash-based solutions like cufon)
Delan Azabani
actually to my knowledge cufón uses javascript which then uses native browser capabilities (e.g. canvas) to display the fonts - but you're essentially right, CSS 3 would be a much better approach once the currently existing minor problems are fixed
stephanos