Jump to content

Increase Number Only Font Size

Recommended Posts

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?



Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...