Add custom Linux icon, why not

This commit is contained in:
Dawid Potocki
2019-09-10 18:09:58 +12:00
parent 02810cca3c
commit 2dbc746133
10 changed files with 51 additions and 6 deletions

View File

@ -163,6 +163,7 @@
[data-icon]:before,
.ptio-f-droid:before,
.ptio-ios:before,
.ptio-linux:before,
.ptio-macos:before,
.ptio-netbsd:before,
.ptio-openbsd:before,
@ -183,6 +184,7 @@
.ptio-f-droid:before { content: "\f100"; }
.ptio-ios:before { content: "\f101"; }
.ptio-linux:before { content: "\f107"; }
.ptio-macos:before { content: "\f102"; }
.ptio-netbsd:before { content: "\f103"; }
.ptio-openbsd:before { content: "\f104"; }
@ -202,7 +204,7 @@
<body class="characters-off">
<div id="page" class="container">
<header>
<h1>ptio-font contains 6 glyphs:</h1>
<h1>ptio-font contains 7 glyphs:</h1>
<a onclick="toggleCharacters(); return false;" href="#">Toggle Preview Characters</a>
</header>
@ -233,6 +235,19 @@
</div>
</div>
<div class="glyph">
<div class="preview-glyphs">
<span class="step size-12"><span class="letters">Pp</span><i id="ptio-linux" class="ptio-linux"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="ptio-linux" class="ptio-linux"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="ptio-linux" class="ptio-linux"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="ptio-linux" class="ptio-linux"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="ptio-linux" class="ptio-linux"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="ptio-linux" class="ptio-linux"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="ptio-linux" class="ptio-linux"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="ptio-linux" class="ptio-linux"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="ptio-linux" class="ptio-linux"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="ptio-linux" class="ptio-linux"></i></span>
</div>
<div class="preview-scale">
<span class="step">12</span><span class="step">14</span><span class="step">16</span><span class="step">18</span><span class="step">21</span><span class="step">24</span><span class="step">36</span><span class="step">48</span><span class="step">60</span><span class="step">72</span>
</div>
<div class="usage">
<input class="class" type="text" readonly="readonly" onClick="this.select();" value=".ptio-linux" />
<input class="point" type="text" readonly="readonly" onClick="this.select();" value="&amp;#xf107;" />
</div>
</div>
<div class="glyph">
<div class="preview-glyphs">
<span class="step size-12"><span class="letters">Pp</span><i id="ptio-macos" class="ptio-macos"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="ptio-macos" class="ptio-macos"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="ptio-macos" class="ptio-macos"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="ptio-macos" class="ptio-macos"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="ptio-macos" class="ptio-macos"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="ptio-macos" class="ptio-macos"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="ptio-macos" class="ptio-macos"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="ptio-macos" class="ptio-macos"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="ptio-macos" class="ptio-macos"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="ptio-macos" class="ptio-macos"></i></span>

Binary file not shown.

View File

