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,27 +1 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="241px" height="285px" viewBox="0 0 241 285" 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>proxy-inherit.svg</title>
<desc>Created with sketchtool.</desc>
<g id="misc" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="proxy-inherit.svg">
<path d="M116,181 C159.630495,181 195,150.331505 195,112.5 C195,74.6684946 159.630495,44 116,44 C72.3695048,44 37,74.6684946 37,112.5 C37,150.331505 72.3695048,181 116,181 Z" id="Oval" stroke="#BCA68E" stroke-width="2" stroke-dasharray="5"></path>
<rect id="Rectangle-2" stroke="#BCA68E" stroke-width="2" fill="#FFF9EB" x="52" y="96" width="127" height="48"></rect>
<text id="_name:-&quot;Guest&quot;-name:" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="59" y="116">_name: "Guest"</tspan>
<tspan x="59" y="131">name: getter </tspan>
</text>
<rect id="Rectangle-2-Copy" stroke="#BCA68E" stroke-width="2" fill="#FFF9EB" x="52" y="242" width="127" height="28"></rect>
<text id="_name:-&quot;Admin&quot;" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="59" y="260">_name: "Admin"</tspan>
</text>
<text id="user-(proxied)" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal" fill="#000000">
<tspan x="57" y="29">user (proxied)</tspan>
</text>
<text id="original-user" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal" fill="#000000">
<tspan x="61" y="87">original user</tspan>
</text>
<path id="Line-Copy-3" d="M114.463235,221 L114.463235,179.5 L117.463235,179.5 L117.463235,221 L125.463235,221 L115.963235,240 L106.463235,221 L114.463235,221 Z" fill="#EE6B47" fill-rule="nonzero"></path>
</g>
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="241" height="285" viewBox="0 0 241 285"><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="misc" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><g id="proxy-inherit.svg"><path id="Oval" stroke="#BCA68E" stroke-dasharray="5" stroke-width="2" d="M116 181c43.63 0 79-30.668 79-68.5S159.63 44 116 44s-79 30.668-79 68.5S72.37 181 116 181z"/><path id="Rectangle-2" fill="#FFF9EB" stroke="#BCA68E" stroke-width="2" d="M52 96h127v48H52z"/><text id="_name:-&quot;Guest&quot;-name:" fill="#8A704D" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal"><tspan x="59" y="116">_name: &quot;Guest&quot;</tspan> <tspan x="59" y="131">name: getter </tspan></text><path id="Rectangle-2-Copy" fill="#FFF9EB" stroke="#BCA68E" stroke-width="2" d="M52 242h127v28H52z"/><text id="_name:-&quot;Admin&quot;" fill="#8A704D" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal"><tspan x="59" y="260">_name: &quot;Admin&quot;</tspan></text><text id="user-(proxied)" fill="#000" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal"><tspan x="57" y="29">user (proxied)</tspan></text><text id="original-user" fill="#000" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal"><tspan x="61" y="87">original user</tspan></text><path id="Line-Copy-3" fill="#EE6B47" fill-rule="nonzero" d="M114.463 221v-41.5h3V221h8l-9.5 19-9.5-19h8z"/></g></g></svg>

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Before After
Before After

View file

