Forum Replies Created

Viewing 15 posts - 3,631 through 3,645 (of 4,234 total)
  • Author
    Posts
  • in reply to: HTML/CSS rendering issues
    #27207

    Hi PD4ML team,

    We have upgraded PD4ML from 3.7 to 3.10.6 version recently.
    After that, we are facing many rendering issues like in one scenario the table is getting shrink in the other it is getting truncated from the right side and the top.
    It was all working fine before the upgrade and we have not changed anything in the HTML after that.
    Could you please let us know what has gone wrong after the upgrade? And also is there any list of elements/styles or combination of both, which may get affected because of the upgrade?
    In case you want to see the example, I have HTML and the corresponding pdf file with me, let me know where to send it.
    Thanks in advance.

    Regards,
    Yogita

    in reply to: Facing different rendering issues after upgrading PD4ML lib
    #30186

    Hi PD4ML team,

    The current upgraded version is 3.10.7s2.

    Thanks,
    Yogita

    in reply to: Facing different rendering issues after upgrading PD4ML lib
    #30187

    Hi PD4ML team,

    We are also seeing a difference in default fallback fonts. Could you please let us know for version 3.10.7s2 what is the default fallback font?
    Kindly treat these queries as priority, we are getting many customer issues after the upgrade in PD4ML lib.

    Thanks,
    Yogita

    in reply to: Facing different rendering issues after upgrading PD4ML lib
    #30188

    In the actual version the fallback font list is like that:
    [language=java:t1ohf8oy]private static String[] serifFallback = new String[] {
    “Times New Roman”,
    “MS Mincho”,
    “MingLiU”,
    “SimSun”,
    “Mangal”,
    “David”,
    “Batang”,
    “Lucida Sans Regular”,
    “MS Gothic”,
    “Gulim”,
    “GulimChe”,
    “Arial Unicode MS”,
    };

    private static String[] sansFallback = new String[] {
    “Arial”,
    “MS Gothic”,
    “Yu Gothic”,
    “MingLiU”,
    “SimSun”,
    “Mangal”,
    “David”,
    “Gulim”,
    “Lucida Sans Regular”,
    “MS Mincho”,
    “Batang”,
    “GulimChe”,
    “Arial Unicode MS”,
    };

    private static String[] monoFallback = new String[] {
    “Courier New”,
    “MS Gothic”,
    “MingLiU”,
    “MingLiU-ExtB”,
    “MingLiU_HKSCS”,
    “MingLiU_HKSCS-ExtB”,
    “SimSun”,
    “Mangal”,
    “David”,
    “GulimChe”,
    “Lucida Sans Regular”,
    “MS Mincho”,
    “Batang”,
    “Gulim”,
    “Arial Unicode MS”,
    };[/language:t1ohf8oy]

    In the most recent PD4ML version “Arial Unicode MS” is added as the “last resort” font.

    in reply to: HTML/CSS rendering issues
    #27208

    We are using floating for showing several options. If one option is to long and causes a break, following short options are moved in front of the long options.
    But we need to keep the order.
    <br /> <html><br /> <head><br /> <style><br /> .fb-selectmanycheckbox {<br /> margin-top: 0px;<br /> }<br /> .fb-selectmanycheckbox .fb-checkbox {<br /> float:left;<br /> margin-left:-35px;<br /> }<br /> .fb-checkbox-box {<br /> border: 1px solid #bdc3c7;<br /> height: 20px;<br /> width: 20px;<br /> padding: 1px 0 0 5px;<br /> line-height: 1;<br /> }<br /> .fb-check {<br /> margin-right: 25px;<br /> padding-left: 35px;<br /> padding-bottom: 10px;<br /> }<br /> .fb-check-inline {<br /> float:left;<br /> }<br /> .fb-check-label {<br /> padding-right: 15px;<br /> }<br /> </style><br /> </head><br /> <br /> <body><br /> <div><br /> <div><br /> <div><br /> <div class="fb-selectmanycheckbox"><br /> <div class="fb-check fb-check-inline"><br /> <div class="fb-checkbox"><br /> <div class="fb-checkbox-box"></div><br /> </div><br /> <span class="fb-check-label">one</span><br /> </div><br /> <div class="fb-check fb-check-inline"><br /> <div class="fb-checkbox"><br /> <div class="fb-checkbox-box"></div><br /> </div><br /> <span class="fb-check-label">two</span><br /> </div><br /> <div class="fb-check fb-check-inline"><br /> <div class="fb-checkbox"><br /> <div class="fb-checkbox-box"></div><br /> </div><br /> <span class="fb-check-label">three, (longer label, will be moved by pd4ml to the end of the option list)</span><br /> </div><br /> <div class="fb-check fb-check-inline"><br /> <div class="fb-checkbox"><br /> <div class="fb-checkbox-box"></div><br /> </div><br /> <span class="fb-check-label">four</span><br /> </div><br /> <div class="fb-check fb-check-inline"><br /> <div class="fb-checkbox"><br /> <div class="fb-checkbox-box"></div><br /> </div><br /> <span class="fb-check-label">five</span><br /> </div><br /> </div><br /> </div><br /> </div><br /> </div><br /> </body><br /> </html><br />

    in reply to: Troubleshooting
    #27209

    We found that PD4ML (version 3.99) cannot support 4 bytes Chinese character. ? will be shown when there are 4 bytes of Chinese characters.

    Please try these 4-bytes Chinese Character here http://www.i18nguy.com/unicode/supplementary-test.html

    Please help ASAP.
    Thank you very much!

    in reply to: Please help ASAP! Corrupted Chinese Character(4bytes UTF-8)
    #30191

    PD4ML v3.9.9 does implement 4-bytes characters support, however the next 3.9.9fx1 and newer versions are recommended (as they fix few bugs).

    The feature is very sensitive to the configured TTF fonts: the fonts should define the used 4-byte glyphs and the font names should be explicitly referenced from the HTML.

    in reply to: Please help ASAP! Corrupted Chinese Character(4bytes UTF-8)
    #30192

    We addressed the issue again and found our implementation of the feature was not full. The just released v3.10.9 supports the 4bytes encoding more consistent way.

    in reply to: Deployment / Configuration issues
    #27210

    Hello Team,

    I am facing issue after upgrading to new version of PD4ML Jar “3.9.9fx1”. I am using java code to create multiple pdf files and then trying to merge them together to make one single file but having issue while calling “Append” call. This was working fine with previous version. I have attached logs for same

    Note: I am upgrading to this version to solve “Chinese characters printing issue ( “?” is display instead of some characters)”

    Thanks & Regards,
    Manoj

    in reply to: Issue after upgrading to new version of PD4ML Jar "3.9.9fx1"
    #30194

    I would recommend to upgrade to the just-released v3.10.9. Recently we addressed some CJK rendering issues (especially with 4byte-encoded characters).

    It is difficult to say, why it reports
    java.lang.NoSuchMethodError: org.zefer.pd4ml.PD4Document.append()

    The method is there since a while and we did not disable it…

    in reply to: Please help ASAP! Corrupted Chinese Character(4bytes UTF-8)
    #30193

    hi @PD4ML

    After testing v3.10.9, the 4-byte Chinese characters even are not displayed as questionmarks, but as blank characters.

    Please try these 4-bytes Chinese Character here http://www.i18nguy.com/unicode/supplementary-test.html

    Please help ASAP! Big Thanks.

    in reply to: Issue after upgrading to new version of PD4ML Jar "3.9.9fx1"
    #30195

    Hi PD4ML Team,

    After using “v3.10.9” version, Blank characters are getting displayed for those 4 bytes chinese characters.

    Thanks,
    Manoj

    in reply to: HTML/CSS rendering issues
    #27211

    When I print the following html, the not working square is shown as a question mark on an old version off pd4ml, and shown as blank in the latest 3.109 version of pd4ml.
    The character that is working is the: #9633 (White Square http://www.codetable.net/decimal/9633)
    The character that isn’t working is the: #9723 ( White Medium Square http://www.codetable.net/decimal/9723)

    I found that the 9723 isn’t supported by Verdana, but is shown in Browsers.
    Shouldn’t it fallback to a font that does support the character ?

    Working: □
    Not working: ◻
    in reply to: Unicode character not displayed, character missing in font
    #30198

    I reviewed a number of TTFs with “Character Map” Windows utility, and it seems #9723 (U+25FB) glyph is quite rare in TTFs. I have only found it in DejaVu family of fonts.

    So try to modify the font-family directive like that:
    from
    “font-family=Verdana,Geneva,Arial,Helvetica,sans-serif”
    to
    “font-family: Verdana,Geneva,’DejaVu Sans’,Arial,Helvetica,sans-serif”

    (Make sure DejaVu font is installed and indexed, and do not forget to substitute ‘=’ with ‘:’ in the property definition)

    in reply to: Hanging Threads!
    #30162

    i use the pd4ml with version 1.0, there is no method to set TIME_OUT parameter, any suggestions to reslove it ?

Viewing 15 posts - 3,631 through 3,645 (of 4,234 total)