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? Quote 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>'; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.