Open GoogleCodeExporter opened 9 years ago
Same here..
Can't make it work either
Original comment by ric.rodr...@gmail.com
on 7 Apr 2009 at 1:52
Hi. Don't know if this has been resolved or not... I got your example to work
by
injecting these two lines of code before the call to 'addGrid'
myPDF.addPage(new Page(Orientation.PORTRAIT, Unit.MM, Size.A4));
myPDF.setFont(FontFamily.TIMES, Style.NORMAL, 12);
I spent some time looking at the source of PDF. Seems like there's a null
pointer
related to the font somewhere if you dont set it... but I dont know :)
Original comment by david.ka...@gmail.com
on 22 Jun 2009 at 3:17
Oh and also: I saved the PDF using:
var b:ByteArray = myPDF.save(Method.LOCAL);
var f:FileReference = new FileReference();
f.save(b,"default.pdf");
in case this somehow matters :P
Original comment by david.ka...@gmail.com
on 22 Jun 2009 at 3:21
thank you very much for your help
it is working now
i don't know how to thank you, you saved me a lot of time
Original comment by jham...@gmail.com
on 15 Aug 2009 at 4:26
Original issue reported on code.google.com by
jham...@gmail.com
on 4 Apr 2009 at 9:41Attachments: