Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.91 KB

README.md

File metadata and controls

45 lines (33 loc) · 1.91 KB

OpenMoji Fonts

⚠️ The OpenMoji fonts work in all operating systems, but will currently only show color glyphs in Mozilla Firefox and Adobe CC. This is not a limitation of the generated fonts, but of the operating systems and applications.

💁‍♂️ The OpenMoji fonts are based on the SVG in Open Type standard, which allows to embed complete SVG files within a font enabling full color.

🙏 The fonts are generated with the SVGinOT Color Font Builder by Brad Erickson. Many thanks for open sourcing this tool and the help!

Developer

If you are adventurous and you would like to generate the fonts on your own, here is how:

Setup

  1. Install node.js (see version in file .nvmrc)
  2. Install Docker (tested with Docker 2.2.0.0, engine 19.03.5)
  3. Download or clone our scfbuild fork
  4. Install the Docker container of our scfbuild fork

Generate Fonts

  1. Make sure that Docker is running in background
  2. Open Terminal and go to OpenMoij folder
cd path/to/openmoji
  1. Copy the svg production files to the folders font/tmp-color and font/tmp-black . Please use the script, as it will also take care of special cases like missing glyphs etc.
node helpers/export-svg-font.js
  1. Generate the OpenMoji font files
./helpers/generate-fonts.sh

Done! ✅

You can change the parameters of the OpenMoji fonts via the two config files:

  • scfbuild-color.yml
  • scfbuild-black.yml .