Viewing 12 posts - 16 through 27 (of 27 total)
  • Author
    Posts
  • #27312

    Try to change tag to

    #27313

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

    #27314

    @Mohamed Fayek wrote:

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

    #27315

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

    #27316

    Any solution to display arabic text. I am facing the same problem. The characters are coming as ????. Although in my case the data I am passing through the StringReader as I am receiving the data from a WebService.

    #27317

    By default PD4ML converts to PDF characters, belong to Latin-1 charset only using built-in Adobe fonts (Helvetica, Times New Roman and Courier New). In order to output national or special characters you would need to configure and utilize TTF embedding feature. See:

    http://pd4ml.com/reference.htm#7.1
    pd4ml-html-css-pdf-tips-tricks-f7/ttf-embedding-t42.html
    http://pd4ml.com/cookbook/pd4ml_pdf_true_type_fonts.htm

    #27318

    If I execute the below codes i am getting PDF converter UI. It is not generating pd4fonts.properties and pd4browser.properties.

    Please help on this.

    create fonts/ directory (i.e /path/to/my/fonts/) and copy needed TTFs into it.
    run pd4font.properties generation command
    java -jar pd4ml.jar -configure.fonts /path/to/my/fonts/
    (as a result it should produce /path/to/my/fonts/pd4font.properties)
    reference /path/to/my/fonts/ directory from your Java/JSP/… code.

    #27319

    @PegaDev wrote:

    If I execute the below codes i am getting PDF converter UI. It is not generating pd4fonts.properties and pd4browser.properties.

    Please help on this.

    create fonts/ directory (i.e /path/to/my/fonts/) and copy needed TTFs into it.
    run pd4font.properties generation command
    java -jar pd4ml.jar -configure.fonts /path/to/my/fonts/
    (as a result it should produce /path/to/my/fonts/pd4font.properties)
    reference /path/to/my/fonts/ directory from your Java/JSP/… code.

    Here is the original command

    java -jar C:tomcatwebappsprwebWEB-INFlib/pd4ml.jar -configure.fonts C:tomcatFonts

    #27321

    ße

    #27323

    @PD4ML wrote:

    Please try to substitute your fonts jar with this one:
    http://pd4ml.com/i/allfonts.zip (34 MB!)

    unpack it and place fonts.jar to the classpath of your application (or to lib/ folder if any).
    Refer the fonts this way:
    pd4ml.useTTF(“java:fonts”, true);

    And make sure the HTML has a correct meta charset directive.

    Does it solve the problem?

    No it does not solve the problem

    #27322

    No it does not solve the problem

    If you are interested to get a support from us, please provide more details about the issue you faced with. There is a variety of reasons why some fonts are not rendered correctly.

Viewing 12 posts - 16 through 27 (of 27 total)

The forum ‘PD4ML Tips & Tricks’ is closed to new topics and replies.