in reply to Re^2: PDF::ReportWriter Custom fonts
in thread PDF::ReportWriter Custom fonts

Ahh ... yeah I don't see that in the source for PDF::ReportWriter; however, it looks like you could probably access the PDF::API2 object and use it's ttffont method but that's not going to be fun.

-derby

Replies are listed 'Best First'.
Re^4: PDF::ReportWriter Custom fonts
by manua (Novice) on Feb 15, 2010 at 17:36 UTC
    I also thought of doing the same, but I ahve only one pdf object (created from PDF::ReportWriter), so how can i access the object of PDF::API2 and use it here to modify the fonts in this report object.

    Actually, my aim is to get a table in the landscape view with my custom fonts. With PDF::API2, I am able to use the custom fonts, but having issues with table in landscape view. With the page rotation, do you have any idea how can i rotate the table as well.

        my $rpt_writer = PDF::ReportWriter->new( ... ); my $pdf_api2 = $rpt_writer->{pdf};

        -derby