Forum Replies Created
-
AuthorPosts
-
in reply to: Fit image bu width or height June 16, 2017 at 16:10#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 May 22, 2017 at 11:27#29521I 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 May 10, 2017 at 08:30#30020Hi,
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 May 8, 2017 at 17:43in reply to: Image size reducing after rendering into PDF May 8, 2017 at 16:10#30043I 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 May 8, 2017 at 15:37#30041Is 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 April 19, 2017 at 08:33in reply to: pd4ml transform tag renders weird characters April 19, 2017 at 08:30#30028This 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ÓkxZe¦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:¬Á³Áó×| ±¥Î±â¦ÞImEbESë·H[óq åKвüÉQL¦Ýwu£ßÆL0Ü Ópи ¤ ç¼>SBýô,âÓ{;²Wcr©ÀX®HA¤¿®ÅÅ_Û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 April 19, 2017 at 06:26#30026Thanks 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=utf8Weblogic 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 April 18, 2017 at 13:58#30031The “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 ? April 18, 2017 at 10:01#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 April 18, 2017 at 09:08#30018Hi 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 April 14, 2017 at 15:03#30025Never 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 April 14, 2017 at 13:41#30024Fixed 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.setPageFooterWhat 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 March 22, 2017 at 10:10#30016The 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.
-
AuthorPosts
