From 1ded087c6ae014b1ddfe0e223580f4255bd270a4 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 13 Jul 2007 08:25:34 +0000 Subject: Support dataloading of SVG files Add internal filetype<->mimetype mapping for SVG files svn path=/trunk/netsurf/; revision=3407 --- riscos/filetype.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'riscos/filetype.c') diff --git a/riscos/filetype.c b/riscos/filetype.c index 914d76ec8..78709de34 100644 --- a/riscos/filetype.c +++ b/riscos/filetype.c @@ -27,6 +27,7 @@ static const struct type_entry type_map[] = { {0x188, "application/x-shockwave-flash"}, {0x695, "image/gif"}, {0x69c, "image/x-ms-bmp"}, + {0xaad, "image/svg+xml"}, {0xaff, "image/x-drawfile"}, {0xb60, "image/png"}, {0xc85, "image/jpeg"}, @@ -289,6 +290,8 @@ int ro_content_filetype_from_type(content_type type) { #ifdef WITH_ARTWORKS case CONTENT_ARTWORKS: return 0xd94; #endif + case CONTENT_SVG: return 0xaad; + default: break; } return 0; -- cgit v1.2.3