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,18 +1 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="245px" height="74px" viewBox="0 0 245 74" 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>hello-java-boundaries.svg</title>
<desc>Created with sketchtool.</desc>
<g id="regexp" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="hello-java-boundaries.svg">
<text id="Hello,-Java!" font-family="PTMono-Regular, PT Mono" font-size="22" font-weight="normal" letter-spacing="4.58333333" fill="#8A704D">
<tspan x="20" y="61">Hello, Java</tspan>
<tspan x="215.616667" y="61">!</tspan>
</text>
<path id="Line" d="M15.5,25.5 L15.5,8.5 L17.5,8.5 L17.5,25.5 L23.5,25.5 L16.5,39.5 L9.5,25.5 L15.5,25.5 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<path id="Line-2" d="M110.5,25.5 L110.5,8.5 L112.5,8.5 L112.5,25.5 L118.5,25.5 L111.5,39.5 L104.5,25.5 L110.5,25.5 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<path id="Line-3" d="M142.5,25.5 L142.5,8.5 L144.5,8.5 L144.5,25.5 L150.5,25.5 L143.5,39.5 L136.5,25.5 L142.5,25.5 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<path id="Line-4" d="M216.5,25.5 L216.5,8.5 L218.5,8.5 L218.5,25.5 L224.5,25.5 L217.5,39.5 L210.5,25.5 L216.5,25.5 Z" fill="#EE6B47" fill-rule="nonzero"></path>
</g>
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="245" height="74" viewBox="0 0 245 74"><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="hello-java-boundaries.svg"><text id="Hello,-Java!" fill="#8A704D" font-family="PTMono-Regular, PT Mono" font-size="22" font-weight="normal" letter-spacing="4.583"><tspan x="20" y="61">Hello, Java</tspan> <tspan x="215.617" y="61">!</tspan></text><path id="Line" fill="#EE6B47" fill-rule="nonzero" d="M15.5 25.5v-17h2v17h6l-7 14-7-14h6z"/><path id="Line-2" fill="#EE6B47" fill-rule="nonzero" d="M110.5 25.5v-17h2v17h6l-7 14-7-14h6z"/><path id="Line-3" fill="#EE6B47" fill-rule="nonzero" d="M142.5 25.5v-17h2v17h6l-7 14-7-14h6z"/><path id="Line-4" fill="#EE6B47" fill-rule="nonzero" d="M216.5 25.5v-17h2v17h6l-7 14-7-14h6z"/></g></g></svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Before After
Before After

View file

@ -1,18 +1 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="236px" height="52px" viewBox="0 0 236 52" 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>love-html5-classes.svg</title>
<desc>Created with sketchtool.</desc>
<g id="regexp" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" font-family="PTMono-Regular, PT Mono" font-weight="normal">
<g id="love-html5-classes.svg">
<text id="I-love-HTML5" font-size="22" letter-spacing="4.58333333" fill="#8A704D">
<tspan x="9" y="39">I love HTML</tspan>
<tspan x="204.616667" y="39">5</tspan>
</text>
<text id="\s-\w-\w-\w-\w-\d" font-size="12" letter-spacing="-1.19999998" fill="#F38158">
<tspan x="114" y="16">\s \w \w \w \w \</tspan>
<tspan x="210" y="16">d</tspan>
</text>
</g>
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="236" height="52" viewBox="0 0 236 52"><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" font-family="PTMono-Regular, PT Mono" font-weight="normal"><g id="love-html5-classes.svg"><text id="I-love-HTML5" fill="#8A704D" font-size="22" letter-spacing="4.583"><tspan x="9" y="39">I love HTML</tspan> <tspan x="204.617" y="39">5</tspan></text><text id="\s-\w-\w-\w-\w-\d" fill="#F38158" font-size="12" letter-spacing="-1.2"><tspan x="114" y="16">\s \w \w \w \w \</tspan> <tspan x="210" y="16">d</tspan></text></g></g></svg>

Before

Width:  |  Height:  |  Size: 1,010 B

After

Width:  |  Height:  |  Size: 1 KiB

Before After
Before After