PDF Generating Tool Support Forum
HOME
Login
Register
Search
Board index
>
PD4ML Tips & Tricks
TTF embedding
Previous topic
|
Next topic
Subject:
Re: TTF embedding
PD4ML
Posted:
28 Jan 2013, 18:06
Here are good starting points:
http://pd4ml.com/reference.htm#7.1
http://pd4ml.com/cookbook/pd4ml_pdf_true_type_fonts.htm
[Quote]
Subject:
i have problem with arabic i used
Mohamed Fayek
Posted:
11 Sep 2013, 09:16
i have problem with arabic i used
<pd4ml:transform screenWidth="400"
pageFormat="A5"
pageOrientation="landscape"
debug="true"
pageInsets="100,100,100,100,points" >
<pd4ml:usettf from="java:fonts" serif="Times New Roman" sansserif="Arial" monospace="Courier New"/>
<pd4ml:usettf from="C:/fonts"/>
</pd4ml:transform>
but the arabic appear with ???? why can any one help me
[Quote]
Subject:
Re: TTF embedding
PD4ML
Posted:
11 Sep 2013, 12:11
You defined debug="true" attribute. That means PD4ML prints to server's log TTF loading diagnostics.
Can it lookup requested fonts? Can it load them? The log output should help to determine the problem reason.
[Quote]
Subject:
Re: TTF embedding the log output of the problem
Mohamed Fayek
Posted:
12 Sep 2013, 07:23
13/09/13 04:19:59 version: PD4ML 381fx1 Pro DMS
13/09/13 04:19:59 loading CSS file file:/dp/jsps/css_ar/reset.css
13/09/13 04:19:59 not yet in cache: file:/dp/jsps/css_ar/reset.css
13/09/13 04:19:59 Loading via HTTP Request dispatcher: /dp/jsps/css_ar/reset.css
13/09/13 04:19:59 Using URL without web application name: /jsps/css_ar/reset.css
13/09/13 04:19:59 RequestDispatcher.include() returned 6721 bytes: html, body, div, span, applet, object, i
13/09/13 04:19:59 loading CSS file file:/dp/jsps/css_ar/template.css?<?=time()?>
13/09/13 04:19:59 not yet in cache: file:/dp/jsps/css_ar/template.css?<?=time()?>
13/09/13 04:19:59 Loading via HTTP Request dispatcher: /dp/jsps/css_ar/template.css?<?=time()?>
13/09/13 04:19:59 Using URL without web application name: /jsps/css_ar/template.css?<?=time()?>
13/09/13 04:19:59 RequestDispatcher.include() returned 62208 bytes: body {
text-align: center;
mar
13/09/13 04:19:59 loading CSS file file:/dp/jsps/css_ar/black.css
13/09/13 04:19:59 not yet in cache: file:/dp/jsps/css_ar/black.css
13/09/13 04:19:59 Loading via HTTP Request dispatcher: /dp/jsps/css_ar/black.css
13/09/13 04:19:59 Using URL without web application name: /jsps/css_ar/black.css
13/09/13 04:19:59 RequestDispatcher.include() returned 3364 bytes: body.black #outer_wrapper {
backgro
13/09/13 04:19:59 loading CSS file file:/dp/jsps/css_ar/calender.css
13/09/13 04:19:59 not yet in cache: file:/dp/jsps/css_ar/calender.css
13/09/13 04:19:59 Loading via HTTP Request dispatcher: /dp/jsps/css_ar/calender.css
13/09/13 04:19:59 Using URL without web application name: /jsps/css_ar/calender.css
13/09/13 04:19:59 RequestDispatcher.include() returned 1908 bytes: .calender {
width: 220px;
/*he
13/09/13 04:19:59 loading CSS file file:/dp/jsps/css_ar/ui.selectmenu.css
13/09/13 04:19:59 not yet in cache: file:/dp/jsps/css_ar/ui.selectmenu.css
13/09/13 04:19:59 Loading via HTTP Request dispatcher: /dp/jsps/css_ar/ui.selectmenu.css
13/09/13 04:19:59 Using URL without web application name: /jsps/css_ar/ui.selectmenu.css
13/09/13 04:19:59 RequestDispatcher.include() returned 2008 bytes: /* Selectmenu
-------------------------
13/09/13 04:19:59 loading CSS file file:/dp/jsps/css_ar/jquery-ui-1.8.6.custom.css
13/09/13 04:19:59 not yet in cache: file:/dp/jsps/css_ar/jquery-ui-1.8.6.custom.css
13/09/13 04:19:59 Loading via HTTP Request dispatcher: /dp/jsps/css_ar/jquery-ui-1.8.6.custom.css
13/09/13 04:19:59 Using URL without web application name: /jsps/css_ar/jquery-ui-1.8.6.custom.css
13/09/13 04:19:59 RequestDispatcher.include() returned 18640 bytes: .ui-helper-hidden { display: none; }
.u
13/09/13 04:19:59 loading CSS file file:/dp/jsps/css_ar/datePicker.css
13/09/13 04:19:59 not yet in cache: file:/dp/jsps/css_ar/datePicker.css
13/09/13 04:19:59 Loading via HTTP Request dispatcher: /dp/jsps/css_ar/datePicker.css
13/09/13 04:19:59 Using URL without web application name: /jsps/css_ar/datePicker.css
13/09/13 04:19:59 RequestDispatcher.include() returned 2724 bytes:
table.jCalendar {
border: 1px soli
13/09/13 04:19:59 loading CSS file file:/dp/jsps/css_ar/jquery.autocomplete.css
13/09/13 04:19:59 not yet in cache: file:/dp/jsps/css_ar/jquery.autocomplete.css
13/09/13 04:19:59 Loading via HTTP Request dispatcher: /dp/jsps/css_ar/jquery.autocomplete.css
13/09/13 04:19:59 Using URL without web application name: /jsps/css_ar/jquery.autocomplete.css
13/09/13 04:19:59 RequestDispatcher.include() returned 858 bytes: .ac_results {
padding: 0px;
border:
13/09/13 04:19:59 loading CSS file file:/dp/jsps/css_ar/jquery.autocomplete.css
13/09/13 04:19:59 not yet in cache: file:/dp/jsps/css_ar/jquery.autocomplete.css
13/09/13 04:19:59 Loading via HTTP Request dispatcher: /dp/jsps/css_ar/jquery.autocomplete.css
13/09/13 04:19:59 Using URL without web application name: /jsps/css_ar/jquery.autocomplete.css
13/09/13 04:19:59 RequestDispatcher.include() returned 858 bytes: .ac_results {
padding: 0px;
border:
13/09/13 04:19:59 looping inclusions found: file:/dp/jsps/css_ar/jquery.autocomplete.css
13/09/13 04:19:59 loading CSS file file:/dp/jsps/css_ar/keyboard.css
13/09/13 04:19:59 not yet in cache: file:/dp/jsps/css_ar/keyboard.css
13/09/13 04:19:59 Loading via HTTP Request dispatcher: /dp/jsps/css_ar/keyboard.css
13/09/13 04:19:59 Using URL without web application name: /jsps/css_ar/keyboard.css
13/09/13 04:19:59 RequestDispatcher.include() returned 7223 bytes: #keyboardInputMaster {
position:absol
13/09/13 04:20:00 image not yet in cache: file:D:/isoft/projects/DPINT/src/web-online/public_html/
13/09/13 04:20:00 image size: 7242
13/09/13 04:20:00 image size: 7242
13/09/13 04:20:00 image type of file:D:/isoft/projects/DPINT/src/web-online/public_html/ is unknown/unsupported.
13/09/13 04:20:00 can not load image: ../
13/09/13 04:20:00 image not yet in cache: file:D:/isoft/projects/DPINT/src/web-online/public_html/Images/Button_default_hover.gif
13/09/13 04:20:00 image file:D:/isoft/projects/DPINT/src/web-online/public_html/Images/Button_default_hover.gif has zero length.
13/09/13 04:20:00 can not load image: file:D:/isoft/projects/DPINT/src/web-online/public_html/Images/Button_default_hover.gif
13/09/13 04:20:00 done in 1072ms.
[Quote]
Subject:
Re: TTF embedding problem in Arabic char
Mohamed Fayek
Posted:
12 Sep 2013, 07:46
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
[Quote]
Subject:
Re: TTF embedding
PD4ML
Posted:
12 Sep 2013, 13:49
Try to change <pd4ml:usettf> tag to
<pd4ml:usettf from="java:fonts"/>
[Quote]
Subject:
Re: TTF embedding problem in displaying char Arabic
Mohamed Fayek
Posted:
14 Sep 2013, 07:34
i tried this tag but still the problem exist
and the Arabic character appear as ?????
[Quote]
Subject:
Re: TTF embedding problem in displaying char Arabic
Guest
Posted:
14 Sep 2013, 08:33
Mohamed Fayek wrote:
i tried this tag but still the problem exist and the Arabic
character appear as ?????
[Quote]
Subject:
Re: TTF embedding
PD4ML
Posted:
17 Sep 2013, 11:42
Please publish your updated JSP and a sample of its debug output.
[Quote]
Subject:
Re: TTF embedding
dhavaln
Posted:
05 Jun 2014, 07:38
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.
[Quote]
[Reply]
Page
2
of
3
[ 27 posts ]
Go to page
Previous
1
,
2
,
3
Next
Copyright ©2004-10 zefer|org. All rights reserved.