Forum Replies Created

Viewing 15 posts - 2,476 through 2,490 (of 4,249 total)
  • Author
    Posts
  • in reply to: TTF embedding
    #27313

    i tried this tag but still the problem exist and the Arabic character appear as ?????

    in reply to: TTF embedding
    #27314

    @Mohamed Fayek wrote:

    i tried this tag but still the problem exist and the Arabic character appear as ?????

    in reply to: TTF embedding
    #27315

    Please publish your updated JSP and a sample of its debug output.

    in reply to: Troubleshooting
    #26870

    We are using pdf4ml for generating pdf files in our rails application. The way we are calling it is as following:

    # build & execute the shell command.

    cmd = “java -Xms32m -Xmx128m -jar #{File.dirname(__FILE__)}/#{JAR} file:#{infile} #{outfile}”

    puts cmd

    #{cmd}

    This is called through shell command with all relevant paths included in command. This was running fine since we shifted our app to new our server which is a centos and having java version 7.40. the problem that we are facing on our new server is that when a instance of pdf creation command is used, the java process spikes up the server load and the entire application is down. We can not even open a page in that case. We had reviewed the java pids and found generating following error:

    futex(0x7f864824be28, FUTEX_WAKE_PRIVATE, 1) = 0
    futex(0x7f864824be54, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, {1379527706, 891077000}, ffffffff) = -1 ETIMEDOUT (Connection timed out)

    and when the java process is not there the server runs perfectly. We do not have memory issues on our server, every time approximately 2 GB memory is free. We are unable to find a possible reason for this issue so far. The application is running on following software:

    1. Apache/2.2.24

    2. Mysql : Server version: 5.5.30-cll

    3. Rails 2.3.17

    4. ruby 1.8.7 (2012-06-29 patchlevel 370) [x86_64-linux]

    5. thin 1.4.1 codename Chromeo

    thanks

    in reply to: HTML/CSS rendering issues
    #26871

    pd4ml 3.8.5fx1 embedded jar
    Windows 7 64 bit
    java 1.6.0_38

    When Running html with an hr tag through the new version of pd4ml for RTF output, I’m seeing RTF codes leaking into the document view. When looking into the RTF file, I’m seeing escaped tags all over.

    Example:
    <html><br /> <head/><br /> <body><br /> <hr>Disentigrating Fibrous Perforated Squares</hr><br /> </body><br /> </html><br />

    Results in:
    <br /> ...<br /> {{\line{\*\shppict<br /> ...<br />

    In the file. The Document View looks similar.

    in reply to: Raw RTF Tags in Viewable Content for HR tags
    #29391

    The problem is known (impacts only v385fx1) and already solved in the dev build. It will take about a week to release.

    in reply to: HTML/CSS rendering issues
    #26872

    Hi All:

    My page renders fine with the font-awesome icons on the web but the resulting PDF generated from the same page does not include the icons. Guessing there should be some way for me to locate the font-awesome stylesheet somewhere so that PD4ML can find it during PDF generation.

    Anyone been able to do that or maybe could point me in the right direction?

    in reply to: Anybody have a way to include font-awesome icons in the PDF?
    #29392

    Make sure you use PD4ML Pro (or a derived volume license) and utilize TTF Embedding feature:

    http://pd4ml.com/cookbook/pd4ml_pdf_true_type_fonts.htm

    in reply to: td border is not displayed.
    #29201

    @PD4ML wrote:

    Try to add some content to the row cell:

    [language=xml:eoetxlgi]

     

    [/language:eoetxlgi]

    Otherwise it optimises the table and ignores rows with no content.

    while solid change to dashed,it doesn’t work

    in reply to: HTML/CSS rendering issues
    #26873

    in documentation the attribute “pageBackgroundImageUrl” of header tag is working from Pro version..i am working on pd4ml.pro.trial.385fx1…it is not working in this version also…pls help me to work on that attribute .if possible pls post a sample app.

    in reply to: HTML/CSS rendering issues
    #26874

    Hi ,

    We are having a hyperlink which has query parameters passed in it like http://ww.google.com?username=test&password=1234 and the link works perfectly when we render the HTML and when PDF is produced from the HTML the link is encoded to http://ww.google.com?username=test&password=1234 .The & symbol is replaced with &.Can someone let me know how to bypass it.

    Thanks In Advance

    in reply to: Hyperlink with & are converted to &amp;..How to by-pass it
    #29396

    Which PD4ML do you currently use? I tested with the most recent one – no such probs.

    in reply to: pageBackgroundImageUrl attribute not working in header tag
    #29395

    Try to switch debug info on (pd4ml.enableDebugInfo() or debug=”true” attibute of a custom JSP transform tag), collect and publish its output. Also please publish here a PDF sample with a not applied background image.

    in reply to: HTML/CSS rendering issues
    #26875

    I’ve discovered that images with a # symbol in the URL don’t render in PD4ML, while they do render in web browsers. This happens on both Mac OS X and Windows. You can test this with the following:

    1. Place an image in a folder with a # sign in it. For instance, “~/Desktop/#Test/Test.jpg” (Mac OS X) or “Users/[Name]/Desktop/#Test/Test.jpg” (Windows).

    2. Run the following Java code:

    PD4ML pd4ml = new PD4ML();<br /> String portraitPath = System.getProperty("user.home") + File.separator + "Desktop" + File.separator + "#Test" + File.separator + "Test.jpg";<br /> portraitPath = new File(portraitPath).toURI().toString();<br /> String outputHTML = "<html><body><img src="" + portraitPath + "" /></body></html>";<br /> FileOutputStream fos = new FileOutputStream(new File(System.getProperty("user.home") + "/Desktop/Test.pdf"));<br /> pd4ml.render(new StringReader(outputHTML), fos);<br />
    The result will be an empty PDF. If you change the directory from “#Test” to “Test”, both in the code and in the file system, the portrait will appear properly.

    in reply to: HTML/CSS rendering issues
    #26876

    I am trying to resize an image using the max-height and max-width CSS properties, but it doesn’t seem to be working. Images always appear at their original size. Below is a sample test case:

    <html><br /> <style><br /> img {<br /> max-width: 100px;<br /> max-height: 100px;<br /> }<br /> </style><br /> <html><br /> <body><br /> <img src="https://www.google.com/images/srpr/logo11w.png" /><br /> </body><br /> </html>
    Is this not supported or am I doing something wrong? And if it is not supported, is there an estimated time for when it will be supported?

Viewing 15 posts - 2,476 through 2,490 (of 4,249 total)