Path

ez projects / paradoxpdf / forum / general / fonts not found / re: fonts not found


fonts not found

You need to be logged in to post messages in the forums. New users may register here.

andre müller

Member since:
09 January 2008

Posts: 5

Tuesday 16 March 2010 11:13:02 pm

sorry - this is not a problem with the extension, but with my server setup. i get the following error messages:

[ Mar 16 2010 22:03:48 ] Failed executing command : /usr/bin/java -Djava.awt.headless=true -Dxr.util-logging.loggingEnabled=true -jar /var/www/vhosts/archidock.com/httpdocs/beta/extension/paradoxpdf/bin/paradoxpdf.jar /var/www/vhosts/archidock.com/httpdocs/beta/var/paradoxpdf/8e6b863441b3f8e89b2ec0cbbf378700.xhtml /var/www/vhosts/archidock.com/httpdocs/beta/var/paradoxpdf/8e6b863441b3f8e89b2ec0cbbf378700.pdf 2>&1 ,
Output : Exception in thread "main" java.lang.Error: Probable fatal error:No fonts found.
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1088)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
...

thanks for a hint on how i can solve this..
Up

Karnichi Mohamed

Member since:
11 February 2008

Posts: 72

Tuesday 16 March 2010 11:30:18 pm

Hi Andre

Take a look to this post http://projects.ez.no/paradoxpdf/forum/general/special_characters

the font file should be relative to your css file just like css background-images

if you still have a problem try to post the :
- css part where you declare the font
- css part where you apply the font

also check file persmission of the font files.

http://www.amiralweb.com Certified eZPublish Expert

Up

andre müller

Member since:
09 January 2008

Posts: 5

Wednesday 17 March 2010 12:18:43 am

thanks mohamed!

in that topic you wrote:
The renderer will not embed any font unless it wasn't applied on html elements; So make sure first that your design works in firefox, by commenting the paradoxpdf operator call on your pagelayout template. Then when every thing looks fine, enable the paradoxpdf operator call on your template;

in /override/paradox_pagelayout i did {*paradoxpdf($paradoxpdf_params)*}
and i get a blank page. is this normal? should i not see the xhtml page then?

and if the font is not found, is there not fallback system font?
i ask this, becuase i suspect, that my jre installation is buggy..
Up

Karnichi Mohamed

Member since:
11 February 2008

Posts: 72

Wednesday 17 March 2010 10:48:41 pm

For showing html on your browsery you have to comment



{*set-block variable=$xhtml*}


 

{*/set-block*}


 

and


 

{*paradoxpdf($paradoxpdf_params)*}




I plan to make it simpler in the next release

Try to reinstall java jre. And please read paradoxpdf documentation.

If you still have problem Could you post
- css part where you declare the font
- css part where you apply the font

thanks

http://www.amiralweb.com Certified eZPublish Expert

Up

You need to be logged in to post messages in the forums. New users may register here.