Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #26676

    I’m having an issue with line breaks on formatted number fields. That is, numbers will break across lines improperly.

    Here is the .html

    <br /> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"<br /> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><br /> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><br /> <head><br /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><br /> <title>TI</title><br /> <style type="text/css"><br /> *{font-weight:normal;font-family:Arial;font-size:12px;}<br /> </style><br /> </head><br /> <body><br /> <p><br /> 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000<br /> 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000<br /> 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000 80,000<br /> </p><br /> </body><br /> </html>

    and the output is attached.

    Thanks for any assistance.

    #28861

    I am having this exact same problem. I can’t tell from the above code, but my situation often involves non-breaking white-space characters (u00A0), which PD4ML apparently refused to break on/before/after.

    I was able to force PD4ML to not prefer breaking words at the comma over breaking words on white-space by replacing the comma character (u002C) with the ‘single low-9 quotation mark’ (u201A), which looks the same as a comma. Unfortunately, while PD4ML no longer breaks words up at the comma-like character, it’s now impossible to use CTRL-F to find numbers that you’d expect to have commas in them, and copy-pasting isn’t great either.

    #28862

    Just released maintenance version v380fx6 addresses the issue. Please give it a try.

    #28863

    @PD4ML wrote:

    Just released maintenance version v380fx6 addresses the issue. Please give it a try.

    I had similar problem and tried the version v380fx6 but it didn’t resolve it.

    I was wondering if mine is related to the    non-breaking space ?

    My input HTML :

    Test Number:   1X 999 999 99 9999 999 0    Reference Number(s):  

    Out put PDF:
    Test
    1X 999 999 99 9999 999 0
    Number:

    Reference
    99999400, 9999967, 999999300
    Number:

    —-
    Thanks for the help.

    99999400, 9999967, 999999300
    #28864

    PD4ML does not support tag. And as I see the unsupported tag screens nowrap attribute, applied to a table cell.

    A current workaround is to remove and to define nowrap for

Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.