suds32 Posted December 4, 2014 Share Posted December 4, 2014 HI I hav been trying to get our business card template to work. basically on the first line you have a"name" followed by "qualifications" Some qualifications are quite long, so the first option was to drop down a line if it does not fit. this wrks well for most. But occasionally we have one that won't fit on the first line and will need to split correctly on a section line i.e. don't split a word. Code we are using is function NoBreak(s) { return "<p br=false hyphenate=false noparabreakoncopyfit=true>" + NormalizeEntities(s).replace(/ /g, " "); } return NoBreak(Field("Qualifications")); What we get with really long field is "Name" Bachelor of engineering Clas s 2b Honours, Civil Engineering I need to some how stop the splitting of the word Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted December 8, 2014 Share Posted December 8, 2014 It's hard to tell what's going on with the job just by looking at one rule and some output through a keyhole. Are you actually applying copyfitting to the frame? What copyfitting factors are you using in the OnCopyfit rule? Are there any messages about text not fitting or justification in the composition log (.msg) file? (You'll need to Compose the job, not just Preview it, to see the log.) Posting the job (or a minimal example to demonstrate the problem) may be worth a thousand words. Quote Link to comment Share on other sites More sharing options...
suds32 Posted December 8, 2014 Author Share Posted December 8, 2014 Thanks for the reply Full job attached. No copy fitting as the client does not want any text resized. The basic rule is if the qualification can't fit on the top line move to the next line down. Unfortunately there are some user with very long qualifications that will also not fit on the second line without splitting. ThanksHawkinsConstruction_Fiji.zip 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.