@ -1,31 +1 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="292px" height="180px" viewBox="0 0 292 180" 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>proxy.svg</title>
<desc>Created with sketchtool.</desc>
<g id="misc" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="proxy.svg">
<rect id="Rectangle-2" stroke="#BCA68E" stroke-width="2" fill="#FFF9EB" x="191" y="81" width="69" height="26"></rect>
<text id="test:-5" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="198" y="98">test: 5</tspan>
</text>
<text id="proxy" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal" fill="#000000">
<tspan x="186" y="17">proxy</tspan>
</text>
<text id="target" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal" fill="#000000">
<tspan x="198" y="74">target</tspan>
</text>
<path id="Line" d="M116.536765,83.5 L4.46323529,83.5 L4.46323529,80.5 L116.536765,80.5 L116.536765,72.5 L135.536765,82 L116.536765,91.5 L116.536765,83.5 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<path id="Line-Copy-4" d="M24.4632353,106.5 L136.536765,106.5 L136.536765,109.5 L24.4632353,109.5 L24.4632353,117.5 L5.46323529,108 L24.4632353,98.5 L24.4632353,106.5 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<path id="Line-Copy" d="M190.478261,89 L176.478261,96 L176.478261,82 L190.478261,89 Z M142,90 L142,88 L146,88 L146,90 L142,90 Z M149,90 L149,88 L153,88 L153,90 L149,90 Z M156,90 L156,88 L160,88 L160,90 L156,90 Z M163,90 L163,88 L167,88 L167,90 L163,90 Z M170,90 L170,88 L174,88 L174,90 L170,90 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<path id="Line-Copy-2" d="M157,99 L159,99 L159,101 L157,101 L157,107 L143,100 L157,93 L157,99 Z M162,101 L162,99 L166,99 L166,101 L162,101 Z M169,101 L169,99 L173,99 L173,101 L169,101 Z M176,101 L176,99 L180,99 L180,101 L176,101 Z M183,101 L183,99 L187,99 L187,101 L183,101 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<text id="get-proxy.test" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal" fill="#000000">
<tspan x="7" y="69">get proxy.test</tspan>
</text>
<text id="5" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal" fill="#000000">
<tspan x="70" y="135">5</tspan>
</text>
<path d="M207,160 C243.450793,160 273,130.450793 273,94 C273,57.5492065 243.450793,28 207,28 C170.549207,28 141,57.5492065 141,94 C141,130.450793 170.549207,160 207,160 Z" id="Oval" stroke="#BCA68E" stroke-width="2" stroke-dasharray="5"></path>
</g>
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="292" height="180" viewBox="0 0 292 180"><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="misc" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><g id="proxy.svg"><path id="Rectangle-2" fill="#FFF9EB" stroke="#BCA68E" stroke-width="2" d="M191 81h69v26h-69z"/><text id="test:-5" fill="#8A704D" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal"><tspan x="198" y="98">test: 5</tspan></text><text id="proxy" fill="#000" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal"><tspan x="186" y="17">proxy</tspan></text><text id="target" fill="#000" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal"><tspan x="198" y="74">target</tspan></text><path id="Line" fill="#EE6B47" fill-rule="nonzero" d="M116.537 83.5H4.463v-3h112.074v-8l19 9.5-19 9.5v-8z"/><path id="Line-Copy-4" fill="#EE6B47" fill-rule="nonzero" d="M24.463 106.5h112.074v3H24.463v8l-19-9.5 19-9.5v8z"/><path id="Line-Copy" fill="#EE6B47" fill-rule="nonzero" d="M190.478 89l-14 7V82l14 7zM142 90v-2h4v2h-4zm7 0v-2h4v2h-4zm7 0v-2h4v2h-4zm7 0v-2h4v2h-4zm7 0v-2h4v2h-4z"/><path id="Line-Copy-2" fill="#EE6B47" fill-rule="nonzero" d="M157 99h2v2h-2v6l-14-7 14-7v6zm5 2v-2h4v2h-4zm7 0v-2h4v2h-4zm7 0v-2h4v2h-4zm7 0v-2h4v2h-4z"/><text id="get-proxy.test" fill="#000" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal"><tspan x="7" y="69">get proxy.test</tspan></text><text id="5" fill="#000" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal"><tspan x="70" y="135">5</tspan></text><path id="Oval" stroke="#BCA68E" stroke-dasharray="5" stroke-width="2" d="M207 160c36.45 0 66-29.55 66-66s-29.55-66-66-66-66 29.55-66 66 29.55 66 66 66z"/></g></g></svg>

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Before After
Before After