CCS_Printing Posted June 17, 2011 Share Posted June 17, 2011 I'm trying to make the code below to be small caps as well, but when I tried the below code, it won't capitalize "the" in The Legacy Group, I'm not sure why. return '<smallcap>'+ReplaceSubstring(TaggedTextFromRaw(Field("ParHeader")), "The Legacy Group", '<color name="PANTONE 8641 C">The Legacy Group</color>')+'</smallcap>'; Any ideas? Link to comment Share on other sites More sharing options...
Dan Korn Posted June 17, 2011 Share Posted June 17, 2011 Sorry, this is a known bug with small caps, case FP-10851. The workaround is to turn smallcaps off and back on again after whatever intermediate tags you're placing, like so: return '<smallcap>' + ReplaceSubstring(TaggedTextFromRaw(Field("ParHeader")), "The Legacy Group", '</smallcap><color name="PANTONE 8641 C"><smallcap>The Legacy Group</color>') + '</smallcap>'; Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.