This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/main by this push:
     new 09bd9a40d7 Remove native workaround from FOP extension docs
09bd9a40d7 is described below

commit 09bd9a40d76ee47a84f6f3d80080d5e101370f38
Author: Lukas Lowinger <[email protected]>
AuthorDate: Mon Aug 18 16:45:16 2025 +0200

    Remove native workaround from FOP extension docs
---
 .../ROOT/pages/reference/extensions/fop.adoc       |  9 +------
 .../fop/runtime/src/main/doc/limitations.adoc      |  9 +------
 .../fop/PDFRendererOptionsConfigSubstitution.java  | 31 ----------------------
 3 files changed, 2 insertions(+), 47 deletions(-)

diff --git a/docs/modules/ROOT/pages/reference/extensions/fop.adoc 
b/docs/modules/ROOT/pages/reference/extensions/fop.adoc
index 2e0b655b51..533d26a7ba 100644
--- a/docs/modules/ROOT/pages/reference/extensions/fop.adoc
+++ b/docs/modules/ROOT/pages/reference/extensions/fop.adoc
@@ -48,14 +48,7 @@ endif::[]
 == Camel Quarkus limitations
 
 While you can use any of the available output types in JVM mode, only PDF 
output type is supported
-in native mode. PDF output type in native mode has several limitations:
-
-* Default sRGB color space is always disabled because of 
https://github.com/oracle/graal/issues/2850[Graal VM issue #2850]
-and `disable-srgb-colorspace` 
https://xmlgraphics.apache.org/fop/2.1/configuration.html[FOP configuration 
property] is
-ignored.
-
-* If custom fonts are used, font cache has to be disabled because of 
https://github.com/oracle/graal/issues/460[Graal VM issue #460].
-Please set the https://xmlgraphics.apache.org/fop/2.1/configuration.html[FOP 
configuration property] `use-cache` to `false`.
+in native mode.
 
 Please file an https://github.com/apache/camel-quarkus/issues/new[issue] if 
you are missing some specific output format
 in native mode.
diff --git a/extensions/fop/runtime/src/main/doc/limitations.adoc 
b/extensions/fop/runtime/src/main/doc/limitations.adoc
index 8a2fbf9dff..494a225f3f 100644
--- a/extensions/fop/runtime/src/main/doc/limitations.adoc
+++ b/extensions/fop/runtime/src/main/doc/limitations.adoc
@@ -1,12 +1,5 @@
 While you can use any of the available output types in JVM mode, only PDF 
output type is supported
-in native mode. PDF output type in native mode has several limitations:
-
-* Default sRGB color space is always disabled because of 
https://github.com/oracle/graal/issues/2850[Graal VM issue #2850]
-and `disable-srgb-colorspace` 
https://xmlgraphics.apache.org/fop/2.1/configuration.html[FOP configuration 
property] is
-ignored.
-
-* If custom fonts are used, font cache has to be disabled because of 
https://github.com/oracle/graal/issues/460[Graal VM issue #460].
-Please set the https://xmlgraphics.apache.org/fop/2.1/configuration.html[FOP 
configuration property] `use-cache` to `false`.
+in native mode.
 
 Please file an https://github.com/apache/camel-quarkus/issues/new[issue] if 
you are missing some specific output format
 in native mode.
diff --git 
a/extensions/fop/runtime/src/main/java/org/apache/camel/quarkus/component/fop/PDFRendererOptionsConfigSubstitution.java
 
b/extensions/fop/runtime/src/main/java/org/apache/camel/quarkus/component/fop/PDFRendererOptionsConfigSubstitution.java
deleted file mode 100644
index 4275d9e3fc..0000000000
--- 
a/extensions/fop/runtime/src/main/java/org/apache/camel/quarkus/component/fop/PDFRendererOptionsConfigSubstitution.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.quarkus.component.fop;
-
-import com.oracle.svm.core.annotate.Substitute;
-import com.oracle.svm.core.annotate.TargetClass;
-import org.apache.fop.render.pdf.PDFRendererOptionsConfig;
-
-@TargetClass(value = PDFRendererOptionsConfig.class)
-final class PDFRendererOptionsConfigSubstitution {
-
-    @Substitute
-    public Boolean getDisableSRGBColorSpace() {
-        //sRGB color space has to be disabled because of 
https://github.com/oracle/graal/issues/2850
-        return true;
-    }
-}

Reply via email to