Jump to content

jmerrick0657

Registered Users - Approved
  • Posts

    39
  • Joined

Everything posted by jmerrick0657

  1. Dan, Thanks a lot! That is perfect. I never thought about using tables. I really don't have the greatest grasp of JavaScript and mostly hobble the code together. Thanks again for the help, Jake
  2. Oh, ok. If you would like to take a look at the job I have attached the zip file. I did change the copyfit rule to measure the length of the text field and divide by 99 instead of 100. That seems to work if there is not that much copyfitting. Thanks, Jake Fusion Pro.zip
  3. I'm having trouble with some copyfitting. Here is the code I am using: var StaticPart = ""; //This text will not copyfit. var DynamicPart = Rule("DetermineLogoLines"); //This text will copyfit. var TextFont = "Formata Light"; var FontSize = 7.5; var MinFontSize = 1; var AdjustWidthOnly = false; if (Rule("DetermineLogoLines") != "") return CopyfitLine(StaticPart,DynamicPart,TextFont,FontSize, Round(Rule("LogoHeadingLength") / 100,0), MinFontSize, AdjustWidthOnly); else return ""; Based on the length of the first line of text, a right aligned tab is set, then the second two lines of text are copyfitted from the edge of the box to the point where the tab is. This seems to be working when there is little or no copyfitting required. However when it needs to copyfit, the minimum font size is always returned.
  4. I tried that, I setup two different colors, set one to the text color and one as the stroke color; with just the stroke color set to overprint using this rule: if (Field("Phone") != '') return '<z newsize="6.3"><setwidth newsize="7"><color name="Text Color"><stroke color="Text Color Overprint" width="25"><i>p</i></stroke><t><z newsize="7">' + Rule("FormatPhone"); else return ''; It applied the correct color to the text fill and the correct color to the text stroke, however it set both the fill and the stroke to overprint. However, when I look at other text in the output that has the same fill color, but no stroke it does not overprint.
  5. I have some text that I need to overprint, however I just need to overprint the stroke. Anyone know how to do this?
  6. Dan, Sorry; I meant text frame, not text field. The code you posted using the FindTextFrame and GetSettableTextWidth() functions works perfectly!! Thanks.
  7. Dan, I found this old post and it works great for using multiple font styles in one line, however I can't figure out how to modify the function so I can input a name of the text field I want to copyfit and have it automatically calculate the width. Is that possible? Thanks.
  8. Got it. Thanks for your help Dan.
  9. Dan, Thanks for the response. Do you know how I can accomplish this? I thought it would be in the composition settings. I see postscript as an output option, however I don't see an option to outline the type.
  10. I have a few products that where the outputted PDF gets sent to a vendor for production. The vendor requires that all type be converted to outlines, does anyone know if there is a way to convert the variable text generated by FusionPro to outlines?
  11. I'm making a business card that has 3 lines that need to copyfit. I'm using the CopyFitLine function and it works fine, however I need to have the tracking set to 3% for these lines. However it seems like CopyFitLine doesn't take the tracking into account when it calculates the font size. Does anybody know how to accomplish this?
×
×
  • Create New...