privacyguides.org/font
nitrohorse a90d0dcaa2 Replace StumbleUpon with Mix (#1312)
Co-authored-by: Dawid Potocki <dpot@disroot.org>
2019-09-26 19:46:50 +00:00
..
svg Replace StumbleUpon with Mix (#1312) 2019-09-26 19:46:50 +00:00
fontcustom.yml Add our new custom icon font and fix platform links (#1284) 2019-09-11 02:34:41 +00:00
Gemfile Add our new custom icon font and fix platform links (#1284) 2019-09-11 02:34:41 +00:00
Gemfile.lock Add our new custom icon font and fix platform links (#1284) 2019-09-11 02:34:41 +00:00
LICENSE Add our new custom icon font and fix platform links (#1284) 2019-09-11 02:34:41 +00:00
Makefile Add our new custom icon font and fix platform links (#1284) 2019-09-11 02:34:41 +00:00
README.md Add our new custom icon font and fix platform links (#1284) 2019-09-11 02:34:41 +00:00

ptio-font

This font contains icons we need, which Font Awesome does not have.

Name CSS class Issue
F-Droid ptio-f-droid https://github.com/FortAwesome/Font-Awesome/issues/15492
iOS ptio-ios https://github.com/FortAwesome/Font-Awesome/issues/4935
macOS ptio-macos https://github.com/FortAwesome/Font-Awesome/issues/4936
OpenBSD ptio-openbsd https://github.com/FortAwesome/Font-Awesome/issues/5345
NetBSD ptio-netbsd https://github.com/FortAwesome/Font-Awesome/issues/15496
Sailfish OS ptio-sailfish-os https://github.com/FortAwesome/Font-Awesome/issues/15498

We also have custom Linux icon (ptio-linux), because I (@dawidpotocki) made it before and looks cleaner. And since we are bundling additional font anyway, why not.

Building

To build the font, you will need some of the following tools installed.

Name Notes
make Use distro's package manager
ruby Use distro's package manager
bundler Run gem install bundler
woff-tools Use distro's package manager
or
yarn or npm Use distro's package manager
sfnt2woff Run yarn global add sfnt2woff or npm install -g sfnt2woff

Then just run the following commands to build the font:

$ cd font/
$ bundle   # it will install FontCustom
$ make build   # it will build a font and css