这是我尝试过的html代码:
<html> <img src = "Contact2.svg" alt = "contact" /> </html>
以下是除Edge以外的所有浏览器中的输出: Normal image
这是Edge中相同文件的输出: Distorted Image
我也尝试过直接在文件中使用svg标记,但是结果是相同的。有问题的svg太大,无法附加(Stack Overflow不允许我添加它),但是如果有必要,我可以找到一种上载它的方法来诊断问题。
真的没有办法在Edge中包括SVG文件吗?如果没有,我有什么选择?
编辑这是由svg创建软件vectr自动生成的svg文件的开头:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid meet" viewBox="19 99 849.3178264315773 94" width="845.32" height="90"><defs><path d="M127.27 173.8C127.27 182.74 119.53 190 110 190C100.47 190 92.73 182.74 92.73 173.8C92.73 164.85 100.47 157.59 110 157.59C119.53 157.59 127.27 164.85 127.27 173.8Z" id="b1jyYeVtTq"></path><text id="b1lWAjMtn8" x="360.2" y="276.32" font-size="20" font-family="Open Sans" font-weight="normal" font-style="normal" letter-spacing="0" alignment-baseline="before-edge" transform="matrix(1 0 0 1 -256.01590652958953 -115.99016726043811)" style="line-height:100%" xml:space="preserve" dominant-baseline="text-before-edge"><tspan x="360.2" dy="0em" alignment-baseline="before-edge" dominant-baseline="text-before-edge" text-anchor="start">1</tspan></text><style id="opensansnormalnormal">
@font-face {
font-family: "Open Sans";
font-weight: normal;
src: url("data:font/ttf;base64,AAEAAAATAQAABAAwRFNJR54SRB0AAzucAAAVdEdERUYAJgOvAAM3fAAAAB5HUE9TCzcPNwADN5wAAAA4R1NVQg4rPbcAAzfUAAADxk9TLzKhPp7JAAABuAAAAGBjbWFwKasvaAAAELQAAAQaY3Z0IA9NGKQAAB2QAAAAomZwZ21+YbYRAAAU0AAAB7RnYXNwABUAIwADN2wAAAAQZ2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