Printing Partners Posted July 13, 2016 Share Posted July 13, 2016 Okay, I need to change the point size of one field on a line. I have the font change set up, now I need to change the size. I haven't been able to find a solution. Where I change the line to Arial is where I also need that field to be 5 point text. Current Script: if (Field("Email") != "") //If Email is NOT blank, execute the following statement return CopyfitLine("<smallcap>" + Field("wwwLandmarkIndycom") + "</smallcap>" + " " + '<span font="Arial">' + Field("Block") + '</span>' + " ", "<smallcap>" + Field("Email") + "</smallcap>"+"<smallcap>" + Field("emailDomain") + "</smallcap>", "Adobe Garamond Pro", 8, 236, 3, true); Probably something simple. Thanks. Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted July 13, 2016 Share Posted July 13, 2016 '<span font="Arial" pointsize=5>' http://forums.pti.com/showthread.php?t=580 Quote Link to comment Share on other sites More sharing options...
Printing Partners Posted July 13, 2016 Author Share Posted July 13, 2016 Thanks Dan. Any ideas on how to get a finicky font to display? I have to switch out Arial for Zapf Dingbats and the font is not working. Grrr. Quote Link to comment Share on other sites More sharing options...
Printing Partners Posted July 13, 2016 Author Share Posted July 13, 2016 Problem Solved! For those interested, below is my final code. if (Field("Email") != "") //If Email is NOT blank, execute the following statement return CopyfitLine("<smallcap>" + Field("Landmark") + "</smallcap>" + " " + '<span font="Wingdings" pointsize="5">' + Field("Block") + '</span>' + " ", "<smallcap>" + Field("Email") + "</smallcap>"+"<smallcap>" + Field("emailDomain") + "</smallcap>", "Adobe Garamond Pro", 8, 236, 3, true); else return Field("Landmark"); This script puts all of the text in small caps. Landmark and Block do not compress if the text oversets, but Email and emailDomain do. Yes I have my box width at 236, my version does not work in hundredths. 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.