Forum Replies Created
-
AuthorPosts
-
in reply to: Issue with Image Rendering April 17, 2017 at 04:49#30017
Hello Everyone,
Anyone on this? This is going to be an important feature in the app that am building and am sure the issue is with the jars as it is happening with other apps also.
Could someone please look into this and suggest on how could I/we proceed further.
Regards,
Mani.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: 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: Deployment / Configuration issues April 18, 2017 at 13:54#27142I’m using pd4ml to generate pdf using pd4ml taglib. The jsp is rendered with wired characters instead of showing pdf. we are using tiles for rendering jsp.
ex: %PDF-1.4 %Çåôåð 1 0 obj << /Filter /FlateDecode /Length 940 >> stream xÚÅWmsÚ8þÅ»IfcùÇÌäKBÒÒÐë]aPk[$pé¯ïÊÉÌ&×aÒJÚgß´»Ü[?Á ë÷9¼^D` nuß>ÚÎ_$@úõí#ùÏQ*¡mÜ»ä)Ç”áù¤çqé)s¡×í@ö:;»ùcüûÕäcÿ]ßýY÷ü”ïÑnؽßò+åïßN¿Î_§Þdø.|E#ÉèõHEô¯LtòâÁÊÂ^ë>@24óxq>ì[8ø9ZÍ«x:ÎÌIÊsP3Ë +@iٮƻ×OrRãáãàôÚÁÌüÐ7{Ìoâ?Îj¬v¸{o5ÈRóãEHE-gC«aÀ&VãøRäú KçLó4!àÀpl5hObï;ág«q1´njµ¿Ýºê¤ºÈÙ_jz1³Xó9nj}*ã)¸ w¨z]ñão%ÿpÊÆ3)®üí·[&çThanks,
Sureshin 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: HTML/CSS rendering issues April 18, 2017 at 18:49#27143I have successfully implemented headers and footers using hard coded style= attributes. Now I need the styles to be dynamic.
Can I reference a style sheet in the header and footer html? If so how?
in reply to: HTML/CSS rendering issues April 18, 2017 at 18:54#27144Mirrored margins (different margins on odd and even pages to allow room for binding when using two sided printing) have been required for a long time. I am hoping you have implemented mirrored margins and I just missed it.
Please confirm whether or not you have implemented mirrored margins.
in reply to: HTML/CSS rendering issues April 18, 2017 at 18:59#27145Why is the HTML entity Α (the capital Greek letter) rendered as a ?.
Is there a problem with my font?
Does PD4ML need an enhancement to support this HTML entity?
in reply to: Can I reference a style sheet in the header and footer html? April 18, 2017 at 20:53#30034If you define headers/footers via API, try to define not only HTML snippet, but a valid HTML doc:
[language=xml:1yqlfbz1]header.setHtmlTemplate(“
” +
“page $[page] of $[total]“)[/language:1yqlfbz1]in reply to: Have mirrored margins been implemented yet? April 18, 2017 at 20:54#30036The feature is to be supported by the forthcoming PD4ML v4
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 19, 2017 at 08:15#30027It is not about charset / character encoding.
Your webapp should send “Content-type: application/pdf” with HTTP response.
PD4ML taglib implicitly sets the correct HTTP header. (Do you use PD4ML taglib?)
It your case it seems to be overridden with “Content-type: text/plain“.in reply to: Why is the HTML entity Α rendered as a ?. April 19, 2017 at 08:19#30038Have you configured/enabled “TTF Embedding” feature? By default PD4ML supports only Latin-1 charset of built-in Acroread fonts.
in 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"%>HI This is test :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 08:33 -
AuthorPosts