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,22 +1 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="195px" height="145px" viewBox="0 0 195 145" 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>8bit-integer-256.svg</title>
<desc>Created with sketchtool.</desc>
<g id="binary" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="8bit-integer-256.svg">
<rect id="Rectangle-227" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="24" y="33" width="100" height="28"></rect>
<text id="100000000" font-family="PTMono-Regular, PT Mono" font-size="16" font-weight="normal" letter-spacing="3" fill="#000000">
<tspan x="12.8" y="51">10000000</tspan>
<tspan x="113.6" y="51">0</tspan>
</text>
<text id="8-bit-integer" font-family="OpenSans-Regular, Open Sans" font-size="16" font-weight="normal" fill="#000000">
<tspan x="27.640625" y="25">8-bit intege</tspan>
<tspan x="111.828125" y="25" letter-spacing="3">r</tspan>
</text>
<text id="256" font-family="OpenSans-Regular, Open Sans" font-size="16" font-weight="normal" fill="#9B9B9B">
<tspan x="135.777344" y="51">256</tspan>
</text>
</g>
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="195" height="145" viewBox="0 0 195 145"><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="binary" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><g id="8bit-integer-256.svg"><path id="Rectangle-227" fill="#FFF9EB" stroke="#E8C48E" stroke-width="2" d="M24 33h100v28H24z"/><text id="100000000" fill="#000" font-family="PTMono-Regular, PT Mono" font-size="16" font-weight="normal" letter-spacing="3"><tspan x="12.8" y="51">10000000</tspan> <tspan x="113.6" y="51">0</tspan></text><text id="8-bit-integer" fill="#000" font-family="OpenSans-Regular, Open Sans" font-size="16" font-weight="normal"><tspan x="27.641" y="25">8-bit intege</tspan> <tspan x="111.828" y="25" letter-spacing="3">r</tspan></text><text id="256" fill="#9B9B9B" font-family="OpenSans-Regular, Open Sans" font-size="16" font-weight="normal"><tspan x="135.777" y="51">256</tspan></text></g></g></svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Before After
Before After

View file

@ -1,22 +1 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="195px" height="145px" viewBox="0 0 195 145" 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>8bit-integer-257.svg</title>
<desc>Created with sketchtool.</desc>
<g id="binary" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="8bit-integer-257.svg">
<rect id="Rectangle-227-Copy" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="24" y="33" width="100" height="28"></rect>
<text id="100000001" font-family="PTMono-Regular, PT Mono" font-size="16" font-weight="normal" letter-spacing="3" fill="#000000">
<tspan x="12.8" y="51">10000000</tspan>
<tspan x="113.6" y="51">1</tspan>
</text>
<text id="8-bit-integer" font-family="OpenSans-Regular, Open Sans" font-size="16" font-weight="normal" fill="#000000">
<tspan x="28.640625" y="25">8-bit intege</tspan>
<tspan x="112.828125" y="25" letter-spacing="3">r</tspan>
</text>
<text id="257" font-family="OpenSans-Regular, Open Sans" font-size="16" font-weight="normal" fill="#9B9B9B">
<tspan x="133.777344" y="50">257</tspan>
</text>
</g>
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="195" height="145" viewBox="0 0 195 145"><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="binary" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><g id="8bit-integer-257.svg"><path id="Rectangle-227-Copy" fill="#FFF9EB" stroke="#E8C48E" stroke-width="2" d="M24 33h100v28H24z"/><text id="100000001" fill="#000" font-family="PTMono-Regular, PT Mono" font-size="16" font-weight="normal" letter-spacing="3"><tspan x="12.8" y="51">10000000</tspan> <tspan x="113.6" y="51">1</tspan></text><text id="8-bit-integer" fill="#000" font-family="OpenSans-Regular, Open Sans" font-size="16" font-weight="normal"><tspan x="28.641" y="25">8-bit intege</tspan> <tspan x="112.828" y="25" letter-spacing="3">r</tspan></text><text id="257" fill="#9B9B9B" font-family="OpenSans-Regular, Open Sans" font-size="16" font-weight="normal"><tspan x="133.777" y="50">257</tspan></text></g></g></svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Before After
Before After

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Before After
Before After

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

Before After
Before After

View file

