diff --git a/src/main/java/net/sourceforge/plantuml/servlet/OldProxyServlet.java b/src/main/java/net/sourceforge/plantuml/servlet/OldProxyServlet.java index 2259c3b..9aeecc5 100644 --- a/src/main/java/net/sourceforge/plantuml/servlet/OldProxyServlet.java +++ b/src/main/java/net/sourceforge/plantuml/servlet/OldProxyServlet.java @@ -110,6 +110,12 @@ public class OldProxyServlet extends HttpServlet { if (format.equals("svg")) { return FileFormat.SVG; } + if (format.equals("eps")) { + return FileFormat.EPS; + } + if (format.equals("epstext")) { + return FileFormat.EPS_TEXT; + } if (format.equals("txt")) { return FileFormat.ATXT; } diff --git a/src/main/java/net/sourceforge/plantuml/servlet/ProxyServlet.java b/src/main/java/net/sourceforge/plantuml/servlet/ProxyServlet.java index 1460d25..c124122 100644 --- a/src/main/java/net/sourceforge/plantuml/servlet/ProxyServlet.java +++ b/src/main/java/net/sourceforge/plantuml/servlet/ProxyServlet.java @@ -122,6 +122,12 @@ public class ProxyServlet extends HttpServlet { if (format.equals("svg")) { return FileFormat.SVG; } + if (format.equals("eps")) { + return FileFormat.EPS; + } + if (format.equals("epstext")) { + return FileFormat.EPS_TEXT; + } if (format.equals("txt")) { return FileFormat.UTXT; }