HTML to PDF / DOCX / RTF Java converter library Forums PD4ML v3 Archived Forums (Read Only) HTML/CSS rendering issues Facing different rendering issues after upgrading PD4ML lib

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #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

    #30186

    Hi PD4ML team,

    The current upgraded version is 3.10.7s2.

    Thanks,
    Yogita

    #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

    #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.

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

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