Embed font to SVG

This commit is contained in:
Ilya Kantor 2019-08-11 14:17:38 +03:00
parent 1310171dd7
commit 4d44df6a3a
226 changed files with 225 additions and 11893 deletions

View file

@ -1,16 +1 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="463px" height="130px" viewBox="0 0 463 130" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: sketchtool 55.2 (78181) - https://sketchapp.com -->
<title>witch_greedy2.svg</title>
<desc>Created with sketchtool.</desc>
<g id="regexp" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="witch_greedy2.svg">
<text id="a-&quot;witch&quot;-and-her-&quot;b" font-family="PTMono-Regular, PT Mono" font-size="22" font-weight="normal" fill="#8A704D">
<tspan x="20" y="107">a "witch" and her "broom" is one</tspan>
</text>
<rect id="Rectangle-1" stroke="#E8C48E" x="45.5" y="45.5" width="28" height="76"></rect>
<path d="M52.0039062,55.4414062 L51.6757812,60.9375 L49.7539062,60.9375 L49.4140625,55.4414062 L52.0039062,55.4414062 Z M56.5625,55.4414062 L56.234375,60.9375 L54.3125,60.9375 L53.9726562,55.4414062 L56.5625,55.4414062 Z M66.0898438,68.3085938 C66.3554701,68.3085938 66.6074207,68.3593745 66.8457031,68.4609375 C67.0839856,68.5625005 67.2910147,68.7031241 67.4667969,68.8828125 C67.642579,69.0625009 67.7812495,69.2714832 67.8828125,69.5097656 C67.9843755,69.7480481 68.0351562,70.0039049 68.0351562,70.2773438 C68.0351562,70.5429701 67.9843755,70.7929676 67.8828125,71.0273438 C67.7812495,71.2617199 67.642579,71.466796 67.4667969,71.6425781 C67.2910147,71.8183603 67.0839856,71.9570307 66.8457031,72.0585938 C66.6074207,72.1601568 66.3554701,72.2109375 66.0898438,72.2109375 C65.8164049,72.2109375 65.5625012,72.1601568 65.328125,72.0585938 C65.0937488,71.9570307 64.8886728,71.8183603 64.7128906,71.6425781 C64.5371085,71.466796 64.398438,71.2617199 64.296875,71.0273438 C64.195312,70.7929676 64.1445312,70.5429701 64.1445312,70.2773438 C64.1445312,70.0039049 64.195312,69.7480481 64.296875,69.5097656 C64.398438,69.2714832 64.5371085,69.0625009 64.7128906,68.8828125 C64.8886728,68.7031241 65.0937488,68.5625005 65.328125,68.4609375 C65.5625012,68.3593745 65.8164049,68.3085938 66.0898438,68.3085938 L66.0898438,68.3085938 Z" id="--&quot;.----------------" fill="#CB1E31"></path>
<path id="Line" d="M55.5,33.5 L47.5,33.5 L47.5,31.5 L55.5,31.5 L55.5,25.5 L69.5,32.5 L55.5,39.5 L55.5,33.5 Z" fill="#EE6B47" fill-rule="nonzero"></path>
</g>
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="463" height="130" viewBox="0 0 463 130"><defs><style>@import url(https://fonts.googleapis.com/css?family=Open+Sans:bold,italic,bolditalic%7CPT+Mono);@font-face{font-family:&apos;PT Mono&apos;;font-weight:700;font-style:normal;src:local(&apos;PT MonoBold&apos;),url(/pack/modules/styles/blocks/font/PTMonoBold.woff2) format(&apos;woff2&apos;),url(/pack/modules/styles/blocks/font/PTMonoBold.woff) format(&apos;woff&apos;),url(/pack/modules/styles/blocks/font/PTMonoBold.ttf) format(&apos;truetype&apos;)}</style></defs><g id="regexp" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><g id="witch_greedy2.svg"><text id="a-&quot;witch&quot;-and-her-&quot;b" fill="#8A704D" font-family="PTMono-Regular, PT Mono" font-size="22" font-weight="normal"><tspan x="20" y="107">a &quot;witch&quot; and her &quot;broom&quot; is one</tspan></text><path id="Rectangle-1" stroke="#E8C48E" d="M45.5 45.5h28v76h-28z"/><path id="--&quot;.----------------" fill="#CB1E31" d="M52.004 55.441l-.328 5.496h-1.922l-.34-5.496h2.59zm4.559 0l-.329 5.496h-1.922l-.34-5.496h2.59zM66.09 68.31c.265 0 .517.05.756.152.238.102.445.242.62.422.177.18.315.388.417.627.101.238.152.494.152.767 0 .266-.05.516-.152.75a1.95 1.95 0 01-1.793 1.184c-.274 0-.527-.05-.762-.152a1.967 1.967 0 01-1.031-1.032 1.866 1.866 0 01-.152-.75c0-.273.05-.529.152-.767a2.02 2.02 0 01.416-.627 1.895 1.895 0 011.377-.574z"/><path id="Line" fill="#EE6B47" fill-rule="nonzero" d="M55.5 33.5h-8v-2h8v-6l14 7-14 7v-6z"/></g></g></svg>

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before After
Before After