Go Back   MarcomCentral (PTI) and FusionPro User Communities > Software-Related Talk > FusionPro® VDP Creator

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 16th, 2016, 07:03 AM
NPN NPN is offline
Regular Contributor
 
Join Date: Mar 2010
Posts: 61
Default Changing font for one character

I need to change only the '@' in a rule to a different font in an email address. The font used is DIN, which has a weird @, so the customer wants this exchanged with helvetica.

The rule as it is now:

lower =(Field("email").toLowerCase())
return lower

I guess a .replace would work but I don't know the syntax for this case.
__________________
--
FP Creator 9.2.30 / Acrobat Professional XI / Digital Storefront 7.4
Reply With Quote
  #2  
Old March 16th, 2016, 08:57 AM
jwhittaker jwhittaker is offline
Senior Contributor
 
Join Date: Feb 2009
Location: San Diego
Posts: 165
Default Re: Changing font for one character

Try this
return ReplaceSubstring(Field("Email"),'@', '<span font="Arial">@</span>');
__________________
FusionPro VDP Creator 10.0.26 | MacOS 10.13.4 | Acrobat DC
Reply With Quote
  #3  
Old March 17th, 2016, 01:25 AM
NPN NPN is offline
Regular Contributor
 
Join Date: Mar 2010
Posts: 61
Default Re: Changing font for one character

That did indeed work, I changed the font to ='HelveticaNeueLT std Lt' and that also worked fine. Thanks!
__________________
--
FP Creator 9.2.30 / Acrobat Professional XI / Digital Storefront 7.4
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:29 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.