srikrishnan has asked for the wisdom of the Perl Monks concerning the following question:

Hi all, I want to create simple pdf files. For this purpose, I am trying "PDF: +:Create" module. It works correctly. But one thing is, I am not able +to make bold or italic particular word in a sentence. Please anybody can help us to solve this problem by giving simple samp +les? for e.g. This is <bold>sample</bold> text with <italic>empasis</italic +>. in the above sentence "sample" should be converted to bold font and "e +mphasis" should be converted to italic font. Thanks in Advance, Srikrishnan

Replies are listed 'Best First'.
Re: Help on PDF::Create Module
by irah (Pilgrim) on Mar 04, 2009 at 11:10 UTC

    Use PDF::API2 module.

    In this module, the method synfont have the option to specify the string will be bold or not.

      Thanks for your suggestion I will try this new module Thanks a lot, Srikrishnan