You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ms...@apache.org on 2015/10/23 15:37:04 UTC
svn commit: r1710212 -
/pdfbox/cmssite/branches/jekyll-migration/content/2.0/migration.md
Author: msahyoun
Date: Fri Oct 23 13:37:04 2015
New Revision: 1710212
URL: http://svn.apache.org/viewvc?rev=1710212&view=rev
Log:
PDFBOX-3040: fix typos
Modified:
pdfbox/cmssite/branches/jekyll-migration/content/2.0/migration.md
Modified: pdfbox/cmssite/branches/jekyll-migration/content/2.0/migration.md
URL: http://svn.apache.org/viewvc/pdfbox/cmssite/branches/jekyll-migration/content/2.0/migration.md?rev=1710212&r1=1710211&r2=1710212&view=diff
==============================================================================
--- pdfbox/cmssite/branches/jekyll-migration/content/2.0/migration.md (original)
+++ pdfbox/cmssite/branches/jekyll-migration/content/2.0/migration.md Fri Oct 23 13:37:04 2015
@@ -54,7 +54,7 @@ TrueType fonts shall now be loaded using
~~~java
PDType0Font.load
-~~~~
+~~~
to leverage that.
@@ -75,7 +75,7 @@ In addition there are some specialized c
### Iterating Pages
With PDFBox 2.0.0 the prefered way to iterate through the pages of a document is
-~~java
+~~~java
for(PDPage page : document.getPages())
{
... (do something)
@@ -104,7 +104,7 @@ With PDFBox 2.0.0 `PDFPrinter` has been
Users of `PDFPrinter.silentPrint()` should now use this code:
-~~java
+~~~java
PrinterJob job = PrinterJob.getPrinterJob();
job.setPageable(new PDFPageable(document));
job.print();