// Do not edit directly!
// This file was generated by camel-quarkus-maven-plugin:update-extension-doc-page
= FOP
:linkattrs:
:cq-artifact-id: camel-quarkus-fop
:cq-native-supported: true
:cq-status: Stable
:cq-status-deprecation: Stable
:cq-description: Render messages into PDF and other output formats supported by Apache FOP.
:cq-deprecated: false
:cq-jvm-since: 1.1.0
:cq-native-since: 1.2.0

[.badges]
[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native since##[.badge-supported]##1.2.0##

Render messages into PDF and other output formats supported by Apache FOP.

== What's inside

* xref:{cq-camel-components}::fop-component.adoc[FOP component], URI syntax: `fop:outputType`

Please refer to the above link for usage and configuration details.

== Maven coordinates

https://code.quarkus.io/?extension-search=camel-quarkus-fop[Create a new project with this extension on code.quarkus.io, window="_blank"]

Or add the coordinates to your existing project:

[source,xml]
----
<dependency>
    <groupId>org.apache.camel.quarkus</groupId>
    <artifactId>camel-quarkus-fop</artifactId>
</dependency>
----

Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications.

== 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`.

Please file an https://github.com/apache/camel-quarkus/issues/new[issue] if you are missing some specific output format
in native mode.

