Open GoogleCodeExporter opened 8 years ago
[deleted comment]
Well that was easier than I imagined. I simply added another call to restore
the font after the dispatch of the PageEvent.ADDED and the issue was fixed. My
add
page event handler can modify the font and it is restored correctly.
dispatcher.dispatchEvent( new PageEvent ( PageEvent.ADDED, currentPage ) );
//Restore font again...
if ( family ) setFont ( family, style, size );
return page;
}
Original comment by elton%co...@gtempaccount.com
on 15 Sep 2009 at 6:41
Hi there,
The 0.1.5 is handling this natively now with a different approach, which would
work
perfectly with your case. Btw, you'll tell me here when the 0.1.5 RC will be
out and
test and let me know if it breaks something.
Thanks!
Thibault
Original comment by thibault.imbert
on 23 Jan 2010 at 10:28
Hello,
I am experiencing a similar issue using 0.1.5...
- I set my font to a bold font and the color to a gray.
- I make a call to the addMutliCell method, and the text I am displaying takes
2 pages.
- The output shows the correct font and color on the first page, but the 2nd
page doesn't have the bold font and the gray color.
Please advise on a solution.
Thanks.
Original comment by owah...@gmail.com
on 21 Jul 2010 at 11:01
Original issue reported on code.google.com by
elton%co...@gtempaccount.com
on 15 Sep 2009 at 6:11