Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 1.23 KB

CONTRIBUTE.md

File metadata and controls

19 lines (15 loc) · 1.23 KB

Thank you for your interest on contributing! Below are things to do manually whenever you want to produce a new release.

  1. Go to the Twemoji releases page and find the most recent release.
  2. Download the zip or tar.gz file.
  3. Replace the in-tree twe-svg.zip file.
  4. Amend the twe-svg.zip.version.txt file and paste the URL of the released zip you've downloaded.
  5. Amend the version number package.json.
  6. Run the build command with make. Please look at README.md to figure out dependencies and how to install them.

The resulting font can be found at build/Twemoji Mozilla.ttf.

You would need to ensure the glyph layers are converted correctly by running our test suite.

  1. Start a localhost server at the working directory. You can do that by running python3 -m http.server 28009.
  2. Navigate to http://localhost:28009/tests/ with Firefox.
  3. Ensure you can see the Twemoji smiling face on the title (indicated the web font is loaded), hit "Test all".
  4. Give it a few minutes to compare all glyphs.
  5. Observe the flagged items; generally there are a lot of false negatives, we should look at missing strokes or layers that could really affect the visual look of the glyph.