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 21:52:14 GMT
I was able to see in the index that drawString() was replaced by 
showText().

The links in the index are broken though:
http://pdfbox.apache.org/docs/2.0.0-SNAPSHOT/javadocs/index-all.html



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