Go Back   MarcomCentral (PTI) and FusionPro User Communities > Search Forums

Notices

Showing results 1 to 7 of 7
Search took 0.01 seconds.
Search: Posts Made By: Dan Korn
Forum: Formatting Text September 29th, 2016, 08:09 AM
Replies: 14
Views: 42,706
Posted By Dan Korn
Re: A better CopyfitLine

You shouldn't need to do any of that as long as you pass tagged markup to the function in the first place, either by calling TaggedTextFromRaw or TaggedDataField, and set the rule to return tagged...
Forum: Formatting Text May 26th, 2016, 09:20 AM
Replies: 14
Views: 42,706
Posted By Dan Korn
Re: A better CopyfitLine

Well, first of all, a new thread should be used for a new question. And this isn't really supposed to be just the "Ask Dan" forum.

Anyway, I'm not sure I understand the requirements. Under what...
Forum: Formatting Text August 19th, 2015, 11:05 AM
Replies: 14
Views: 42,706
Posted By Dan Korn
Re: A better CopyfitLine

What do you mean by "text field?" Do you mean a data field? All the examples in this thread use the name of a data field to copyfit:

Just put the name of your data field in there instead of...
Forum: Formatting Text October 17th, 2014, 11:15 AM
Replies: 14
Views: 42,706
Posted By Dan Korn
Re: A better CopyfitLine

In the <magnify> tag, change "type=setwidth" to "type=pointsize".
Forum: Formatting Text October 17th, 2014, 11:14 AM
Replies: 14
Views: 42,706
Posted By Dan Korn
Re: A better CopyfitLine

You're passing tagged markup to the function, so you need to encode the text properly as tagged, with the TaggedTextFromRaw function. Although if it's a field value, it's better to use...
Forum: Formatting Text October 20th, 2008, 02:15 PM
Replies: 14
Views: 42,706
Posted By Dan Korn
Re: A better CopyfitLine

I don't personally know a lot about the internals of the VIPP output module. I would recommend you try two things:
Download the newest version of FusionPro...
Forum: Formatting Text October 8th, 2008, 02:38 PM
Replies: 14
Views: 42,706
Posted By Dan Korn
Lightbulb A better CopyfitLine

Here's a function I wrote to basically do what CopyfitLine does, using the <magnify> tag and a more efficient algorithm:

function CopyfitLineWithMagnifyTag(line, widthInPoints, AllowToExpand)
...
Showing results 1 to 7 of 7

 
Forum Jump

All times are GMT -7. The time now is 09:12 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.