Its great that Cufon is equip with the abilities to add css text effects such as textShadow, but they need to be called when calling cufon.replace(). I added a function that allows you to use these kind of effects in this module, and rolled a patch for it. To use it now, you can write selectors with CSS style syntax on it's settings page like so:

h2 { color:-linear-gradient(#777, #000); }

or even...

h2 {
  textShadow:0 1px #fff;
  color:-linear-gradient(#777, #000);
}

I've tested syntax and browser capabilities pretty thoroughly.

CommentFileSizeAuthor
#1 cufon.module.txt4.05 KBJosephnewyork
cufon.patch1.37 KBJosephnewyork

Comments

Josephnewyork’s picture

StatusFileSize
new4.05 KB

Here is the .module file in case you don't want to try the patch:

eric constantinides’s picture

Tried this out and worked perfectly. Thank you!

troky’s picture

Status: Patch (to be ported) » Fixed

Committed to 6.x-1.x-dev.

Re-open issue if problem persists.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.