Hi,
I tried to get the PDF export working with the current version of PlantUML (v1.2023.0)
Version Log:
PlantUML version 1.2023.0 (Mon Jan 09 19:31:34 CET 2023)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Default Encoding: UTF-8
Language: en
Country: US
PLANTUML_LIMIT_SIZE: 4096
Dot version: dot - graphviz version 2.43.0 (0)
Installation seems OK. File generation OK
I put the jars stated in the PDF documentation in the same folder. I got them from the fop-1.0 binaries.
But I get following error when trying to get a PDF output:
Exception in thread "main" java.lang.UnsupportedOperationException: PDF
at net.sourceforge.plantuml.ugraphic.ImageBuilder.createUGraphic(ImageBuilder.java:432)
at net.sourceforge.plantuml.ugraphic.ImageBuilder.writeImageInternal(ImageBuilder.java:273)
at net.sourceforge.plantuml.ugraphic.ImageBuilder.write(ImageBuilder.java:245)
at net.sourceforge.plantuml.project.GanttDiagram.exportDiagramNow(GanttDiagram.java:177)
at net.sourceforge.plantuml.AbstractPSystem.exportDiagram(AbstractPSystem.java:179)
at net.sourceforge.plantuml.PSystemUtils.exportDiagramsDefault(PSystemUtils.java:197)
at net.sourceforge.plantuml.PSystemUtils.exportDiagrams(PSystemUtils.java:88)
at net.sourceforge.plantuml.SourceFileReaderAbstract.getGeneratedImages(SourceFileReaderAbstract.java:187)
at net.sourceforge.plantuml.Run.manageFileInternal(Run.java:519)
at net.sourceforge.plantuml.Run.processArgs(Run.java:402)
at net.sourceforge.plantuml.Run.manageAllFiles(Run.java:369)
at net.sourceforge.plantuml.Run.main(Run.java:204)
Is PDF support with the current version not supported anymore, or did I do something wrong?
Thanks in advance!