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,50 +1 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="502px" height="225px" viewBox="0 0 502 225" 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>recursion-pow.svg</title>
<desc>Created with sketchtool.</desc>
<g id="combined" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="recursion-pow.svg">
<g id="Rectangle-1-+-Корень" transform="translate(159.000000, 2.000000)">
<rect id="Rectangle-1" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="1" y="1" width="78" height="28" rx="14"></rect>
<text id="pow(x,n)" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="8" y="19">pow(x,n)</tspan>
</text>
</g>
<g id="Rectangle-1-+-Корень-Copy-2" transform="translate(5.000000, 192.000000)" fill="#FFF9EB" stroke="#E8C48E" stroke-width="2">
<rect id="Rectangle-1" x="1" y="1" width="85" height="28" rx="14"></rect>
</g>
<text id="x" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="46.5" y="210">x</tspan>
</text>
<g id="Rectangle-1-+-Корень-Copy-3" transform="translate(353.000000, 120.000000)" fill="#FFF9EB" stroke="#E8C48E" stroke-width="2">
<rect id="Rectangle-1" x="1" y="1" width="140" height="28" rx="14"></rect>
</g>
<text id="x-*-pow(x,-n-1)" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="362.5" y="138">x * pow(x, n-1)</tspan>
</text>
<path id="Line" d="M198,73 L198,32 L201,32 L201,73 L209,73 L199.5,92 L190,73 L198,73 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<path id="Path-1218" d="M48.3890337,167.547739 L48.3890337,129.366765 L110.691299,129.366765 L110.691299,132.366765 L51.3890337,132.366765 L51.3890337,167.547739 L59.3890337,167.547739 L49.8890337,186.547739 L40.3890337,167.547739 L48.3890337,167.547739 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<rect id="Rectangle-356" fill="#FFFFFF" x="18" y="143" width="60" height="20"></rect>
<g id="Rectangle-354-+-Каково-“официальное”" transform="translate(117.000000, 100.000000)">
<path d="M2.52996327,35.5 L82.5,69.9113491 L162.470037,35.5 L82.5,1.08865086 L2.52996327,35.5 Z" id="Rectangle-354" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB"></path>
<text id="n-==-1-?" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="54.9" y="40">n == 1 ?</tspan>
</text>
</g>
<text id="Yes" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="40" y="156">Yes</tspan>
</text>
<text id="No" font-family="PTSans-Regular, PT Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="299" y="123">No</tspan>
</text>
<path id="Line" d="M324,135 L286,135 L286,132 L324,132 L324,124 L343,133.5 L324,143 L324,135 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<polygon id="Line-decoration-1" stroke="#EE6B47" stroke-width="3" fill="#EE6B47" transform="translate(224.400000, 59.000000) scale(-1, 1) translate(-224.400000, -59.000000) " points="229.8 59 219 56 219 62"></polygon>
<path d="M420.5,111.5 L420.5,58.5" id="Line" stroke="#EE6B47" stroke-width="3" stroke-linecap="square" stroke-dasharray="5,5"></path>
<text id="recursive-call-until" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="233.5" y="49">recursive call until n==1</tspan>
</text>
<path d="M232.5,58.5 L421.5,58.5" id="Line-Copy" stroke="#EE6B47" stroke-width="3" stroke-linecap="square" stroke-dasharray="5,5"></path>
</g>
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="502" height="225" viewBox="0 0 502 225"><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="combined" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><g id="recursion-pow.svg"><g id="Rectangle-1-+-Корень" transform="translate(159 2)"><rect id="Rectangle-1" width="78" height="28" x="1" y="1" fill="#FFF9EB" stroke="#E8C48E" stroke-width="2" rx="14"/><text id="pow(x,n)" fill="#8A704D" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal"><tspan x="8" y="19">pow(x,n)</tspan></text></g><g id="Rectangle-1-+-Корень-Copy-2" fill="#FFF9EB" stroke="#E8C48E" stroke-width="2" transform="translate(5 192)"><rect id="Rectangle-1" width="85" height="28" x="1" y="1" rx="14"/></g><text id="x" fill="#8A704D" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal"><tspan x="46.5" y="210">x</tspan></text><g id="Rectangle-1-+-Корень-Copy-3" fill="#FFF9EB" stroke="#E8C48E" stroke-width="2" transform="translate(353 120)"><rect id="Rectangle-1" width="140" height="28" x="1" y="1" rx="14"/></g><text id="x-*-pow(x,-n-1)" fill="#8A704D" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal"><tspan x="362.5" y="138">x * pow(x, n-1)</tspan></text><path id="Line" fill="#EE6B47" fill-rule="nonzero" d="M198 73V32h3v41h8l-9.5 19-9.5-19h8z"/><path id="Path-1218" fill="#EE6B47" fill-rule="nonzero" d="M48.389 167.548v-38.181h62.302v3H51.39v35.18h8l-9.5 19-9.5-19h8z"/><path id="Rectangle-356" fill="#FFF" d="M18 143h60v20H18z"/><g id="Rectangle-354-+-Каково-“официальное”" transform="translate(117 100)"><path id="Rectangle-354" fill="#FFF9EB" stroke="#E8C48E" stroke-width="2" d="M2.53 35.5L82.5 69.911 162.47 35.5 82.5 1.089 2.53 35.5z"/><text id="n-==-1-?" fill="#8A704D" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal"><tspan x="54.9" y="40">n == 1 ?</tspan></text></g><text id="Yes" fill="#8A704D" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal"><tspan x="40" y="156">Yes</tspan></text><text id="No" fill="#8A704D" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal"><tspan x="299" y="123">No</tspan></text><path id="Line" fill="#EE6B47" fill-rule="nonzero" d="M324 135h-38v-3h38v-8l19 9.5-19 9.5v-8z"/><path id="Line-decoration-1" fill="#EE6B47" stroke="#EE6B47" stroke-width="3" d="M219 59l10.8-3v6z"/><path id="Line" stroke="#EE6B47" stroke-dasharray="5,5" stroke-linecap="square" stroke-width="3" d="M420.5 111.5v-53"/><text id="recursive-call-until" fill="#8A704D" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal"><tspan x="233.5" y="49">recursive call until n==1</tspan></text><path id="Line-Copy" stroke="#EE6B47" stroke-dasharray="5,5" stroke-linecap="square" stroke-width="3" d="M232.5 58.5h189"/></g></g></svg>

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Before After
Before After