tradenet Posted September 15, 2008 Share Posted September 15, 2008 Greetings! I need to increase the horizontal scale of variable data text 150%. Any suggestions? Thanks, Scott Link to comment Share on other sites More sharing options...
mhilger Posted September 24, 2008 Share Posted September 24, 2008 Hi Scott, I believe the <setwidth> tag might be what you are looking for. Take a look in the FusionPro Tags Reference guide PDF documentation for additional information on how this tag functions. hth Link to comment Share on other sites More sharing options...
pmhapp Posted December 5, 2008 Share Posted December 5, 2008 Hi Scott, I believe the <setwidth> tag might be what you are looking for. Take a look in the FusionPro Tags Reference guide PDF documentation for additional information on how this tag functions. hth Is there a companion <setheight> tag to adjust the vertical scale of text? Link to comment Share on other sites More sharing options...
mhilger Posted December 5, 2008 Share Posted December 5, 2008 Hello, The companion tag that allows you to override the height of text is the <z> tag which will set the text's pointsize. Used with setheight, you can generate some interesting stretched output such as: http://forums.printable.com/picture.php?albumid=3&pictureid=10 I see from a previous post that you have a need to scale your text vertically by 112%. You can just set your text to the proper pointsize in the variable text editor so it's the appropriate height or you can do something more dynamic in JavaScript if you need to override the current height of that text in the variable text editor. Assuming this 112% is coming from a field in your input data, here's a little script that shows how you can apply that scale with the <z> tag as well as using <setwidth> newHeight = 24 * Field("NewVertScalePercentage")/100; return '<z newsize=' + newHeight + '><setwidth newsize=12>' + Field("TextToTypeset"); Make sure you check the "Treat returned strings...." checkbox in the rule. Hope this helps. Link to comment Share on other sites More sharing options...
pmhapp Posted December 5, 2008 Share Posted December 5, 2008 thanks Mark. I'll give it a try. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.