Re: RE: Wide character in print error

"Mr. Shawn H. Corey" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.pdfapi2
Message-ID <[email protected]>
Tim Turner wrote:
>  
> It was not those characters or unicode. It's something with the ttfont()
> loading some font files I uploaded to the server.  Regardless I am not
> getting the wide character error anymore.  The PDF can be generated using
> the corefonts just fine, with one exception....using "text" calls displays
> nothing in the document.
> 
> # these types of lines display no text in the PDF
> 	$txt = $page->text ;             
> 	$txt->font($headerfont, 18);
> 	$txt->text_center("Your Assumptions are listed here for
> ACME$trademark ");
> 
> # all of the gfx label calls like this one work fine
> 	$gfx->textlabel(0.5*72,8.4*72,$headerfont,12,"Some text to print");
> 
> I'm wondering if we're missing a module or something.  The text calls are
> not working even when using the corefonts i.e. Helvetica.  The gfx calls
> work fine using the same fonts as the text calls.
> 
> No errors are showing in the error log with regards to this.

It's far more likely that you are printing off the bottom of the page. 
I can't say for sure until I see more of your code.


-- 
Just my 0.00000002 million dollars worth,
    Shawn

"For the things we have to learn before we can do them, we learn by 
doing them."
   Aristotle
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.