reccmp: fix SVGs on light backgrounds

This commit is contained in:
itsmattkc 2023-06-27 19:46:04 -07:00
parent aaf61ba48e
commit 8e6e2a3962

View file

@ -25,31 +25,25 @@
inkscape:deskcolor="#505050" inkscape:deskcolor="#505050"
showgrid="false" showgrid="false"
inkscape:zoom="1.6046875" inkscape:zoom="1.6046875"
inkscape:cx="239.29893" inkscape:cx="158.90944"
inkscape:cy="219.98053" inkscape:cy="220.6037"
inkscape:window-width="2560" inkscape:window-width="2560"
inkscape:window-height="1379" inkscape:window-height="1379"
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="0" inkscape:window-y="0"
inkscape:window-maximized="1" inkscape:window-maximized="1"
inkscape:current-layer="svg5" /><defs inkscape:current-layer="g1273" /><defs
id="defs5"> id="defs5">
<clipPath <clipPath
id="progBarCutoff"> id="progBarCutoff">
<rect <rect
width="{progbar:127.18422}" width="{progbar:127.18422}"
height="8.6508904" height="8.6508904"
x="21.074554" x="21.118132"
y="134.86963" y="134.05507"
id="rect2" /> id="rect2" />
</clipPath> </clipPath>
</defs><rect </defs><g
x="0"
y="0"
width="100%"
height="100%"
fill="#0d1117"
id="rect7" /><g
id="g1273" id="g1273"
transform="matrix(1.2683581,0,0,1.2683581,-22.720969,-65.913871)"><image transform="matrix(1.2683581,0,0,1.2683581,-22.720969,-65.913871)"><image
width="53.066437" width="53.066437"
@ -61,58 +55,65 @@
x="58.13345" x="58.13345"
y="51.967873" /><text y="51.967873" /><text
xml:space="preserve" xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:12.7px;font-family:mono;-inkscape-font-specification:mono;text-align:center;text-anchor:middle;fill:#ffffff;stroke:#ffffff;stroke-width:2.64583" style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:12.7px;font-family:mono;-inkscape-font-specification:mono;text-align:center;text-anchor:middle;fill:#ffffff;stroke:#000000;stroke-width:1.25161812;stroke-opacity:1;stroke-dasharray:none;paint-order:stroke fill markers"
x="84.666656" x="84.666656"
y="118.35877" y="118.35877"
id="text740"><tspan id="text740"><tspan
id="tspan738" id="tspan738"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:mono;-inkscape-font-specification:mono;text-align:center;text-anchor:middle;stroke:none;stroke-width:2.64583" style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:mono;-inkscape-font-specification:mono;text-align:center;text-anchor:middle;stroke:#000000;stroke-width:1.25161812;stroke-opacity:1;stroke-dasharray:none;paint-order:stroke fill markers"
x="84.666656" x="84.666656"
y="118.35877">{name}</tspan></text><g y="118.35877">{name}</tspan></text><g
id="g1250" id="g1250"
transform="translate(-1.3006529e-5,8.5767994)"><rect transform="translate(-0.04358834,8.1397473)"><rect
style="fill:none;stroke:#ffffff;stroke-width:0.87411;stroke-dasharray:none;stroke-opacity:1" style="display:inline;fill:none;fill-opacity:1;stroke:#000000;stroke-width:2.50324;stroke-dasharray:none;stroke-opacity:1"
id="rect1619"
width="127.18422"
height="8.6508904"
x="21.118132"
y="134.05507" /><rect
style="display:inline;fill:#000000;fill-opacity:1;stroke:#ffffff;stroke-width:0.87411;stroke-dasharray:none;stroke-opacity:1"
id="rect1167" id="rect1167"
width="127.18422" width="127.18422"
height="8.6508904" height="8.6508904"
x="21.074554" x="21.118132"
y="134.86963" /><text y="134.05507" /><text
xml:space="preserve" xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4.23333px;font-family:mono;-inkscape-font-specification:mono;text-align:start;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1.05833;stroke-dasharray:none;stroke-opacity:1" style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4.23333px;font-family:mono;-inkscape-font-specification:mono;text-align:start;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1.05833;stroke-dasharray:none;stroke-opacity:1"
x="76.841347" x="76.884926"
y="140.70638" y="139.89182"
id="text2152"><tspan id="text2152"><tspan
style="font-size:4.23333px;fill:#ffffff;fill-opacity:1;stroke-width:1.05833" style="font-size:4.23333px;fill:#ffffff;fill-opacity:1;stroke-width:1.05833"
x="76.841347" x="76.884926"
y="140.70638" y="139.89182"
id="tspan2150">{percent}</tspan></text><rect id="tspan2150">{percent}</tspan></text><rect
style="display:inline;fill:#ffffff;stroke:none;stroke-width:2.6764" style="display:inline;fill:#ffffff;stroke:none;stroke-width:2.6764"
id="rect1169" id="rect1169"
width="127.18422" width="127.18422"
height="8.6508904" height="8.6508904"
x="21.074554" x="21.118132"
y="134.86963" y="134.05507"
clip-path="url(#progBarCutoff)" /><text clip-path="url(#progBarCutoff)" /><text
xml:space="preserve" xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4.23333px;font-family:mono;-inkscape-font-specification:mono;text-align:start;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.05833;stroke-dasharray:none;stroke-opacity:1" style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4.23333px;font-family:mono;-inkscape-font-specification:mono;text-align:start;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.05833;stroke-dasharray:none;stroke-opacity:1"
x="76.841347" x="76.884926"
y="140.70638" y="139.89182"
id="text18" id="text18"
clip-path="url(#progBarCutoff)"><tspan clip-path="url(#progBarCutoff)"
inkscape:label="text18"><tspan
style="font-size:4.23333px;fill:#000000;fill-opacity:1;stroke-width:1.05833" style="font-size:4.23333px;fill:#000000;fill-opacity:1;stroke-width:1.05833"
x="76.841347" x="76.884926"
y="140.70638" y="139.89182"
id="tspan16">{percent}</tspan></text></g><text id="tspan16">{percent}</tspan></text></g><text
xml:space="preserve" xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4.23333px;font-family:mono;-inkscape-font-specification:mono;text-align:start;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1.05833;stroke-dasharray:none;stroke-opacity:1" style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4.23333px;font-family:mono;-inkscape-font-specification:mono;text-align:start;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.83441208;stroke-dasharray:none;stroke-opacity:1;opacity:1;stroke-linejoin:miter;stroke-linecap:butt;paint-order:stroke fill markers"
x="46.947659" x="46.947659"
y="129.67447" y="129.67447"
id="text1260"><tspan id="text1260"><tspan
id="tspan1258" id="tspan1258"
style="font-size:4.23333px;stroke-width:1.05833" style="font-size:4.23333px;stroke-width:0.83441208;stroke:#000000;stroke-opacity:1;stroke-dasharray:none;stroke-linejoin:miter;stroke-linecap:butt;paint-order:stroke fill markers"
x="46.947659" x="46.947659"
y="129.67447">Implemented: {implemented}</tspan><tspan y="129.67447">Implemented: {implemented}</tspan><tspan
style="font-size:4.23333px;stroke-width:1.05833" style="font-size:4.23333px;stroke-width:0.83441208;stroke:#000000;stroke-opacity:1;stroke-dasharray:none;stroke-linejoin:miter;stroke-linecap:butt;paint-order:stroke fill markers"
x="46.947659" x="46.947659"
y="134.96613" y="134.96613"
id="tspan1262">Accuracy: {accuracy}</tspan></text></g></svg> id="tspan1262">Accuracy: {accuracy}</tspan></text></g></svg>

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB