Skip to content

Zentropivity/mutant_standard_ttf

Repository files navigation

Build Mutant Standard as TTF font

Why? Because its a great emoji font! I want to see them all over my desktop.

How?

First you need to make sure the required tools are installed:

  • nushell (probably could have made it without, but I like to write nushell scripts ¯\_(ツ)_/¯)
  • python (and its virtualenv/venv and pip)
  • git of course
  1. Make sure you have the submodules. Either clone this repo with --recursive or do git submodule update --init
  2. Create a python virtual environment and activate it, like: python -m venv venv then source the activation file for your shell (for nushell just run ./tools/pyvenv.nu)
  3. Run ./build_ttf.nu -i cbdt
    this produces the font file in out/build/MutantStandardEmoji-CBDT.ttf
    (Note: you can build other font formats too, check ./build_ttf.nu -h or the script for more info)
  4. On linux, you could also copy the font and its license to the system fonts by running sudo ./install.nu

Fuzzy finder in the command line!

If you want to pick a specific emoji from the Mutant Standard set, take a look at ./mutant_table.txt (generated by tools/export_memoji_codes.nu)

There is an example fuzzy finder script (module) using skim and wl-clipboard at tools/_memoji.nu. Use it like use ./tools/_memoji.nu * then memoji copy to pick and copy to clipboard.
It may look like this: (rendering still has to be supported by your terminal in ways...)

Screenshot_20240929_120700

Or in the extremely likely scenario when you want to touch 3 files named as different emoji, run this after the use: for $ in 1..3 { memoji | touch $in }

License

Everything in this repository is licensed under a MIT license, except the materials used under the repositories in the following folders have their own licensing:

  • mutant_standard: Mutant Standard emoji are licensed CC BY-NC-SA 4.0 International
  • orxporter: Orxporter is licensed under the Cooperative Non-Violent License (CNPL) v4
  • nanoemoji: nanoemoji is licensed under the Apache-2.0 license

Your contributions

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the MIT license, shall be licensed as above, without any additional terms or conditions.

About

Font build scripts for the Mutant Standard Emoji set.

Resources

Stars

Watchers

Forks

Packages

No packages published