Hi,
I'm using PlantUML in VS Code and usually I export my diagrams as pdf, which worked fine before.
Now I'm getting the error I've pasted below. All jar-files like described in https://plantuml.com/de/pdf are were they should be and exporting as svg and png works fine, too.
I've already tried using the latest release of plantuml.jar, which made also no difference.
Can somebody help me with this problem?
Thanks in advance!
org.apache.batik.transcoder.TranscoderException: Error while setting up PDFDocumentGraphics2D
Enclosed Exception:
Error while setting up fonts
at org.apache.fop.svg.PDFTranscoder.transcode(PDFTranscoder.java:136)
at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source)
at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source)
at org.apache.batik.apps.rasterizer.SVGConverter.transcode(Unknown Source)
at org.apache.batik.apps.rasterizer.SVGConverter.execute(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.sourceforge.plantuml.pdf.PdfConverter.convert(PdfConverter.java:75)
at net.sourceforge.plantuml.UmlDiagram.exportDiagramInternalPdf(UmlDiagram.java:277)
at net.sourceforge.plantuml.UmlDiagram.exportDiagramNow(UmlDiagram.java:132)
at net.sourceforge.plantuml.AbstractPSystem.exportDiagram(AbstractPSystem.java:178)
at net.sourceforge.plantuml.SourceStringReader.outputImage(SourceStringReader.java:172)
at net.sourceforge.plantuml.Pipe.generateDiagram(Pipe.java:100)
at net.sourceforge.plantuml.Pipe.managePipe(Pipe.java:92)
at net.sourceforge.plantuml.Run.managePipe(Run.java:354)
at net.sourceforge.plantuml.Run.main(Run.java:181)