Printing a Rotated Font

  • The demo version of my app prints a line of text from the upper left corner to the bottom right corner of the printed page.

    I use the TextOut API after selecting a rotated font into the hDC. The rotated font is created with the CreateFontIndirect API function. That function passes a LOGFONT struct. One of the elements has the .lfEscapement set equal to the angle that I want to print at.

    For some reason this routine does not work on the hDC returned from the PDF control. It works very well on a printer DC.

    Any suggestions are appreciated very much.

    Thanks,
    -Marty