This is an automated email from the ASF dual-hosted git repository. lehmi pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/pdfbox-docs.git
The following commit(s) were added to refs/heads/asf-site by this push: new d5132eb2 Site checkin for project Apache PDFBox Website d5132eb2 is described below commit d5132eb2599827d1df522523b7fc8b4659b2a4b8 Author: Andreas Lehmkühler <andr...@lehmi.de> AuthorDate: Wed Sep 27 08:21:09 2023 +0200 Site checkin for project Apache PDFBox Website --- content/2.0/getting-started.html | 13 ------------- content/3.0/getting-started.html | 13 ------------- content/3.0/migration.html | 2 +- content/support.html | 6 +++--- 4 files changed, 4 insertions(+), 30 deletions(-) diff --git a/content/2.0/getting-started.html b/content/2.0/getting-started.html index 503a11c7..1c76aa3c 100644 --- a/content/2.0/getting-started.html +++ b/content/2.0/getting-started.html @@ -130,16 +130,6 @@ <h2 id="maven" tabindex="-1">Maven</h2> <p>To use the latest release you'll need to add the following dependency:</p> <pre class="language-xml"><code class="language-xml"><span class="token tag"><span class="token tag"><span class="token punctuation"><</span>dependency</span><span class="token punctuation">></span></span><br> <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>groupId</span><span class="token punctuation">></span></span>org.apache.pdfbox<span class="token tag"><span class="token tag"><span class="token punctuation"></</span>groupId</span><sp [...] -<h2 id="pdfbox-and-java-8" tabindex="-1">PDFBox and Java 8</h2> -<p class="alert alert-warning">Important notice when using PDFBox with Java 8 before 1.8.0_191 or Java 9 before 9.0.4</p> -<p>Due to the change of the java color management module towards "LittleCMS", users can experience slow performance in color operations. -A solution is to disable LittleCMS in favor of the old KCMS (Kodak Color Management System) by:</p> -<ul> -<li>Starting with <code>-Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider</code> or</li> -<li>Calling <code>System.setProperty("sun.java2d.cmm", "sun.java2d.cmm.kcms.KcmsServiceProvider")</code></li> -</ul> -<p>Sources: -https://bugs.openjdk.java.net/browse/JDK-8041125</p> <h2 id="rendering-performance" tabindex="-1">Rendering Performance</h2> <p class="alert alert-info">Since PDFBox 2.0.4</p> <p>PDFBox 2.0.4 introduced a new command line setting</p> @@ -160,9 +150,6 @@ https://bugs.openjdk.java.net/browse/JDK-8041125</p> <li><a href="#maven">Maven</a> </li> - <li><a href="#pdfbox-and-java-8">PDFBox and Java 8</a> - </li> - <li><a href="#rendering-performance">Rendering Performance</a> </li> </ol> diff --git a/content/3.0/getting-started.html b/content/3.0/getting-started.html index ce95ff5e..f00b955d 100644 --- a/content/3.0/getting-started.html +++ b/content/3.0/getting-started.html @@ -113,16 +113,6 @@ <h2 id="maven" tabindex="-1">Maven</h2> <p>To use the latest release you'll need to add the following dependency:</p> <pre class="language-xml"><code class="language-xml"><span class="token tag"><span class="token tag"><span class="token punctuation"><</span>dependency</span><span class="token punctuation">></span></span><br> <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>groupId</span><span class="token punctuation">></span></span>org.apache.pdfbox<span class="token tag"><span class="token tag"><span class="token punctuation"></</span>groupId</span><sp [...] -<h2 id="pdfbox-and-java-8" tabindex="-1">PDFBox and Java 8</h2> -<p class="alert alert-warning">Important notice when using PDFBox with Java 8 before 1.8.0_191 or Java 9 before 9.0.4</p> -<p>Due to the change of the java color management module towards "LittleCMS", users can experience slow performance in color operations. -A solution is to disable LittleCMS in favor of the old KCMS (Kodak Color Management System) by:</p> -<ul> -<li>Starting with <code>-Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider</code> or</li> -<li>Calling <code>System.setProperty("sun.java2d.cmm", "sun.java2d.cmm.kcms.KcmsServiceProvider")</code></li> -</ul> -<p>Sources: -https://bugs.openjdk.java.net/browse/JDK-8041125</p> <h2 id="rendering-performance" tabindex="-1">Rendering Performance</h2> <p class="alert alert-info">Since PDFBox 2.0.4</p> <p>PDFBox 2.0.4 introduced a new command line setting</p> @@ -143,9 +133,6 @@ https://bugs.openjdk.java.net/browse/JDK-8041125</p> <li><a href="#maven">Maven</a> </li> - <li><a href="#pdfbox-and-java-8">PDFBox and Java 8</a> - </li> - <li><a href="#rendering-performance">Rendering Performance</a> </li> </ol> diff --git a/content/3.0/migration.html b/content/3.0/migration.html index 24e41825..e14f15ac 100644 --- a/content/3.0/migration.html +++ b/content/3.0/migration.html @@ -216,7 +216,7 @@ as they are treated to be of <strong>internal use only</strong>.</p> <p>If a file is provided as source PDFBox uses <code>org.apache.pdfbox.io.RandomAccessReadBufferedFile</code> to wrap the source data using the in-memory cache as described above.</p> <h3 id="changes-when-saving-pdf" tabindex="-1">Changes when saving PDF</h3> <h4 id="compressed-saving-by-default" tabindex="-1">Compressed saving by default</h4> -<p>When saving a PDF this will now be done in compressed mode by default. To override that use <code>PDDocument.save</code> with <code>CompressParameters.NO_COMPRESSION</code>.</p> +<p>When saving a PDF this will now be done in compressed mode by default. To override that (e.g. if you want to create a PDF/A-1b document) use <code>PDDocument.save</code> with <code>CompressParameters.NO_COMPRESSION</code>.</p> <h4 id="don't-use-the-source-as-output" tabindex="-1">Don't use the source as output</h4> <p>The input file must not be used as output for saving operations. It will corrupt the file and throw an exception as parts of the file are read the first time when saving it.</p> <h3 id="reduced-memory-usage" tabindex="-1">Reduced memory usage</h3> diff --git a/content/support.html b/content/support.html index 4acf7eea..e186669d 100644 --- a/content/support.html +++ b/content/support.html @@ -162,7 +162,7 @@ <p class="alert alert-info">Please refrain from immediately opening a ticket in the JIRA issue tracker unless you are really certain it's a problem in the PDFBox software. Try using the Mailing Lists first.</p> <p>If you are sure you have found a bug then please report the problem in our -<a href="https://issues.apache.org/jira/browse/PDFBOX">JIRA Issue Tracker</a>.</p> +<a href="https://issues.apache.org/jira/browse/PDFBOX">JIRA Issue Tracker</a>. If you have to <a href="https://selfserve.apache.org/jira-account.html">request a JIRA account</a>, then mention some details about your problem so that we know you're not a spammer.</p> <p><strong>Before you submit a bug there are several things you can try first</strong></p> <ul> <li>For issues with text extraction try if Adobe Reader can extract the text</li> @@ -174,7 +174,7 @@ you are really certain it's a problem in the PDFBox software. Try using the Mail <ul> <li>Attach the PDF that makes trouble by using "More", "Attach files" in the JIRA issue tracker</li> <li>If your file is too large, upload it to a sharehoster, or use the PDFSplit application to isolate the troublesome page</li> -<li>Mention the PDFBox version you are using.</li> +<li>Mention the PDFBox and Java versions you are using.</li> <li>Attach the shortest possible code that reproduces the problem. Insert java code between {code}...{code}. Or try to reproduce the problem with the command-line applications.</li> <li>Mention what you were doing, what was the expected behaviour, and what happened instead</li> <li>Provide a stack trace of an exception if there is one</li> @@ -185,7 +185,7 @@ you are really certain it's a problem in the PDFBox software. Try using the Mail <li>Upload files to a host that requires registration to read the file.</li> <li>Create an issue in the JIRA issue tracker and then go on vacation so you won't repond to our questions / suggestions.</li> <li>Ask "how to" questions in the JIRA issue tracker. Ask such questions on the mailing lists, on stackoverflow.com, and look at the sample and the test code in the sources.</li> -<li>Attach PDF files with confidential and/or personal data (name, DoB, bank data, health data, SSN) without getting permission from the client and/or the people mentioned on the PDF</li> +<li>Attach PDF files with confidential and/or personal data (name, DoB, bank data, health data, SSN, photograph) without getting permission from the client and/or the people mentioned on the PDF</li> <li>Create issues about obsolete PDFBox versions</li> </ul> <p class="alert alert-info">We can sometimes solve problems without having the PDF, but it is difficult.</p>