CMS data to pdf?

Out of context: Reply #11

  • Started
  • Last post
  • 11 Responses
  • vaxorcist0

    that changes a lot...... ok.....

    why? because HTML/CSS layouts are much more liquid than print layouts, unless you can make your print layout very forgiving, i.e. have a 1 or 2 or 3 line headline without messing everything else up.....

    Imagine layout done in all absolute positions without knowing how long the headline text is....

    You will have to write some "text-wrap-detect" code to figure out if your headlines will spill onto 2 lines or fit on one, then you set a variable and move the body text up or down by x pixels based on this...

    basically, you have to script many of the little tweeks designers do by hand and eye....

    Also, you might have, say 5 slightly different layout templates, for, say a vertical photo, a horizontal photo, a square photo, or one layout for a long pullquote, another for a short pullquote...etc...

    get ready for tweek-o-rama, unless your CMS already has very, very precise content limits, like, say, all headlines are 72-76 characters only, all photos are square at a certain size,etc....

    or, make your layout look alot like a web page and it may be easier....

View thread