dfalkowitz Posted March 18, 2015 Share Posted March 18, 2015 Hello all! I am trying to use a particular font and this font (Savoye), displays numbers smaller than letters are displayed. I was wondering if its possible to automatically increase the font point size for numbers only but keep the letters as is? Thanks! Quote Link to comment Share on other sites More sharing options...
David Miller Posted March 18, 2015 Share Posted March 18, 2015 You could use a JavaScript Rule to do this. return Field("[color="Red"]YourFieldName[/color]").replace(/\d+/g,"<z newsize=\"[color="red"]6.0[/color]\">$&<z newsize=\"[color="red"]7.0[/color]\">"); All numbers are set to 6.0 pt and all letters are set to 7.0 pt. It doesn't matter what font you use. Edit the rule accordingly. I found this in the forum a long time ago. Quote Link to comment Share on other sites More sharing options...
dfalkowitz Posted March 18, 2015 Author Share Posted March 18, 2015 Awesome!!! Thanks! 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.