@ -5,7 +5,7 @@
-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<metadata>
Created by FontForge 20190801 at Tue Sep 10 17:35:44 2019
Created by FontForge 20190801 at Tue Sep 10 18:07:02 2019
By Dawid Potocki
</metadata>
@ -19,10 +19,10 @@ Created by FontForge 20190801 at Tue Sep 10 17:35:44 2019
panose-1="2 0 5 3 0 0 0 0 0 0"
ascent="448"
descent="-64"
bbox="0 -64.0039 512.014 448"
bbox="-0.00811547 -64.0039 512.014 448"
underline-thickness="25.6"
underline-position="-51.2"
unicode-range="U+0020-F106"
unicode-range="U+0020-F107"
/>
<missing-glyph />
<glyph glyph-name="space" unicode=" " horiz-adv-x="200"
@ -46,6 +46,29 @@ c0 -42.3398 -21.6309 -69.249 -55.5283 -69.249c-34.0312 0 -55.5283 26.9062 -55.52
c0 28.3584 -16.3564 44.3203 -55.0029 53.1543l-21.8955 5.0127c-23.3467 5.54004 -32.9775 12.9268 -32.9775 25.5898c0 15.8281 14.5098 26.3789 36.0088 26.3789c21.7637 0 36.6689 -10.6846 38.251 -28.4893h32.4492
c-0.791992 33.5029 -28.4883 56.1914 -70.4346 56.1914c-41.4199 0 -70.834 -22.8184 -70.834 -56.585c0 -27.1699 16.6191 -44.0576 51.7051 -52.1006l24.666 -5.80371c24.0049 -5.67188 33.7686 -13.5859 33.7686 -27.3027c0 -15.8281 -15.96 -27.1699 -38.9092 -27.1699
c-23.2129 0 -40.7568 11.4756 -42.8652 29.0205h-32.9775z" />
<glyph glyph-name="linux" unicode="&#xf107;"
d="M407.286 44.2285l-0.000976562 0.00292969c11.0986 -12.3984 15.8984 -21.4971 15.499 -29.6963c-0.5 -8.2002 -6.5 -13.7998 -13.8994 -18.2988c-14.9004 -8.99902 -37.2979 -15.7988 -50.8975 -32.1973c-14.1992 -16.8984 -31.6982 -26.5977 -48.2969 -27.8975
c-16.499 -1.30078 -31.998 6.29883 -40.2969 22.998v0.0996094c-1.09961 2.09961 -1.90039 4.39941 -2.5 6.69922c-21.4971 -1.19922 -40.1953 5.2998 -55.0938 4.09961c-22 -1.19922 -35.7988 -6.49902 -48.2979 -6.59863
c-4.79883 -10.5996 -14.2979 -17.5986 -25.8975 -20.1992c-15.9971 -3.69922 -36.0957 0 -55.8945 10.3994c-18.4971 9.79883 -41.9951 8.89941 -59.2939 12.499c-8.69922 1.7998 -16.2988 4.99902 -20.0986 12.2988c-3.69922 7.29883 -2.99902 17.2979 2.2002 31.6973
c1.7002 5.09961 0.399414 12.6992 -0.799805 20.7979c-0.600586 3.90039 -1.2002 7.89941 -1.2002 11.7998c0 4.29883 0.700195 8.49902 2.7998 12.3984c4.5 8.5 11.7988 12.0986 18.499 14.499c6.69922 2.40039 12.7988 4 16.998 8.2998
c5.19922 5.49902 10.0996 14.3984 16.5986 20.1982c-2.59961 17.1963 0.200195 35.3955 6.19922 53.2939c12.5977 37.8975 39.1963 74.1934 58.0947 96.6914c16.0986 22.8975 20.7979 41.2959 22.498 64.6943c1.09961 31.7969 -24.4971 135.389 77.8945 135.188
c80.8936 -0.0996094 76.2939 -85.3916 75.7939 -131.288c-0.299805 -30.0977 16.2988 -50.4961 33.3975 -71.9951c15.2002 -18 35.0977 -44.2969 46.4971 -74.3936c9.29883 -24.6006 12.8984 -51.7969 3.69922 -79.0947c1.40039 -0.5 2.7998 -1.2002 4.10059 -2
c1.39941 -0.799805 2.69922 -1.7998 3.99902 -2.89941c6.59961 -5.59961 8.69922 -14.2988 10.499 -22.3984c1.90039 -8.09863 3.59961 -15.6982 7.2002 -19.6982zM211.003 360.714h0.000976562c-3.2002 -7.19922 -3.89941 -14.8984 -2.90039 -21.7979
c3.60059 -0.900391 8.89941 -2.40039 12.999 -4.39941c-2.09961 12.1982 4.5 23.498 11.7998 22.998c8.89844 -0.300781 13.8984 -15.499 9.09863 -27.2979c-0.799805 -1.90039 -2.7998 -3.40039 -3.89941 -4.59961c6.69922 -2.30078 10.999 -4.10059 12.5986 -4.90039
c7.89941 9.5 10.7988 26.1982 4.2998 40.3975c-9.7998 21.3984 -34.1982 21.7979 -43.9971 -0.400391zM170.306 372.214v-0.00195312c-18.8984 0 -23.998 -37.4951 -8.39941 -52.0938c7.7998 5.69922 6.89941 4.69922 5.89941 5.49902
c-7.99902 6.89941 -6.59961 27.3975 1.7998 28.0977c6.2998 0.5 10.7988 -10.6992 9.59961 -19.5986c3.09961 2.10059 6.69922 3.60059 10.1992 4.59961c1.69922 19.2988 -8.99902 33.498 -19.0986 33.498zM157.972 304.373l-0.000976562 0.000976562
c-4.67773 -4.16504 2.83887 -10.7852 9.23535 -15.0332c7.79883 -4.59961 11.998 -11.499 19.998 -14.999c2.59961 -1.09961 5.69922 -1.89941 9.59863 -2.09961c18.3994 -1.09961 27.0986 11.2988 38.1973 14.8984c9.13184 2.93262 27.8047 17.0635 12.1992 22.1064
c-11.2988 4.89941 -16.2988 5.2002 -22.5977 9.2998c-10.2988 6.59863 -18.7988 8.89844 -25.8984 8.89844c-14.3984 0 -23.2119 -9.7832 -27.8975 -14.1982c-0.514648 -0.485352 -6.63477 -4.27441 -12.834 -8.87402zM153.504 -17.0264l-0.000976562 -0.000976562
c2.09961 20.5 -24.9951 34.9072 -34.4941 54.8057l-19.5986 35.5967c-6.79883 9.19922 -13.7988 14.7988 -21.8984 15.999c-7.69922 1.19922 -12.1982 -1.40039 -17.2979 -6.89941c-4.7998 -5.09961 -8.7998 -12.2998 -14.2988 -17.999
c-7.7998 -6.49902 -3.46777 -3.30859 -13.7666 -7.00879c-6.2998 -2.19922 -9.67383 1.18066 -13.1738 -5.51855c-2.69922 -4.99902 -2.09961 -12.1992 -0.899414 -19.998c1.19922 -7.89941 3 -16.2988 0.599609 -23.8984v-0.200195
c-4.99902 -13.6982 -4.99902 -18.8076 -2.59961 -23.5068c7.90039 -15.3994 38.7402 -1.04199 68.6367 -16.8408c31.3975 -16.3994 66.0918 -19.6279 68.792 15.4697zM158.606 11.0391v0c37.5967 -25.6973 82.1934 -15.6982 114.291 7.19922
c3.19922 11 6.2998 13.7119 6.7998 21.4111c0.799805 15.1992 1.59961 28.6982 4.39941 39.8975c3.09961 12.5986 9.2998 23.0977 21.3984 27.2979c2.2998 21.0977 18.6982 21.0977 38.2969 12.498c7.74512 -0.880859 18.4053 -13.8916 -24.2979 3.69141
c-5.2998 29.0977 -17.499 62.9043 -23.5977 74.3027c-11.5 21.3975 -29.498 61.7178 -37.1973 92.1143c-4.5 -6.39941 -12.3994 -11.8984 -22.2988 -14.998c-4.69922 -1.5 -9.69922 -5.5 -15.8984 -9c-13.8994 -7.99902 -29.998 -8.79883 -42.3975 1.2002
c-4.49902 3.59961 -7.99902 7.59961 -12.5986 10.2988c-1.59961 0.900391 -5.09961 3.2998 -6.19922 4.10059c-2 -37.7979 -27.2988 -81.7168 -39.2969 -109.114c-8.2998 -19.6973 -13.1992 -59.9453 -13.7988 -80.6436c-50.0479 44.9688 11.1963 143.627 -15.5986 27.9473
c3.49902 -11.1982 11.0986 -21.498 24.5977 -29.8975c0 0 24.7979 -14.2979 38.2969 -32.4971c7.39941 -9.99902 9.69922 -18.6982 7.39941 -24.8975c-2.49902 -6.7002 -9.59863 -8.89941 -16.6982 -8.89941c4.7998 -6 5.60254 -6.40527 14.3984 -12.0117zM406.093 14.4092
h0.00195312c1.61035 9.45215 -6.78125 17.3408 -12.0117 24.373c-9.99902 11.3008 -7.10254 30.2266 -16.9795 38.752c-6.92188 5.97363 -6.31055 8.30957 -14.5117 8.71191c-7.69922 -8.79883 -25.7979 -19.5977 -38.3965 -16.2988
c-11.499 2.90039 -17.999 10.293 -18.7988 23.4912c-0.299805 -0.199219 -0.699219 -0.299805 -1 -0.5c-7.09863 -3.89941 -4.96777 -4.79199 -7.56738 -15.0918c-2.5 -10.1992 -3.39941 -23.498 -4.19922 -38.6973c-0.700195 -11.7998 -6.2002 -26.3984 -9.89941 -40.5967
c-3.5 -13.1992 -6.50391 -17.6836 -1.80469 -28.7832c7.19922 -14.498 13.8164 -20.3359 28.0156 -19.2363c14.1982 1.10059 28.6523 10.9092 41.8516 26.6074c21.9971 26.5977 54.3994 20.4707 55.2998 37.2686z" />
<glyph glyph-name="macos" unicode="&#xf102;"
d="M22.3262 393.681h467.347c12.3691 0 22.3262 -9.95703 22.3262 -22.3262v-358.71c0 -12.3691 -9.95703 -22.3262 -22.3262 -22.3262h-467.347c-12.3691 0 -22.3262 9.95703 -22.3262 22.3262v358.71c0 12.3691 9.95801 22.3262 22.3262 22.3262zM300.661 369.122
l-0.000976562 -0.0146484c-36.5176 -22.0273 -54 -80.3857 -76.6523 -205.402h76.6523v-38.3877h0.015625v-40.0879c22.4736 5.59863 49.1221 16.54 74.249 37.6279c1.98633 1.61719 4.37598 2.4043 6.74707 2.4082c3.04688 0.00488281 6.06152 -1.28711 8.13965 -3.78125

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.