From 208390a8cca984da236edea93c9c4841639078eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Wed, 10 Oct 2018 20:37:02 -0500 Subject: Added copyleft icon on libresocial --- build.sh | 1 + css/libresocial.css | 35 +++---- demo.html | 1 + fonts/libresocial.otf | Bin 37840 -> 38320 bytes fonts/libresocial.svg | 43 +++++---- fonts/libresocial.ttf | Bin 7284 -> 7416 bytes fonts/libresocial.woff | Bin 19648 -> 19924 bytes lab/copyleft.svg | 64 ++++++++++++ lab/metadata.json | 91 ++++++++--------- src/copyleft.svg | 258 +++++++++++++++++++++++++++++++++++++++++++++++++ 10 files changed, 412 insertions(+), 81 deletions(-) create mode 100644 lab/copyleft.svg create mode 100644 src/copyleft.svg diff --git a/build.sh b/build.sh index d3f1c67..6c82a7d 100755 --- a/build.sh +++ b/build.sh @@ -10,5 +10,6 @@ fi # copy files to fonts if [[ -n "$(ls -a ./lab/libresocial.{svg,otf,ttf,woff})" ]]; then + rm -fv ./fonts/libresocial.{svg,otf,ttf,woff} mv -fv ./lab/libresocial.{svg,otf,ttf,woff} ./fonts/ fi diff --git a/css/libresocial.css b/css/libresocial.css index 41da31f..780dc40 100644 --- a/css/libresocial.css +++ b/css/libresocial.css @@ -11,7 +11,7 @@ Written by Heckyel font-weight: normal; font-style: normal; } - + [class^="icon-"]:before, [class*=" icon-"]:before { font-family: "libresocial"; font-style: normal; @@ -46,19 +46,20 @@ Written by Heckyel /* Uncomment for 3D effect */ /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ } - -.icon-diaspora:before { content: '\e800'; } -.icon-friendica:before { content: '\e801'; } -.icon-gitlab:before { content: '\e802'; } -.icon-gnusocial:before { content: '\e803'; } -.icon-hubzilla:before { content: '\e804'; } -.icon-liberapay:before { content: '\e805'; } -.icon-mastodon:before { content: '\e806'; } -.icon-matrix:before { content: '\e807'; } -.icon-mediagoblin:before { content: '\e808'; } -.icon-notabug:before { content: '\e809'; } -.icon-peertube:before { content: '\e810'; } -.icon-pixelfed:before { content: '\e811'; } -.icon-pump:before { content: '\e812'; } -.icon-tox:before { content: '\e813'; } -.icon-xmpp:before { content: '\e814'; } + +.icon-copyleft:before { content: '\e800'; } +.icon-diaspora:before { content: '\e801'; } +.icon-friendica:before { content: '\e802'; } +.icon-gitlab:before { content: '\e803'; } +.icon-gnusocial:before { content: '\e804'; } +.icon-hubzilla:before { content: '\e805'; } +.icon-liberapay:before { content: '\e806'; } +.icon-mastodon:before { content: '\e807'; } +.icon-matrix:before { content: '\e808'; } +.icon-mediagoblin:before { content: '\e809'; } +.icon-notabug:before { content: '\e810'; } +.icon-peertube:before { content: '\e811'; } +.icon-pixelfed:before { content: '\e812'; } +.icon-pump:before { content: '\e813'; } +.icon-tox:before { content: '\e814'; } +.icon-xmpp:before { content: '\e815'; } diff --git a/demo.html b/demo.html index 52dc096..68dac65 100644 --- a/demo.html +++ b/demo.html @@ -7,6 +7,7 @@
+ diff --git a/fonts/libresocial.otf b/fonts/libresocial.otf index f5df4bf..690a231 100644 Binary files a/fonts/libresocial.otf and b/fonts/libresocial.otf differ diff --git a/fonts/libresocial.svg b/fonts/libresocial.svg index 7049bec..9a5a859 100644 --- a/fonts/libresocial.svg +++ b/fonts/libresocial.svg @@ -1,17 +1,17 @@ -Created by FontForge 20170320 at Tue Jul 10 22:24:50 2018 +Created by FontForge 20170320 at Wed Oct 10 20:31:51 2018 By heckyel Copyright (c) 2018, heckyel - - + - - - - - - - - - - - - - - + + +image/svg+xml \ No newline at end of file diff --git a/lab/metadata.json b/lab/metadata.json index 81270ae..e69aa6d 100644 --- a/lab/metadata.json +++ b/lab/metadata.json @@ -1,47 +1,48 @@ { - "props": { - "ascent": 96, - "descent": 32, - "em": 128, - "encoding": "UnicodeFull", - "lang": "English (US)", - "family": "libresocial", - "style": "Regular", - "familyname": "libresocial", - "fontname": "libresocial", - "fullname": "libresocial" - }, - "glyphs": { - "0xe800": "diaspora.svg", - "0xe801": "friendica.svg", - "0xe802": "gitlab.svg", - "0xe803": "gnusocial.svg", - "0xe804": "hubzilla.svg", - "0xe805": "liberapay.svg", - "0xe806": "mastodon.svg", - "0xe807": "matrix.svg", - "0xe808": "mediagoblin.svg", - "0xe809": "notabug.svg", - "0xe810": "peertube.svg", - "0xe811": "pixelfed.svg", - "0xe812": "pump.svg", - "0xe813": "tox.svg", - "0xe814": "xmpp.svg" - }, - "sfnt_names": [ - ["English (US)", "Copyright", "Copyright (c) 2018 Conocimientos Libres"], - ["English (US)", "Family", "libresocial"], - ["English (US)", "SubFamily", "Regular"], - ["English (US)", "UniqueID", "Libresocial 2018-7-11"], - ["English (US)", "Fullname", "libresocial"], - ["English (US)", "Version", "Version 1.0"], - ["English (US)", "PostScriptName", "libresocial"] - ], - "input": ".", - "output": [ - "libresocial.ttf", - "libresocial.otf", - "libresocial.svg", - "libresocial.woff" - ] + "props": { + "ascent": 96, + "descent": 32, + "em": 128, + "encoding": "UnicodeFull", + "lang": "English (US)", + "family": "libresocial", + "style": "Regular", + "familyname": "libresocial", + "fontname": "libresocial", + "fullname": "libresocial" + }, + "glyphs": { + "0xe800": "copyleft.svg", + "0xe801": "diaspora.svg", + "0xe802": "friendica.svg", + "0xe803": "gitlab.svg", + "0xe804": "gnusocial.svg", + "0xe805": "hubzilla.svg", + "0xe806": "liberapay.svg", + "0xe807": "mastodon.svg", + "0xe808": "matrix.svg", + "0xe809": "mediagoblin.svg", + "0xe810": "notabug.svg", + "0xe811": "peertube.svg", + "0xe812": "pixelfed.svg", + "0xe813": "pump.svg", + "0xe814": "tox.svg", + "0xe815": "xmpp.svg" + }, + "sfnt_names": [ + ["English (US)", "Copyright", "Copyright (c) 2018 Conocimientos Libres"], + ["English (US)", "Family", "libresocial"], + ["English (US)", "SubFamily", "Regular"], + ["English (US)", "UniqueID", "Libresocial 2018-7-11"], + ["English (US)", "Fullname", "libresocial"], + ["English (US)", "Version", "Version 1.0"], + ["English (US)", "PostScriptName", "libresocial"] + ], + "input": ".", + "output": [ + "libresocial.ttf", + "libresocial.otf", + "libresocial.svg", + "libresocial.woff" + ] } diff --git a/src/copyleft.svg b/src/copyleft.svg new file mode 100644 index 0000000..9705069 --- /dev/null +++ b/src/copyleft.svg @@ -0,0 +1,258 @@ + + + +image/svg+xmlCuadrículas de Guía para las fuentes + +Baseline + + \ No newline at end of file -- cgit v1.2.3