in reply to Getting error in adding new font to the PDF document

Which line is 258?

Looking at the PDF::API2, it seems to me that the option to change encoding is -encode, not -encoding.

Replies are listed 'Best First'.
Re^2: Getting error in adding new font to the PDF document
by magarwal (Novice) on Apr 19, 2010 at 22:05 UTC
    Thanks for your reply.
    Even after changing the -encoding to -encode, I am getting the same error.
    Further, line 258 is,
    if($s->{Pref} > $self->{' mstable'}->{Pref}) { $self->{' mstable'} = $s; $found = 1; }
    My main problem is, though the font is visible in Windows machine, its not on MAC.

    Please let me know if there is any specific thing that I have to take care for it to be visible on MAC.
    Thanks,Manu