Magic: the Gathering mana symbol pictographic font https://mana.andrewgioia.com
Go to file
Andrew Gioia 7e9097d717 Merge pull request #24 from cybey/master
Updates to the readme for jsDelivr
2017-07-11 13:01:26 -04:00
css Fixing 1000000 symbol class 2017-03-09 15:54:50 -05:00
fonts Fixing messed up glyph for starting loyalty 2017-07-05 08:32:21 -04:00
less Fixing 1000000 symbol class 2017-03-09 15:54:50 -05:00
.gitignore Adding double faced card symbols 2016-05-31 10:53:22 -04:00
bower.json Incrementing version for NPM and jsDelivr 2017-07-05 11:03:33 -04:00
index.html Fixing 1000000 symbol class 2017-03-09 15:54:50 -05:00
package.json Incrementing version for NPM and jsDelivr 2017-07-05 11:03:33 -04:00
README.md Updates to the readme for jsDelivr 2017-07-11 13:42:52 +02:00

Mana v1.3.2

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.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