MikeVM Posted August 22, 2012 Share Posted August 22, 2012 Hi All, for some time I used rule which apply different font for numbers and letters for entering address (http://forums.printable.com/showthread.php?t=26&highlight=change+font) Today I have a problem. If my address: 123 East 50St. - I got everything correct If my address: 123 50St. East - I got 12350St. East - for some reason space between numbers disappears. I tried several different fonts for numbers and letters (thought that could be my font problem) - all the same - space between numbers missing. Any help? Link to comment Share on other sites More sharing options...
Dan Korn Posted August 22, 2012 Share Posted August 22, 2012 Modify line 30 of the rule like so: formatField = formatField.replace(/([\d\s]+)/g,"<f name=\""+fontNumber+"\">$1<f name=\""+fontLetter+"\">"); Link to comment Share on other sites More sharing options...
MikeVM Posted August 22, 2012 Author Share Posted August 22, 2012 Wow. Thankks a lot!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.