PDF Generating Tool Support Forum

HOME   Login   Register    Search




Post a reply
Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are OFF
Disable BBCode
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the Board Administrator.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - TTF embedding
Post subject:  Re: TTF embedding
See viewtopic.php?f=3&t=81&p=3851#p3851
    Post Posted: 08 Aug 2016, 15:44
 
Post subject:  Re: TTF embedding
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:\tomcat\webapps\prweb\WEB-INF\lib/pd4ml.jar -configure.fonts C:\tomcat\Fonts
    Post Posted: 12 Jul 2016, 16:02
 
Post subject:  Re: TTF embedding
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.
    Post Posted: 12 Jul 2016, 15:57
 
Post subject:  Re: TTF embedding
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
    Post Posted: 23 Jun 2014, 10:40
 
Post subject:  Re: TTF embedding
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.
    Post Posted: 05 Jun 2014, 07:38
 
Post subject:  Re: TTF embedding
Please publish your updated JSP and a sample of its debug output.
    Post Posted: 17 Sep 2013, 11:42
 
Post subject:  Re: TTF embedding problem in displaying char Arabic
Mohamed Fayek wrote:
i tried this tag but still the problem exist and the Arabic character appear as ?????
    Post Posted: 14 Sep 2013, 08:33
 
Post subject:  Re: TTF embedding problem in displaying char Arabic
i tried this tag but still the problem exist and the Arabic character appear as ?????
    Post Posted: 14 Sep 2013, 07:34
 
Post subject:  Re: TTF embedding
Try to change <pd4ml:usettf> tag to
<pd4ml:usettf from="java:fonts"/>
    Post Posted: 12 Sep 2013, 13:49
 
Post subject:  Re: TTF embedding problem in Arabic char
Note:
i used this JAR with 3 fonts for serif, sansserif and monospaced types
http://pd4ml.com/i/easyfonts/fonts.jar (~2MB)

in webinf/lib
    Post Posted: 12 Sep 2013, 07:46
 


cron
Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share