Page 1 of 1

Chopped Footers and only Calibri Fonts in output pdf

PostPosted: Thu Mar 20, 2014 8:30 pm
by vasudha
Hi, I am using docx4j 3.0.1 to convert docx to pdf. I have 7 liner footer and font used is docx is 'Garamond'. The issue is, in the PDF
sampledoc.docx.pdf
This is output
(19.16 KiB) Downloaded 389 times
last two lines of footer are not being displayed; however when I increase Footer from botton field in doc, I get to faintly see second last line of footer. Another thing is fonts in PDF are calibri, no matter what font is used in docx.

How to resolve this?
Thanks in advance.

Re: Chopped Footers and only Calibri Fonts in output pdf

PostPosted: Sat Mar 22, 2014 12:58 pm
by jason
As you may have noticed from another recent thread, I'm looking into header/footer handling for a customer of my company, so a fix for your "chopped footer" is likely over the next couple of days.

Re: Chopped Footers and only Calibri Fonts in output pdf

PostPosted: Sun Mar 23, 2014 8:30 pm
by jason
The "chopped" issue is now fixed (at GitHub). Nightly build to follow.

The fonts work fine for me. (Garamond in the body, Calibri in the footer). Maybe you're using a regex excluding Garamond?

Re: Chopped Footers and only Calibri Fonts in output pdf

PostPosted: Mon Mar 24, 2014 12:51 pm
by jason

Re: Chopped Footers and only Calibri Fonts in output pdf

PostPosted: Mon Mar 24, 2014 3:49 pm
by vasudha
Thanks ! Yes. I was putting incorrect filename for Garamond in regex. And the problem with footers is also solved. Thank you :)