Magic: the Gathering mana symbol pictographic font https://mana.andrewgioia.com
Go to file
2018-07-25 12:58:10 -04:00
css New symbols for power, toughness, artist, enchantment DFC, multiple types, and Poleis; better split handling; SASS support; more planeswalker loyalties 2018-07-25 12:58:10 -04:00
fonts New symbols for power, toughness, artist, enchantment DFC, multiple types, and Poleis; better split handling; SASS support; more planeswalker loyalties 2018-07-25 12:58:10 -04:00
less New symbols for power, toughness, artist, enchantment DFC, multiple types, and Poleis; better split handling; SASS support; more planeswalker loyalties 2018-07-25 12:58:10 -04:00
sass New symbols for power, toughness, artist, enchantment DFC, multiple types, and Poleis; better split handling; SASS support; more planeswalker loyalties 2018-07-25 12:58:10 -04:00
.gitignore Adding double faced card symbols 2016-05-31 10:53:22 -04:00
bower.json New symbols for power, toughness, artist, enchantment DFC, multiple types, and Poleis; better split handling; SASS support; more planeswalker loyalties 2018-07-25 12:58:10 -04:00
index.html New symbols for power, toughness, artist, enchantment DFC, multiple types, and Poleis; better split handling; SASS support; more planeswalker loyalties 2018-07-25 12:58:10 -04:00
package.json New symbols for power, toughness, artist, enchantment DFC, multiple types, and Poleis; better split handling; SASS support; more planeswalker loyalties 2018-07-25 12:58:10 -04:00
README.md New symbols for power, toughness, artist, enchantment DFC, multiple types, and Poleis; better split handling; SASS support; more planeswalker loyalties 2018-07-25 12:58:10 -04:00

Mana v1.4.0

The Magic: the Gathering mana symbol font!

New: view the documentation site to see Mana in action!

Mana is a complete set of Magic: the Gathering mana, tap, and card type symbols as a pictographic font. You can use this font anywhere you want to display mana and tap symbols—in your MtG app or website, documents, card images, anything!

Installing

The easiest way to get Mana into your project is to use either the Bower or NPM packages, depending on your package manager:

$> bower install mana
$> npm install mana-font

We've registered mana with Bower and 'mana-font' with NPM. Just install using the above commands in your project and you can edit anything as needed.

You can also download the zip file here at Github and use the font files and CSS files in your project as needed.

Usage

Each mana symbol has its own font character. Display them in a manner similar to Keyrune using the <i class="ms ms-g"></i> element and class syntax. Class name codes are based on textual mana symbol codes (like g for Green or 3 for, well, {3}).

To use Mana, move the web font files to your /fonts directory and include the mana.css stylesheet in your <head>:

<link href="css/mana.css" rel="stylesheet" type="text/css" />

NEW: you can now include Mana via CDN thanks to the amazing jsDelivr project! To include the latest version, reference:

<link href="//cdn.jsdelivr.net/npm/mana-font@latest/css/mana.css" rel="stylesheet" type="text/css" />

You can also reference mana.min.css for the minified version.

Editing the Source

Feel free to edit the source files and compile Mana to fit your needs. Currently LESS is supported, with Sass coming soon.

Using Mana on the Desktop

If you'd like to use Mana as a desktop font (e.g., in a Word document) there are a few steps and things to know. First, to get it loaded on your system just download the latest zip file, extract it, and navigate to Mana-master\fonts. In there, install the mana.ttf font (typically by double clicking it).

Mana uses private use characters for the font glyphs so you unfortunately can't normally "type" anything in Word to see the symbols. To do so, open up the Mana Cheatsheet and copy the symbol you want, then paste it into Word (or whatever software you're using).

License

All mana, tap, and card type symbol images are copyright Wizards of the Coast (http://magicthegathering.com)

The Mana font is licensed under the the SIL OFL 1.1 (http://scripts.sil.org/OFL)

Mana CSS, LESS, and Sass files are licensed under the MIT License (http://opensource.org/licenses/mit-license.html)

Attribution is greatly appreciated but not required!

Changelog

  • v1.4.0 - big update: artist, Poleis, power/toughness, DFC enchantment, and multiple type symbols added; simplified split cost handling; more planeswalker loyalties; SASS support
  • v1.3.2 - incrementing for new npm publish and jsDelivr note; fixed docs
  • v1.3.1 - fixed class name issue for 1,000,000 symbol
  • v1.3.0 - added Guild and Clan symbols
  • v1.2.0 - added DFC symbols for the Origins planeswalkers (ignite and spark) and the Eldritch Moon meld cards (emrakul and moon)
  • v1.1.0 - added the new Energy symbol
  • v1.0.1 - added classes for -12 and -14 loyalty (sorry Jace and Karn!)
  • v1.0 - new documentation page at http://andrewgioia.github.io/Mana/
  • v0.6 - adding double-faced card symbols (day, night)
  • v0.5 - adding the new colorless wastes symbol
  • v0.4 - adding classes for 16, 17, 18, 19, and 20 symbols
  • v0.3 - phyrexian mana classes use MTGJson standard; project-specific LESS prefix added (@JayGray)
  • v0.2 - Flashback symbol added
  • v0.1 - initial font creation and CSS/LESS files added

Todo

  • Crop original full-width symbols to actual width
  • Add ligatures for easier desktop use