Browse Source

made the mime type correct


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193704 13f79535-47bb-0310-9956-ffa450edef68
tags/pre-columns
Keiron Liddle 24 years ago
parent
commit
823e245f53

+ 1
- 1
src/org/apache/fop/image/FopImageFactory.java View File

imgClassName = "org.apache.fop.image.JimiImage"; imgClassName = "org.apache.fop.image.JimiImage";
} else if ("image/tiff".equals(imgMimeType)) { } else if ("image/tiff".equals(imgMimeType)) {
imgClassName = "org.apache.fop.image.JimiImage"; imgClassName = "org.apache.fop.image.JimiImage";
} else if ("image/svg".equals(imgMimeType)) {
} else if ("image/svg-xml".equals(imgMimeType)) {
imgClassName = "org.apache.fop.image.SVGImage"; imgClassName = "org.apache.fop.image.SVGImage";
} }
if (imgClassName == null) if (imgClassName == null)

+ 1
- 1
src/org/apache/fop/image/analyser/SVGReader.java View File

} }


public String getMimeType() { public String getMimeType() {
return "image/svg";
return "image/svg-xml";
} }


/** /**

Loading…
Cancel
Save