high dpi:replace a improperly display svg iamge

This commit is contained in:
yifang 2022-01-29 10:23:06 +08:00
parent aaa98b014e
commit 2f1665969a
3 changed files with 2 additions and 41 deletions

View file

@ -1,39 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" height="48" width="60" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<clipPath id="f">
<path id="a" stroke-linejoin="round" stroke-width="2" d="m18 8s0 6 0 8h-20v16h20v8l19-16z"/>
</clipPath>
<linearGradient id="b" y2="29" gradientUnits="userSpaceOnUse" x2="0" y1="16">
<stop stop-color="#fff" offset="0" stop-opacity="0"/>
<stop stop-color="#fff" stop-opacity="0.6" offset="0.62"/>
<stop stop-opacity="0" offset="0.62"/>
</linearGradient>
<radialGradient id="d" gradientUnits="userSpaceOnUse" cy="30" cx="23" r="22" fx="23" fy="30">
<stop stop-color="#08f" offset="0"/>
<stop stop-color="#15a" offset="1"/>
</radialGradient>
<radialGradient id="c" gradientUnits="userSpaceOnUse" cy="30" cx="23" r="22" fx="23" fy="30">
<stop stop-color="#f00" offset="0"/>
<stop stop-color="#a11" offset="1"/>
</radialGradient>
<radialGradient id="e" gradientUnits="userSpaceOnUse" cy="37" cx="30" gradientTransform="matrix(1 0 0 0.4 0 15)" r="35">
<stop offset="0"/>
<stop stop-opacity="0" offset="1"/>
</radialGradient>
<g id="o" stroke="#800" fill="url(#c)">
<g id="g">
<use xlink:href="#a"/>
<use stroke-opacity="0.5" clip-path="url(#f)" xlink:href="#a" stroke="#fff"/>
<use opacity="0.5" xlink:href="#a" stroke="none" fill="url(#b)"/>
</g>
</g>
<use id="p" stroke="#048" xlink:href="#g" fill="url(#d)" transform="matrix(-1 0 0 1 60 0)"/>
<filter id="F1" height="100%" width="100%" y="0" x="0" filterUnits="userSpaceOnUse">
<feImage xlink:href="#p" result="p1"/>
<feImage xlink:href="#o" result="p2"/>
<feBlend mode="screen" in2="p2" in="p1"/>
</filter>
</defs>
<ellipse opacity="0.3" rx="35" ry="14" cy="30" cx="30" fill="url(#e)"/>
<g filter="url(#F1)"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -93,7 +93,7 @@
<file>icons/dictionary.svg</file> <file>icons/dictionary.svg</file>
<file>icons/advanced.svg</file> <file>icons/advanced.svg</file>
<file>icons/webdict.svg</file> <file>icons/webdict.svg</file>
<file>icons/transliteration.svg</file> <file>icons/transliteration.png</file>
<file>icons/pushpin.svg</file> <file>icons/pushpin.svg</file>
<file>icons/fulltext.svg</file> <file>icons/fulltext.svg</file>
<file>icons/text2speech.svg</file> <file>icons/text2speech.svg</file>

View file

@ -632,7 +632,7 @@ in the future, or register on the site to get your own key.</string>
<widget class="QWidget" name="tab_3"> <widget class="QWidget" name="tab_3">
<attribute name="icon"> <attribute name="icon">
<iconset resource="resources.qrc"> <iconset resource="resources.qrc">
<normaloff>:/icons/transliteration.svg</normaloff>:/icons/transliteration.svg</iconset> <normaloff>:/icons/transliteration.png</normaloff>:/icons/transliteration.png</iconset>
</attribute> </attribute>
<attribute name="title"> <attribute name="title">
<string>Transliteration</string> <string>Transliteration</string>