Repository: pdfbox-docs Updated Branches: refs/heads/asf-site 342db7008 -> 3f63578ab
Site checkin for project Apache PDFBox Website Project: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/commit/3f63578a Tree: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/tree/3f63578a Diff: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/diff/3f63578a Branch: refs/heads/asf-site Commit: 3f63578ab200f5e469849855947a637098a5a98c Parents: 342db70 Author: Maruan Sahyoun <sahy...@fileaffairs.de> Authored: Mon Jul 18 08:32:05 2016 +0200 Committer: Maruan Sahyoun <sahy...@fileaffairs.de> Committed: Mon Jul 18 08:32:05 2016 +0200 ---------------------------------------------------------------------- content/2.0/migration.html | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3f63578a/content/2.0/migration.html ---------------------------------------------------------------------- diff --git a/content/2.0/migration.html b/content/2.0/migration.html index c2a7b86..6f0e4be 100644 --- a/content/2.0/migration.html +++ b/content/2.0/migration.html @@ -200,6 +200,8 @@ results when switching to PDFBox 2.0.0.</p> <p>to leverage that.</p> +<p><code class="highlighter-rouge">PDAfmPfbFont</code> has been removed. To load such a font pass the pfb file to <code class="highlighter-rouge">PDType1Font</code>. Loading the afm file is no longer required.</p> + <h3 id="pdf-resources-handling">PDF Resources Handling</h3> <p>The individual calls to add resources such as <code class="highlighter-rouge">PDResources.addFont(PDFont font)</code> and <code class="highlighter-rouge">PDResources.addXObject(PDXObject xobject, String prefix)</code> have been replaced with <code class="highlighter-rouge">PDResources.add(resource type)</code> where <code class="highlighter-rouge">resource type</code> represents the different resource classes such as <code class="highlighter-rouge">PDFont</code>, <code class="highlighter-rouge">PDAbstractPattern</code>