Add font files to the image folder and use them in the SVG images

This commit is contained in:
Waldir Pimenta 2019-12-09 15:25:16 +00:00 committed by Agniva De Sarker
parent b7c5aefbf8
commit 0e8cbcac0c
4 changed files with 21 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@ -6,6 +6,19 @@
</linearGradient>
<linearGradient xlink:href="#a" id="b" x1="10%" y1="10%" x2="90%" y2="90%"/>
<linearGradient xlink:href="#a" id="c" x1="90%" y1="90%" x2="10%" y2="10%"/>
<style type="text/css">
<![CDATA[
@font-face {
font-family: 'Sometype Mono';
src: url('./SometypeMono-Regular.ttf');
}
@font-face {
font-family: 'Sometype Mono';
src: url('./SometypeMono-Bold.ttf');
font-weight: bold;
}
]]>
</style>
</defs>
<rect width="100%" height="100%" x="0" y="0" fill="#203050"/>
<g transform="translate(200,200)">

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -6,6 +6,14 @@
</linearGradient>
<linearGradient xlink:href="#a" id="b" x1="10%" y1="10%" x2="90%" y2="90%"/>
<linearGradient xlink:href="#a" id="c" x1="90%" y1="90%" x2="10%" y2="10%"/>
<style type="text/css">
<![CDATA[
@font-face {
font-family: 'Sometype Mono';
src: url('./SometypeMono-Regular.ttf');
}
]]>
</style>
</defs>
<rect width="100%" height="100%" x="0" y="0" fill="#203050"/>
<rect width="460" height="460" x="170" y="170" rx="50" ry="50" fill="url(#b)"/>

Before

Width:  |  Height:  |  Size: 779 B

After

Width:  |  Height:  |  Size: 967 B