Underline disappears when converting RTF to PDF on an image

  • I realize that this may be a non-starter, but a client wants this functionality.

    I'm using wRTF2PDF to convert RTF entered by the user to PDF for viewing on the web. The user wants to be able to insert an image in the RTF, select it, and add the underline attribute to it. The RTF spec allows this (our 3rd-party control and also Word displays this properly), but the wRTF2PDF conversion drops the underline. It's probably because underline is a text decoration and can't be applied to an image, but that's what the client is asking for.

    For example, the user would insert an image and underline it, like this:

    [this is the image]

    The RTF displays this ok, but the conversion drops the underline in the PDF, so it's just the image:

    [this is the image]

    Is there anything I can do to get this to work?

    Thanks.

    • Offizieller Beitrag

    Hi,

    You may send me the RTF file. The porblem I see that usually an image fills the complete height of the line and so covers the area where the underline is printed, even if it is printed. So it really depends on the height of the image if this is thinkable at all.

    Julian