Forum Replies Created

Viewing 15 posts - 481 through 495 (of 4,249 total)
  • Author
    Posts
  • in reply to: logo in an img tag blows up
    #27914

    Yes the beta did the trick. Thank you for the prompt response.

    in reply to: HTML/CSS rendering issues
    #26353

    Hi. My company is evaluating PD4ML, but something we really need, text-indentation, does not seem to be supported. Is there a prevision for this style attribute to be available? For now, what would be the suggested alternative for the first letter of the line of a paragraph n centimeters to the right? Thanks.

    in reply to: About text-indent
    #27920

    Correcting, “…the suggested alternative for moving the first letter…”

    in reply to: "Pd4ml.render" take long time to process
    #27881

    Dear Sir/Madam,
    We have tried to use the latest library “pd4ml.prof.360” and the latest XSL that your colleague, Igor send to me. We have tried both remark and un-remark the line No. 298 and 308 of the XSL. However, it still take about 10 min to generate a Notes Email with 10 MB attachment to the PDF using the new library, new XSL and my original coding. Please advise anyway that I can do speed up the PD4ML.render() function?

    P.S. you can find our original agent code in the 1st thread of this Post.

    in reply to: "Pd4ml.render" take long time to process
    #27880

    In order to make sure you use not cached JAR version, please open the generated document in Acroread and go to File->Properties->Description->Producer. Is there really v360?

    in reply to: PDF loading crash in IE with Google Toolbar
    #27916

    1. Do you use IE8?
    2. Do you load the PDF by HTTP or HTTPS?

    in reply to: PDF loading crash in IE with Google Toolbar
    #27917

    Yes I use IE8 , but it seems that same thing happens in IE7 too.
    I load the PDF by HTTP.

    As a temporary solution, I open the PDF in an instance of Acrobat reader, not in browser (inline=”false” …>), but i don’t know if my client will be pleased with this.

    in reply to: PDF loading crash in IE with Google Toolbar
    #27918

    I would do the following:

    1. Test if your instance of IE+Google toolbar can open other PDFs from the Web.

    2. Save a generated PDF and open it in a text editor. Does it start with %PDF- ? Are there any spaces or new line characters before the prefix?

    3. Try to define the following HTTP headers in the JSP:
    X-Download-Options: noopen
    X-Content-Type-Options: nosniff

    Here is some more headers to play with:
    http://stackoverflow.com/questions/1242900/problems-with-header-when-displaying-a-pdf-file-in-ie8

    In order to switch the default HTTP headers of PD4ML taglib off, you would need to instal v360fx1b1 and define http=”noheader” attribute to

    in reply to: General questions / FAQ
    #26354

    Hi
    i have get a grap and data’s well but when i resize the pdf i can’t get table border properly how will resolve the problem
    for eg: in Pdf if i zoom in 125% it will show properly but, if i check in 72% i caouldn’t see good

    Thanks in Advance
    Dinesh.N

    in reply to: About text-indent
    #27921

    The feature is currently not implemented. We could add it to one of the forthcomming releases. The priority would depend on particular PD4ML product you (are going to) order.

    in reply to: About text-indent
    #27922

    Hi again. We are deciding between PD4ML Java Library Pro single and volume licenses. Is it possible to estimate how long it would take for this feature to be available in each of these two cases?

    Thanks!

    in reply to: About text-indent
    #27923

    If you consider the volume license, we could try to implement the feature within the next 2-3 days and provide you with a version to test asap.

    PD4ML Pro would mean the standard implementation cycle: we’ll start after v360fx1 is finally released (~Apr. 15) and it will be available with v361b1 (not later than 1st of May). However there is a possibility we’ll address the issue sooner.

    in reply to: Troubleshooting
    #26355

    I am trying to render an HTML document with Chinese characters into a PDF and it either inserts ??? for the missing characters or it totally ignores them.

    In my logs I see this:
    <br /> ENCODING=UTF8<br /> version: PD4ML 351 Pro<br /> not yet in cache: file:C:DEVworkspaceECLIPSEportalweb-colotargetworkwebappWEB-INFclassescomxxxxxxxxportalrenderdocument/pd4fonts.properties<br /> not yet in cache: file:C:DEVworkspaceECLIPSEportalweb-colotargetworkwebappWEB-INFclassescomxxxxxxxportalrenderdocument/xxxx-propu.ttf<br /> read 'xxxx proportional unicode' from file:C:DEVworkspaceECLIPSEportalweb-colotargetworkwebappWEB-INFclassescomxxxxxxxxportalrenderdocument/xxxx-propu.ttf<br /> 'xxxx proportional unicode bold' is not in pd4fonts.properties file<br /> reject TTF lookup for: 'xxxx proportional unicode bold'<br /> 'times' is not in pd4fonts.properties file<br /> reject TTF lookup for: 'times'<br /> 'times new roman' is not in pd4fonts.properties file<br /> reject TTF lookup for: 'times new roman'<br /> 'akzidenzgroteskbe-bold' is not in pd4fonts.properties file<br /> reject TTF lookup for: 'akzidenzgroteskbe-bold'<br /> done in 500ms.<br />

    This is the code that I believe is relevant:
    <br /> String pathToPd4fontsProps = "/com/xxxx/xxxx/portal/render/document/pd4fonts.properties";<br /> URL fontPathURL = PD4MLDocumentRenderer.class.getResource( pathToPd4fontsProps );<br /> File fileP = new File(fontPathURL.toURI());<br /> fontPath = fileP.getParent();<br />
    Later on in the same method I have this code:
    <br /> pd4ml.enableDebugInfo();<br /> pd4ml.useTTF( fontPath, true );<br />
    I followed the documents on this site to generate my pd4browser.properties, which is located in the same directory as the fonts and contains the following:
    <br /> #<br /> #Wed Mar 24 07:21:32 EDT 2010<br /> adobe.font.metrics=true<br /> debug.info.enable=false<br /> document.author=<br /> document.title=<br /> footer.color=#000000<br /> footer.font.face=Courier New<br /> footer.font.size=10<br /> footer.font.style=0<br /> footer.height=12<br /> footer.init.page.num=1<br /> footer.page.num.align=right<br /> footer.page.num.template=null<br /> footer.pages.to.skip=0<br /> footer.title.align=center<br /> footer.title.template=null<br /> header.color=#000000<br /> header.font.face=Courier New<br /> header.font.size=10<br /> header.font.style=0<br /> header.height=12<br /> header.init.page.num=1<br /> header.page.num.align=right<br /> header.page.num.template=null<br /> header.pages.to.skip=0<br /> header.title.align=center<br /> header.title.template=null<br /> images.interpolate=false<br /> insets.bottom=10<br /> insets.left=10<br /> insets.right=10<br /> insets.top=10<br /> insets.units=mm<br /> page.bookmarks.destinations=false<br /> page.bookmarks.headings=false<br /> page.format=A4<br /> page.hyperlinks=true<br /> page.orientation=false<br /> pdf.forms.enable=false<br /> proxy.host=<br /> proxy.port=0<br /> rendering.patch=true<br /> rendering.split=true<br /> table.breaks.enable=false<br /> ttf.fonts.default.monospace=<br /> ttf.fonts.default.sansserif=<br /> ttf.fonts.default.serif=<br /> ttf.fonts.dir=com/xxxx/xxxx/portal/render/document<br /> userSpace.adjustToContent=false<br /> userSpace.width=800<br /> viewer.executeble=acroread.exe<br /> viewer.params=<br /> window.height=100<br /> window.width=100<br /> window.x=850<br /> window.y=600<br />
    Finally, my pd4fonts.properties file is located in the same directory as the fonts and pd4browser.properties and it contains the following:
    <br /> #this is an autogenerated file. please remove manually any references to copyrighted fonts<br /> #Wed Mar 24 07:21:32 EDT 2010<br /> KaiTi_GB2312=SIMKAI.TTF<br /> xxxx Fixed 2 Unicode=xxxx-fixed2U.ttf<br /> xxxx Fixed Unicode=xxxx-fixedu.ttf<br /> xxxx Fixed Unicode B=xxxx-FixedU_B.ttf<br /> xxxx Fixed Unicode C=xxxx-FixedU_C.ttf<br /> xxxx Fixed Unicode D=xxxx-FixedU_D.ttf<br /> xxxx Fixed Unicode F=xxxx-FixedU_F.ttf<br /> xxxx Prop Unicode B=xxxx-PropU_B.ttf<br /> xxxx Prop Unicode C=xxxx-PropU_C.ttf<br /> xxxx Prop Unicode D=xxxx-PropU_D.ttf<br /> xxxx Prop Unicode F=xxxx-PropU_F.ttf<br /> xxxx Proportional Unicode=xxxx-propu.ttf<br />

    You see that I have a mention of the Chinese font “KaiTi_GB2312=SIMKAI.TTF” but obviously it never is even mentioned. What am I doing wrong?
    My PDFs do get rendered but either with question marks or with the Chinese characters totally omitted. Please help.

    Thank you,
    Ty

    in reply to: HTML/CSS rendering issues
    #26356

    I am trying to render an HTML document with Chinese characters into a PDF and it either inserts ??? for the missing characters or it totally ignores them.

    In my logs I see this:
    <br /> ENCODING=UTF8<br /> version: PD4ML 351 Pro<br /> not yet in cache: file:C:DEVworkspaceECLIPSEportalweb-colotargetworkwebappWEB-INFclassescomxxxxxxxxportalrenderdocument/pd4fonts.properties<br /> not yet in cache: file:C:DEVworkspaceECLIPSEportalweb-colotargetworkwebappWEB-INFclassescomxxxxxxxportalrenderdocument/xxxx-propu.ttf<br /> read 'xxxx proportional unicode' from file:C:DEVworkspaceECLIPSEportalweb-colotargetworkwebappWEB-INFclassescomxxxxxxxxportalrenderdocument/xxxx-propu.ttf<br /> 'xxxx proportional unicode bold' is not in pd4fonts.properties file<br /> reject TTF lookup for: 'xxxx proportional unicode bold'<br /> 'times' is not in pd4fonts.properties file<br /> reject TTF lookup for: 'times'<br /> 'times new roman' is not in pd4fonts.properties file<br /> reject TTF lookup for: 'times new roman'<br /> 'akzidenzgroteskbe-bold' is not in pd4fonts.properties file<br /> reject TTF lookup for: 'akzidenzgroteskbe-bold'<br /> done in 500ms.<br />

    This is the code that I believe is relevant:
    <br /> String pathToPd4fontsProps = "/com/xxxx/xxxx/portal/render/document/pd4fonts.properties";<br /> URL fontPathURL = PD4MLDocumentRenderer.class.getResource( pathToPd4fontsProps );<br /> File fileP = new File(fontPathURL.toURI());<br /> fontPath = fileP.getParent();<br />
    Later on in the same method I have this code:
    <br /> pd4ml.enableDebugInfo();<br /> pd4ml.useTTF( fontPath, true );<br />
    I followed the documents on this site to generate my pd4browser.properties, which is located in the same directory as the fonts and contains the following:
    <br /> #<br /> #Wed Mar 24 07:21:32 EDT 2010<br /> adobe.font.metrics=true<br /> debug.info.enable=false<br /> document.author=<br /> document.title=<br /> footer.color=#000000<br /> footer.font.face=Courier New<br /> footer.font.size=10<br /> footer.font.style=0<br /> footer.height=12<br /> footer.init.page.num=1<br /> footer.page.num.align=right<br /> footer.page.num.template=null<br /> footer.pages.to.skip=0<br /> footer.title.align=center<br /> footer.title.template=null<br /> header.color=#000000<br /> header.font.face=Courier New<br /> header.font.size=10<br /> header.font.style=0<br /> header.height=12<br /> header.init.page.num=1<br /> header.page.num.align=right<br /> header.page.num.template=null<br /> header.pages.to.skip=0<br /> header.title.align=center<br /> header.title.template=null<br /> images.interpolate=false<br /> insets.bottom=10<br /> insets.left=10<br /> insets.right=10<br /> insets.top=10<br /> insets.units=mm<br /> page.bookmarks.destinations=false<br /> page.bookmarks.headings=false<br /> page.format=A4<br /> page.hyperlinks=true<br /> page.orientation=false<br /> pdf.forms.enable=false<br /> proxy.host=<br /> proxy.port=0<br /> rendering.patch=true<br /> rendering.split=true<br /> table.breaks.enable=false<br /> ttf.fonts.default.monospace=<br /> ttf.fonts.default.sansserif=<br /> ttf.fonts.default.serif=<br /> ttf.fonts.dir=com/xxxx/xxxx/portal/render/document<br /> userSpace.adjustToContent=false<br /> userSpace.width=800<br /> viewer.executeble=acroread.exe<br /> viewer.params=<br /> window.height=100<br /> window.width=100<br /> window.x=850<br /> window.y=600<br />
    Finally, my pd4fonts.properties file is located in the same directory as the fonts and pd4browser.properties and it contains the following:
    <br /> #this is an autogenerated file. please remove manually any references to copyrighted fonts<br /> #Wed Mar 24 07:21:32 EDT 2010<br /> KaiTi_GB2312=SIMKAI.TTF<br /> xxxx Fixed 2 Unicode=xxxx-fixed2U.ttf<br /> xxxx Fixed Unicode=xxxx-fixedu.ttf<br /> xxxx Fixed Unicode B=xxxx-FixedU_B.ttf<br /> xxxx Fixed Unicode C=xxxx-FixedU_C.ttf<br /> xxxx Fixed Unicode D=xxxx-FixedU_D.ttf<br /> xxxx Fixed Unicode F=xxxx-FixedU_F.ttf<br /> xxxx Prop Unicode B=xxxx-PropU_B.ttf<br /> xxxx Prop Unicode C=xxxx-PropU_C.ttf<br /> xxxx Prop Unicode D=xxxx-PropU_D.ttf<br /> xxxx Prop Unicode F=xxxx-PropU_F.ttf<br /> xxxx Proportional Unicode=xxxx-propu.ttf<br />

    You see that I have a mention of the Chinese font “KaiTi_GB2312=SIMKAI.TTF” but obviously it never is even mentioned. What am I doing wrong?
    My PDFs do get rendered but either with question marks or with the Chinese characters totally omitted. Please help.

    Thank you,
    Ty

    P.S. If you’re just going to send me to the same link TTF embedding link, it isn’t working. I have pored over that document. (pd4ml-html-css-pdf-tips-tricks-f7/ttf-embedding-t42.html) and it does not work! There must be some missing step. Is it necessary to register the Fonts with the OS? (Tried that, no difference.) I have been trying to get the TTF fonts that you included in the example but I have yet to see them getting picked up.

    in reply to: General questions / FAQ
    #26357

    We are trying to create a scheduled agent in Lotus Notes that generates PDFs and run into a permission issue(no acces to c:windowstemp). Generally, we only have access to the directory where the Domino service runs (which is not on the c: drive). Is there a way to pass a parameter to File.createTempFile so we can define the file location? If not, please provide an alternate solution to the problem we are experiencing.

    This is the error we get:
    03/24/2010 10:57:02 AM AMgr: Agent (‘Create PDF (test scheduled)’ in ‘ZDEVCB&I APPLICATIONSTravelTravelAuthorizationPDF.nsf’) error message: java.lang.SecurityException: not allowed to access or modify file: C:WINDOWSTEMPCB&I PreTrip #2010-002331492.pdf

Viewing 15 posts - 481 through 495 (of 4,249 total)