Skip to main content
Participant
June 11, 2007
Question

Vertical Text in PDF using <CFDOCUMENT>

  • June 11, 2007
  • 1 reply
  • 1115 views
I am using font tag in a CSS file to layout a table header using vertical text. In HTML, the vertical text looks fine. However, when I convert the table to a pdf using <cfdocument>, the vertical text is displayed as horizintal text and does not follow the css specified font family, color or size.

Here is the line in the CCS I am referencing:

.header_vertical {FONT-WEIGHT: bold; FONT-SIZE: 8pt; FONT-STYLE: normal; writing-mode:tb-rl; FONT-FAMILY: helvetica, arial, verdana, sans-serif; TEXT-DECORATION: none; COLOR: #0f437c}

This is CFMX7 on a Windows Server 2003 OS running IIS.

Any ideas???

Thanks.

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    August 9, 2007
    Hi there, did you find a solution to this?

    I had the same issue and no matter what i tried it didn't work. I found out that CFDOCUMENT doesn't support CSS2.

    Eventually I came up with a clunky solution, but had no other choice. I bought some imaging software called Alagad ( http://www.alagad.com) which produces the vertical text as images on the fly. Its not ideal, but there was no ther way I could disply the text.

    Hope this helps you.

    Ally