Forum Replies Created

Viewing 15 posts - 61 through 75 (of 583 total)
  • Author
    Posts
  • in reply to: Fit image bu width or height
    #29672

    Are relative widths already supported?
    Is max-width: 100% on images in css supported?

    img { max-width: 100%} doesn’t seem to work

    in reply to: pd4ml.useTTF() create (but not delete) temporary files
    #29521

    I can confirm this problem as well.
    PD4ML generates a lot of temporary files (+~JF*.tmp) because of fonts and there isn’t a cleanup procedure. They just stay in the temp folder.

    in reply to: Generated pdf with watermark file size is too big
    #30020

    Hi,
    unfortunately this happens even for JPEGs.

    I could provide examples, but i have no idea how to attach files here.

    in reply to: Image size reducing after rendering into PDF
    #30045

    Got it & Thankyou.

    Is merging option available in Eval version? so that I can try it out?

    in reply to: Image size reducing after rendering into PDF
    #30043

    I am going to use .Net Library of PD4ML… just wanted to know if there is any chance that we might run into out of memory while generating the last size pdf’s with high definition images

    in reply to: Image size reducing after rendering into PDF
    #30041

    Is there any size limit on the PDF generation? we are expecting the PDF’s to be around 200MB~

    in reply to: pd4ml transform tag renders weird characters
    #30029

    After removing PD4ml transform tags response in jsp is:

    HI This is test :

    Thanks

    in reply to: pd4ml transform tag renders weird characters
    #30028

    This is the code

    <%@ taglib prefix="pd4ml" uri="/WEB-INF/taglib/pd4ml.tld"%><pd4ml:transform
    screenWidth="400"
    pageFormat="A5"
    pageOrientation="landscape"
    pageInsets="100,100,100,100,points">
    <div >
    HI This is test :
    </div>
    </pd4ml:transform>

    response:

    %PDF-1.4 %Çåôåð 1 0 obj % [24] << /Filter /FlateDecode /Length 458 >> stream xÚµQ[OÛ0~ŽÅáaÒ&ÑÌÎ¥!‘ú2ÒÒm‰Æš&·q[Cc§±!ê~ýŽ3PÙÛ^¦ÄÊñw¾K|¼'–GÓkx‘Ze¦fÆÆe~u„™Ÿøô'‹¿¹=ÂwR•º5@ßgØÉ¡Vº”j“Áy͂8@Üã“<ƒòp5*z³¼¯ô(6µú6T_ŸæéýP³ñâÒyÒÊï£zZNÆ«‹û}~{žôX,Œh˜œ°( â”qBÓÐyË_"ƒGþÂ}ÞZ?—•P.졕¥Ýâ4>Ý ¹ÙÚA°(ÊkÞI&ð=`”žîÄÚvÅR[««®l:¬œÁ³Áó×|…±¥Î±â¦ÞI›mžE—bESë·H[óq åKвüÉQLŸ‰¦’ÝŒw–u£ßÆL0Ü Ópи…¤ ç¼>œSBýô,‰âÓ{­;²W•cr©ÀX®H—„A‹¤¿®ÅÅ_Ûfóç³’û“ê>A„Ìó¾Ä;sL(Jâ}ie¼Ó[èŠ+Ž’Pl¥|­0²OP> endobj 4 0 obj << /Resources << /Font << /FontTimes-Roman0 3 0 R >> /ProcSet [/PDF /Text /ImageB /ImageC /ImageI] >> /Type /Page /Parent 2 0 R /Contents 1 0 R /MediaBox [0 0 595 421] /Annots [ ] >> endobj 2 0 obj << /Type /Pages /Count 1 /Kids [ 4 0 R ] >> endobj 5 0 obj << /Pages 2 0 R /Type /Catalog /PageLayout /OneColumn >> endobj 6 0 obj << /Creator /Producer /CreationDate (D:20170419135915+05'30') >> endobj xref 0 7 0000000000 65535 f 0000000016 00000 n 0000000856 00000 n 0000000554 00000 n 0000000653 00000 n 0000000915 00000 n 0000000987 00000 n trailer << /Info 6 0 R /Root 5 0 R /Size 7 /ID [<79bcfcd74b67c0cb1345fcede7652884><79bcfcd74b67c0cb1345fcede7652884>] >> startxref 1425 %%EOF

    in reply to: pd4ml transform tag renders weird characters
    #30026

    Thanks for your response.
    I have changed the weblogic server start parameter to add
    -Dweblogic.webservice.i18n.charset=utf-8 and restarted the server. No luck.

    then I added the below parameter and restarted the server.
    -Dfile.encoding=utf8

    Weblogic Domain path-> bin folder -> setDomainEnv.sh under JAVA_OPTS added the below variable.
    -Dfile.encoding=utf8.

    Still it is displaying the same characters. Plz help me what could be the problem.

    Thanks,

    in reply to: pd4ml transform tag renders weird characters
    #30031

    The “garbage” is PDF bytes, shown as plain text. Obviously “Content-type” HTTP response header is overridden with a wrong value. Check the server/webapp setting.

    in reply to: border-radius is supported in pd4ml ?
    #29361

    @PD4ML wrote:

    Border radius is not supported in HTML/CSS properties yet.

    Its support has been recently added to SVG renderer module of PD4ML, so if it is needed for decorative reasons, you may use inline SVG graphics for that.

    Any update, when border-radius will be supported?
    We are waiting for the support.
    Thanks a lot.

    in reply to: Issue with Image Rendering
    #30018

    Hi Mani! Sorry for the holiday delay with the reply.

    I would recommend to check the following:

    – I guess PD4ML runs on a server. Make sure the server (not a client browser) can resolve test4.j.layershift.co.uk DNS name and has a routing to it. Log into the server and try to load any test4.j.layershift.co.uk URL with wget or anything similar.

    – If the above is ok, check logs of test4.j.layershift.co.uk if there were attempts to load the image by PD4ML and error codes (if any).

    in reply to: PDF not able to use relative paths
    #30025

    Never mind fixed above as well, posting it for someone who is faces same issues
    1. css not getting rendered :- in my cases i had to add an extra / before css path, it started taking relative path.
    2. header getting cut off :- i had to use pd4PageMark.setAreaHeight, this fixed issue for me.

    my next step is to move whole thing from servlet to rest service, lets see how it goes.

    in reply to: PDF not able to use relative paths
    #30024

    Fixed above issue, but i am stuck on another one, another something i read in multiple threads, but not sure whether its supported or not, i have an HTML which has a main header, and then table header i want to repeat both of them on page breaks, below is what i am trying to do.

    <table style="border-collapse:collapse;" border="0">
    <thead>
    <tr>
    <th colspan="7">
    <table>
    <tr>
    <td>Header 1</div>
    </tr>
    <tr>
    <th width="200px">Table Header</th>
    <th width="200px">Table Header</th>
    <th width="200px">Table Header</th>
    <th width="200px">Table Header</th>
    <th width="200px">Table Header</th>
    <th width="200px">Table Header</th>
    <th width="200px">Table Header</th>
    </tr>
    </table>
    </th>
    </tr>
    </thead>
    <tbody>
    <tr>
    <td >
    <p >26
    
    <div>My Content</div>
    </td>
    <td >
    <p >27
    
    <div>My Content</div>
    </td>
    <td >
    <p >28
    
    <div>My Content</div>
    </td>
    <td >
    <p >1
    
    <div>My Content</div>
    </td>
    <td >
    <p >2
    
    <div>My Content</div>
    </td>
    <td >
    <p >3
    
    <div>My Content</div>
    </td>
    <td >
    <p >4
    
    <div>My Content</div>
    </td>
    </tr>
    </tbody>
    </table>

    in above example i know that pd4ml doesn’t supports thead, what i am doing is breaking the html on the basis of thead, tbody and tfooter, and using it to set below api’s

    pd4ml.setPageHeader
    pd4ml.render
    pd4ml.setPageFooter

    What happens is, it only displays Header 1, Table header’s are never displayed, if i remove Header 1, Table Header’s are displayed, but i want both of them to be displayed in each page.

    in reply to: pd4ml ignores images behind a http redirect
    #30016

    The problem was first sound in an old version of pd4ml we’re using but it’s still applicable for 3.10.0 pro demo, that i was trying out a few days ago.

Viewing 15 posts - 61 through 75 (of 583 total)