pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Munn <and...@nmedia.net>
Subject Re: PDFBox 2.0.0 replacement for PDPageContentStream.drawString()?
Date Mon, 30 Mar 2015 22:09:33 GMT

This still hangs my app when running on linux:
cos.showText("some text");


thanks


On Mon, 30 Mar 2015, Andrew Munn wrote:

> 	
> In 2.0.0 what is the preferred way to do this?
> 
> PDPageContentStream cos = ...
> cos.moveTextPositionByAmount(x,y);
> cos.drawString("some text");
> 
> I see those two methods are both deprecated and the JavaDocs page is 
> missing.
> 
> Also, my app is hanging at the drawString() method when run on Linux but 
> works fine on Windows.  I'm thinking that's maybe font related?
> 
> Thanks
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message