Skip to content

Commit 2094698

Browse files
committed
fix: remove 'image/svg+xml' from font core media types
Resolves #1615
1 parent 66e5254 commit 2094698

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/main/java/com/adobe/epubcheck/opf/OPFChecker30.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -592,8 +592,7 @@ public static boolean isBlessedFontType(String type)
592592
return type.equals("font/otf") || type.equals("font/ttf") || type.equals("font/woff")
593593
|| type.equals("font/woff2") || type.equals("application/font-sfnt")
594594
|| type.equals("application/font-woff") || type.equals("application/vnd.ms-opentype")
595-
|| type.equals("application/x-font-ttf")
596-
|| type.equals("image/svg+xml");
595+
|| type.equals("application/x-font-ttf");
597596
}
598597

599598
public static boolean isBlessedScriptType(String type)

0 commit comments

Comments
 (0)