Magic: the Gathering mana symbol pictographic font https://mana.andrewgioia.com
Go to file
2024-10-30 06:49:13 -04:00
css Adds watermarks and missing ability icons to cheatsheet, fixes cheatsheet and attributes head paths 2024-10-28 22:35:33 -04:00
docs Fixes ms-2 utility class collision (#123) and wrong token unicode on the cheatsheet (#122) 2024-10-30 06:49:13 -04:00
fonts Adds watermarks and missing ability icons to cheatsheet, fixes cheatsheet and attributes head paths 2024-10-28 22:35:33 -04:00
less Adds remaining set of card watermarks (#34) and aliases existing ones 2023-09-20 12:23:21 -04:00
sass Fixes ms-2 utility class collision (#123) and wrong token unicode on the cheatsheet (#122) 2024-10-30 06:49:13 -04:00
svg Adds remaining set of card watermarks (#34) and aliases existing ones 2023-09-20 12:23:21 -04:00
.gitignore Adds ability symbols for Boast (#67), Foretell (#68), Learn (#72), Magecraft (#71), and Ward (#78), and adds double faced symbol for learn cards 2021-07-06 13:01:53 -04:00
bower.json Adds documentation for all watermarks and the LotR ability symbols, moves documentation site to docs folder on this branch 2024-10-28 22:13:17 -04:00
CHANGELOG.md Adds documentation for all watermarks and the LotR ability symbols, moves documentation site to docs folder on this branch 2024-10-28 22:13:17 -04:00
index.html Adds remaining set of card watermarks (#34) and aliases existing ones 2023-09-20 12:23:21 -04:00
package-lock.json Adds documentation for all watermarks and the LotR ability symbols, moves documentation site to docs folder on this branch 2024-10-28 22:13:17 -04:00
package.json Adds documentation for all watermarks and the LotR ability symbols, moves documentation site to docs folder on this branch 2024-10-28 22:13:17 -04:00
README.md Adds documentation for all watermarks and the LotR ability symbols, moves documentation site to docs folder on this branch 2024-10-28 22:13:17 -04:00

Mana v1.16.1

The Magic: the Gathering mana symbol font!

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!

Installation

The easiest way to get Mana into your project is to use the NPM package:

$> npm install mana-font

Bower is still supported but given their notice to migrate away from it I recommend NPM if you're using a package manager. This project is registered as 'mana-font' with NPM and mana with Bower. 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.

Using Mana in your project

Each mana symbol has its own font character. Display them in a manner similar to any icon font, like 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.min.css stylesheet in your <head>:

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

You can also 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.min.css" rel="stylesheet" type="text/css" />

Replace mana.min.css with mana.css for the unminified version, if you need that.

Editing the source

You can edit the Sass or Less source files and compile Mana to fit your needs, add custom classes, or extend it in your project.

The mana.svg font file contains every glyph used in Mana. If you'd like to completely decompile it, you can view the SVG coordinates in any text editor or upload it to an SVG font editor like IcoMoon (which I use for Mana and Keyrune) or Birdfont.

To add new icons, I recommend first creating a project in IcoMoon and uploading Mana into it. Draw any new glyphs in a vector/SVG editor of your choice export them as SVGs. Then upload each individual glyphs to your IcoMoon project and generate the font files when you're ready. You can add them to your project the same way you would with Mana (putting the font files in a /fonts directory and referencing them in your CSS file with an @font-face declaration).

Using Mana in desktop software

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!