@ -1,51 +1 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="659px" height="111px" viewBox="0 0 659 111" 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>blob.svg</title>
<desc>Created with sketchtool.</desc>
<g id="binary" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="blob.svg">
<rect id="Rectangle-227" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="108" y="56" width="96" height="28"></rect>
<text id="image/png" font-family="PTMono-Regular, PT Mono" font-size="16" font-weight="normal" fill="#000000">
<tspan x="113.8" y="74">image/pn</tspan>
<tspan x="190.6" y="74" letter-spacing="3">g</tspan>
</text>
<rect id="Rectangle-227" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="238" y="56" width="71" height="28"></rect>
<text id="blob1" font-family="PTMono-Regular, PT Mono" font-size="16" font-weight="normal" fill="#000000">
<tspan x="250" y="74">blob1</tspan>
</text>
<rect id="Rectangle-227-Copy" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="308" y="56" width="71" height="28"></rect>
<text id="blob2" font-family="PTMono-Regular, PT Mono" font-size="16" font-weight="normal" fill="#000000">
<tspan x="320" y="74">blob2</tspan>
</text>
<rect id="Rectangle-227-Copy-3" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="475" y="56" width="71" height="28"></rect>
<text id="str" font-family="PTMono-Regular, PT Mono" font-size="16" font-weight="normal" fill="#000000">
<tspan x="497.1" y="74">str</tspan>
</text>
<rect id="Rectangle-227-Copy-4" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="546" y="56" width="71" height="28"></rect>
<text id="buffer" font-family="PTMono-Regular, PT Mono" font-size="16" font-weight="normal" fill="#000000">
<tspan x="553.7" y="74">buffer</tspan>
</text>
<rect id="Rectangle-227-Copy-2" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="379" y="56" width="96" height="28"></rect>
<text id="..." font-family="PTMono-Regular, PT Mono" font-size="16" font-weight="normal" fill="#000000">
<tspan x="413.1" y="74">...</tspan>
</text>
<text id="type" font-family="OpenSans-Regular, Open Sans" font-size="20" font-weight="normal" fill="#000000">
<tspan x="135.692383" y="24">type</tspan>
</text>
<text id="Blob" font-family="OpenSans-Regular, Open Sans" font-size="20" font-weight="normal" fill="#000000">
<tspan x="24.8232422" y="76">Blob</tspan>
</text>
<text id="blobParts" font-family="OpenSans-Regular, Open Sans" font-size="20" font-weight="normal" fill="#000000">
<tspan x="378.209961" y="24">blobParts</tspan>
</text>
<text id="+" font-family="OpenSans-Regular, Open Sans" font-size="20" font-weight="normal" fill="#D0021B">
<tspan x="216.782227" y="77">+</tspan>
</text>
<text id="=" font-family="OpenSans-Regular, Open Sans" font-size="20" font-weight="normal" fill="#D0021B">
<tspan x="77.7822266" y="77">=</tspan>
</text>
<path d="M239,45 C320.340278,38.3333333 382.673611,35 426,35 C469.326389,35 531.659722,38.3333333 613,45" id="Line-2" stroke="#EE6B47" stroke-width="2" stroke-linecap="square"></path>
</g>
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="659" height="111" viewBox="0 0 659 111"><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="binary" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><g id="blob.svg"><path id="Rectangle-227" fill="#FFF9EB" stroke="#E8C48E" stroke-width="2" d="M108 56h96v28h-96z"/><text id="image/png" fill="#000" font-family="PTMono-Regular, PT Mono" font-size="16" font-weight="normal"><tspan x="113.8" y="74">image/pn</tspan> <tspan x="190.6" y="74" letter-spacing="3">g</tspan></text><path id="Rectangle-227" fill="#FFF9EB" stroke="#E8C48E" stroke-width="2" d="M238 56h71v28h-71z"/><text id="blob1" fill="#000" font-family="PTMono-Regular, PT Mono" font-size="16" font-weight="normal"><tspan x="250" y="74">blob1</tspan></text><path id="Rectangle-227-Copy" fill="#FFF9EB" stroke="#E8C48E" stroke-width="2" d="M308 56h71v28h-71z"/><text id="blob2" fill="#000" font-family="PTMono-Regular, PT Mono" font-size="16" font-weight="normal"><tspan x="320" y="74">blob2</tspan></text><path id="Rectangle-227-Copy-3" fill="#FFF9EB" stroke="#E8C48E" stroke-width="2" d="M475 56h71v28h-71z"/><text id="str" fill="#000" font-family="PTMono-Regular, PT Mono" font-size="16" font-weight="normal"><tspan x="497.1" y="74">str</tspan></text><path id="Rectangle-227-Copy-4" fill="#FFF9EB" stroke="#E8C48E" stroke-width="2" d="M546 56h71v28h-71z"/><text id="buffer" fill="#000" font-family="PTMono-Regular, PT Mono" font-size="16" font-weight="normal"><tspan x="553.7" y="74">buffer</tspan></text><path id="Rectangle-227-Copy-2" fill="#FFF9EB" stroke="#E8C48E" stroke-width="2" d="M379 56h96v28h-96z"/><text id="..." fill="#000" font-family="PTMono-Regular, PT Mono" font-size="16" font-weight="normal"><tspan x="413.1" y="74">...</tspan></text><text id="type" fill="#000" font-family="OpenSans-Regular, Open Sans" font-size="20" font-weight="normal"><tspan x="135.692" y="24">type</tspan></text><text id="Blob" fill="#000" font-family="OpenSans-Regular, Open Sans" font-size="20" font-weight="normal"><tspan x="24.823" y="76">Blob</tspan></text><text id="blobParts" fill="#000" font-family="OpenSans-Regular, Open Sans" font-size="20" font-weight="normal"><tspan x="378.21" y="24">blobParts</tspan></text><text id="+" fill="#D0021B" font-family="OpenSans-Regular, Open Sans" font-size="20" font-weight="normal"><tspan x="216.782" y="77">+</tspan></text><text id="=" fill="#D0021B" font-family="OpenSans-Regular, Open Sans" font-size="20" font-weight="normal"><tspan x="77.782" y="77">=</tspan></text><path id="Line-2" stroke="#EE6B47" stroke-linecap="square" stroke-width="2" d="M239 45c81.34-6.667 143.674-10 187-10 43.326 0 105.66 3.333 187 10"/></g></g></svg>

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Before After
Before After