I was trying to work with the plug-in and came across an implementation limitation. Consider the following:
# default values
all:
sifr:
font_path: /sfSIFRPlugin/swf
font: Gill.swf
replace:
font:
sSelector: "#page-title,#section-title"
sWmode: transparent
sColor: "#2a2a2a"
sCase: normal
font:
sSelector: ".gill-white-16,.gill-white-14"
sWmode: transparent
sColor: "#ffffff"
sCase: normal
font:
sSelector: ".gill-darkred-12"
sWmode: transparent
sColor: "#5e0606"
sCase: normal
We the above configuration YAML is limiting the replacement of font tags to only one and I way I found around that is the following:
Add after line 79 of sfSIFRFilter.class.php:
$element = ($pos = strpos($element, '-'))?substr($element, 0, $pos):$element;
and this way I can use a number after the element to force the plug-in to tread them differently.
# default values
all:
sifr:
font_path: /sfSIFRPlugin/swf
font: Gill.swf
replace:
font-1:
sSelector: "#page-title,#section-title"
sWmode: transparent
sColor: "#2a2a2a"
sCase: normal
font-2:
sSelector: ".gill-white-16,.gill-white-14"
sWmode: transparent
sColor: "#ffffff"
sCase: normal
font-3:
sSelector: ".gill-darkred-12"
sWmode: transparent
sColor: "#5e0606"
sCase: normal