4fcc2ef23f
createImageBitmap doesn't work with svg files (see bug 1841972), so we need to workaround this in using an Image. When printing/saving we must rasterize the image, hence we get the biggest bitmap as image reference to avoid duplications or poor quality on rendering.
2 lines
10 KiB
XML
Executable File
2 lines
10 KiB
XML
Executable File
<svg height="80" width="242" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 242 80"><radialGradient id="a" cx="96%" cy="15%" r="90%"><stop offset="0" stop-color="#fff36e"/><stop offset=".5" stop-color="#fc4055"/><stop offset="1" stop-color="#e31587"/></radialGradient><radialGradient id="b" cx="10%" cy="18%" r="70%"><stop offset="0" stop-color="#c60084"/><stop offset="1" stop-color="#fc4055" stop-opacity="0"/></radialGradient><radialGradient id="c" cx="110%" cy="8%" r="133%"><stop offset="0" stop-color="#ffde67" stop-opacity=".6"/><stop offset=".66" stop-color="#fc4055" stop-opacity="0"/></radialGradient><radialGradient id="d" cx="44%" cy="51%" r="175%"><stop offset=".15" stop-color="#810220"/><stop offset=".27" stop-color="#fc4055" stop-opacity="0"/></radialGradient><radialGradient id="e" cx="53%" cy="55%" r="160%"><stop offset=".12" stop-color="#810220"/><stop offset=".3" stop-color="#fc4055" stop-opacity="0"/></radialGradient><radialGradient id="f" cx="90%" cy="11%" r="111%"><stop offset="0" stop-color="#ff9640"/><stop offset=".8" stop-color="#fc4055"/></radialGradient><radialGradient id="g" cx="91%" cy="18%" r="113%"><stop offset=".09" stop-color="#ffde67"/><stop offset=".82" stop-color="#ff9640" stop-opacity="0"/></radialGradient><radialGradient id="h" cx="63%" cy="49%" r="54%"><stop offset=".36" stop-color="#fc4055"/><stop offset=".59" stop-color="#ff9640" stop-opacity="0"/></radialGradient><radialGradient id="i" cx="53%" cy="52%" r="54%"><stop offset=".22" stop-color="#fc4055" stop-opacity=".8"/><stop offset=".47" stop-color="#ff9640" stop-opacity="0"/></radialGradient><radialGradient id="j" cx="109%" cy="2%" r="170%"><stop offset=".05" stop-color="#fff36e"/><stop offset=".55" stop-color="#ff9640"/><stop offset=".7" stop-color="#ff9640"/></radialGradient><linearGradient id="k" x1="50%" y1="-3%" x2="79%" y2="79%"><stop offset="0" stop-color="#b833e1"/><stop offset=".37" stop-color="#9059ff"/><stop offset="1" stop-color="#0090ed"/></linearGradient><linearGradient id="l" x1="85%" y1="51%" x2="32%" y2="-10%"><stop offset="0" stop-color="#592acb" stop-opacity=".5"/><stop offset=".24" stop-color="#722291" stop-opacity="0"/></linearGradient><linearGradient id="m" x1="75%" y1="9%" x2="21%" y2="99%"><stop offset="0" stop-color="#fff36e" stop-opacity=".8"/><stop offset=".09" stop-color="#fff36e" stop-opacity=".7"/><stop offset=".75" stop-color="#fff36e" stop-opacity="0"/></linearGradient><path d="M71.944 15.7A39.47 39.47 0 0 0 41.588.009C32.3-.177 25.884 2.614 22.254 4.858 27.111 2.041 34.14.443 40.294.522c15.83.2 32.832 10.981 35.357 30.413 2.9 22.306-12.637 40.923-34.493 40.98-24.045.061-38.67-21.229-34.847-40.352a19.735 19.735 0 0 1 .413-2.787 37.815 37.815 0 0 1 4.193-14.018c-2.769 1.433-6.295 5.965-8.035 10.163A41.355 41.355 0 0 0 .284 45.1c.06.518.114 1.035.182 1.549A40.062 40.062 0 1 0 71.944 15.7z" fill="url(#a)"/><path d="M71.944 15.7A39.47 39.47 0 0 0 41.588.009C32.3-.177 25.884 2.614 22.254 4.858 27.111 2.041 34.14.443 40.294.522c15.83.2 32.832 10.981 35.357 30.413 2.9 22.306-12.637 40.923-34.493 40.98-24.045.061-38.67-21.229-34.847-40.352a19.735 19.735 0 0 1 .413-2.787 37.815 37.815 0 0 1 4.193-14.018c-2.769 1.433-6.295 5.965-8.035 10.163A41.355 41.355 0 0 0 .284 45.1c.06.518.114 1.035.182 1.549A40.062 40.062 0 1 0 71.944 15.7z" fill="url(#b)" opacity=".67"/><path d="M71.944 15.7A39.47 39.47 0 0 0 41.588.009C32.3-.177 25.884 2.614 22.254 4.858 27.111 2.041 34.14.443 40.294.522c15.83.2 32.832 10.981 35.357 30.413 2.9 22.306-12.637 40.923-34.493 40.98-24.045.061-38.67-21.229-34.847-40.352a19.735 19.735 0 0 1 .413-2.787 37.815 37.815 0 0 1 4.193-14.018c-2.769 1.433-6.295 5.965-8.035 10.163A41.355 41.355 0 0 0 .284 45.1c.06.518.114 1.035.182 1.549A40.062 40.062 0 1 0 71.944 15.7z" fill="url(#c)"/><path d="M71.944 15.7A39.47 39.47 0 0 0 41.588.009C32.3-.177 25.884 2.614 22.254 4.858 27.111 2.041 34.14.443 40.294.522c15.83.2 32.832 10.981 35.357 30.413 2.9 22.306-12.637 40.923-34.493 40.98-24.045.061-38.67-21.229-34.847-40.352a19.735 19.735 0 0 1 .413-2.787 37.815 37.815 0 0 1 4.193-14.018c-2.769 1.433-6.295 5.965-8.035 10.163A41.355 41.355 0 0 0 .284 45.1c.06.518.114 1.035.182 1.549A40.062 40.062 0 1 0 71.944 15.7z" fill="url(#d)"/><path d="M71.944 15.7A39.47 39.47 0 0 0 41.588.009C32.3-.177 25.884 2.614 22.254 4.858 27.111 2.041 34.14.443 40.294.522c15.83.2 32.832 10.981 35.357 30.413 2.9 22.306-12.637 40.923-34.493 40.98-24.045.061-38.67-21.229-34.847-40.352a19.735 19.735 0 0 1 .413-2.787 37.815 37.815 0 0 1 4.193-14.018c-2.769 1.433-6.295 5.965-8.035 10.163A41.355 41.355 0 0 0 .284 45.1c.06.518.114 1.035.182 1.549A40.062 40.062 0 1 0 71.944 15.7z" fill="url(#e)"/><path d="M76.625 29.826C74.374 9.518 56.263.39 40.294.522c-6.155.05-13.183 1.519-18.04 4.336a19.7 19.7 0 0 0-3.56 2.7c.129-.107.514-.424 1.152-.862l.063-.043.056-.038a26.655 26.655 0 0 1 7.692-3.572A43.5 43.5 0 0 1 40.84 1.5a33.254 33.254 0 0 1 31.25 31.993C72.457 46.7 61.648 57.23 49.188 57.84c-9.062.444-17.6-3.941-21.77-12.713a21.68 21.68 0 0 1-1.964-6.333c-1.976-13.35 6.989-24.735 15.21-27.554-4.435-3.874-15.548-3.611-23.819 2.474-5.956 4.382-9.82 11.049-11.1 19a32.945 32.945 0 0 0 2.34 18 35.3 35.3 0 0 0 30.089 21.443q1.489.114 2.984.113c26.462 0 37.942-20.087 35.467-42.444z" fill="url(#f)"/><path d="M76.625 29.826C74.374 9.518 56.263.39 40.294.522c-6.155.05-13.183 1.519-18.04 4.336a19.7 19.7 0 0 0-3.56 2.7c.129-.107.514-.424 1.152-.862l.063-.043.056-.038a26.655 26.655 0 0 1 7.692-3.572A43.5 43.5 0 0 1 40.84 1.5a33.254 33.254 0 0 1 31.25 31.993C72.457 46.7 61.648 57.23 49.188 57.84c-9.062.444-17.6-3.941-21.77-12.713a21.68 21.68 0 0 1-1.964-6.333c-1.976-13.35 6.989-24.735 15.21-27.554-4.435-3.874-15.548-3.611-23.819 2.474-5.956 4.382-9.82 11.049-11.1 19a32.945 32.945 0 0 0 2.34 18 35.3 35.3 0 0 0 30.089 21.443q1.489.114 2.984.113c26.462 0 37.942-20.087 35.467-42.444z" fill="url(#g)"/><path d="M76.625 29.826C74.374 9.518 56.263.39 40.294.522c-6.155.05-13.183 1.519-18.04 4.336a19.7 19.7 0 0 0-3.56 2.7c.129-.107.514-.424 1.152-.862l.063-.043.056-.038a26.655 26.655 0 0 1 7.692-3.572A43.5 43.5 0 0 1 40.84 1.5a33.254 33.254 0 0 1 31.25 31.993C72.457 46.7 61.648 57.23 49.188 57.84c-9.062.444-17.6-3.941-21.77-12.713a21.68 21.68 0 0 1-1.964-6.333c-1.976-13.35 6.989-24.735 15.21-27.554-4.435-3.874-15.548-3.611-23.819 2.474-5.956 4.382-9.82 11.049-11.1 19a32.945 32.945 0 0 0 2.34 18 35.3 35.3 0 0 0 30.089 21.443q1.489.114 2.984.113c26.462 0 37.942-20.087 35.467-42.444z" fill="url(#h)" opacity=".53"/><path d="M76.625 29.826C74.374 9.518 56.263.39 40.294.522c-6.155.05-13.183 1.519-18.04 4.336a19.7 19.7 0 0 0-3.56 2.7c.129-.107.514-.424 1.152-.862l.063-.043.056-.038a26.655 26.655 0 0 1 7.692-3.572A43.5 43.5 0 0 1 40.84 1.5a33.254 33.254 0 0 1 31.25 31.993C72.457 46.7 61.648 57.23 49.188 57.84c-9.062.444-17.6-3.941-21.77-12.713a21.68 21.68 0 0 1-1.964-6.333c-1.976-13.35 6.989-24.735 15.21-27.554-4.435-3.874-15.548-3.611-23.819 2.474-5.956 4.382-9.82 11.049-11.1 19a32.945 32.945 0 0 0 2.34 18 35.3 35.3 0 0 0 30.089 21.443q1.489.114 2.984.113c26.462 0 37.942-20.087 35.467-42.444z" fill="url(#i)" opacity=".53"/><path d="M49.188 57.84c17.1-1.04 24.42-15.2 24.879-25.245C74.783 16.9 65.472-.02 40.84 1.5a43.5 43.5 0 0 0-13.183 1.546 28.855 28.855 0 0 0-7.692 3.572l-.056.038-.063.043q-.574.4-1.123.842A33.482 33.482 0 0 1 39.7 3.605c14.142 1.856 27.072 12.857 27.072 27.373 0 11.169-8.631 19.7-18.738 19.087-15.015-.9-18.8-16.3-10.989-22.954-2.106-.453-6.064.435-8.82 4.555-2.473 3.7-2.333 9.41-.807 13.461a22.118 22.118 0 0 0 21.77 12.713z" fill="url(#j)"/><path d="M72.016 18.726a22.458 22.458 0 0 0-4.882-8.144 30.224 30.224 0 0 0-9.094-6.493A40.518 40.518 0 0 0 49.1.92a39.834 39.834 0 0 0-16.565-.1c-5.683 1.2-10.68 3.659-13.841 6.733a32.1 32.1 0 0 1 8.031-3.2 33.565 33.565 0 0 1 31.173 8.1 27.01 27.01 0 0 1 4.329 5.3c4.895 7.959 4.432 17.965.615 23.866-2.835 4.384-8.907 8.5-14.572 8.452A23.629 23.629 0 0 0 69.98 39.2c3.989-6.224 4.125-14.145 2.036-20.474z" fill="url(#k)"/><path d="M72.016 18.726a22.458 22.458 0 0 0-4.882-8.144 30.224 30.224 0 0 0-9.094-6.493A40.518 40.518 0 0 0 49.1.92a39.834 39.834 0 0 0-16.565-.1c-5.683 1.2-10.68 3.659-13.841 6.733a32.1 32.1 0 0 1 8.031-3.2 33.565 33.565 0 0 1 31.173 8.1 27.01 27.01 0 0 1 4.329 5.3c4.895 7.959 4.432 17.965.615 23.866-2.835 4.384-8.907 8.5-14.572 8.452A23.629 23.629 0 0 0 69.98 39.2c3.989-6.224 4.125-14.145 2.036-20.474z" fill="url(#l)"/><path d="M97 24h21.419v5.79h-15.274v7.851h15.274v5.746h-15.274v12.634H97zm28.705-2.237a3.444 3.444 0 0 1 3.555 3.6 3.577 3.577 0 0 1-7.154.088 3.553 3.553 0 0 1 3.599-3.686zm-3.028 10.571h6.057v23.687h-6.057zm23.613 6.579a4.9 4.9 0 0 0-2.94-1.053c-2.458 0-3.863 1.579-3.863 5.044v13.117h-6.013V32.336h5.75v3.421a5.647 5.647 0 0 1 5.662-3.641 7.194 7.194 0 0 1 4.038 1.228zm2.5 5.4a12.121 12.121 0 0 1 12.2-12.457c7.11 0 12.158 5.044 12.158 12.062v2.5h-18.431c.659 2.983 2.985 4.957 6.54 4.957a6.354 6.354 0 0 0 5.882-3.509l5.047 3.026c-2.5 3.685-6.057 5.614-11.1 5.614-7.686-.006-12.294-5.134-12.294-12.196zm6.013-2.676h12.467c-.658-3.026-3.116-4.693-6.32-4.693a6.088 6.088 0 0 0-6.145 4.69zm19.839-9.3h4.258v-1.186c0-6.448 2.721-9.123 8.69-9.123h2.11v5.22h-1.712c-2.809 0-3.423.964-3.423 3.9v1.185h5.135v5.438h-5v18.25h-5.8V37.774h-4.258zm16.2 11.842a12.131 12.131 0 0 1 12.378-12.325 12.325 12.325 0 1 1 0 24.65 11.951 11.951 0 0 1-12.38-12.326zm18.874 0a6.5 6.5 0 1 0-12.992 0 6.5 6.5 0 1 0 12.992 0zm14.045-.263l-8.561-11.58h7.11l5.048 7.281 5.179-7.281h6.979l-8.691 11.535 9.13 12.15h-7.067l-5.662-7.72-5.486 7.72h-7.067z" fill="#20123a"/><path d="M71.944 15.7a39.958 39.958 0 0 0-3.482-3.982 31.342 31.342 0 0 0-3.177-2.926 24.393 24.393 0 0 1 1.849 1.79 22.466 22.466 0 0 1 4.882 8.144c2.089 6.329 1.953 14.25-2.036 20.471a23.539 23.539 0 0 1-20.855 10.895c-.361 0-.725 0-1.091-.027-15.015-.9-18.8-16.3-10.988-22.954-2.107-.453-6.065.435-8.821 4.555-2.473 3.7-2.333 9.41-.807 13.461a21.679 21.679 0 0 1-1.963-6.333c-1.977-13.35 6.988-24.735 15.209-27.554-4.435-3.874-15.548-3.611-23.819 2.474a27.845 27.845 0 0 0-10.087 14.6 38.5 38.5 0 0 1 4.159-13.553c-2.769 1.433-6.295 5.965-8.035 10.163A41.355 41.355 0 0 0 .284 45.1c.06.518.114 1.035.182 1.549A40.062 40.062 0 1 0 71.944 15.7z" fill="url(#m)"/></svg>
|