From 2071f701d38438e9963d69c586ab2d68acc78abd Mon Sep 17 00:00:00 2001 From: Andrew Gioia Date: Fri, 10 Mar 2017 10:17:52 -0500 Subject: [PATCH] New section on using Keyrune in desktop applications --- css/main.css | 4 ++++ index.html | 16 +++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/css/main.css b/css/main.css index 136f5a9..0c55570 100644 --- a/css/main.css +++ b/css/main.css @@ -93,6 +93,10 @@ li { margin: 0 0 10px; } +ol li { + line-height: 1.6em; +} + h1 { color: #444; margin: 0; diff --git a/index.html b/index.html index a1f66c8..813c0fa 100644 --- a/index.html +++ b/index.html @@ -56,7 +56,8 @@

Keyrune is a complete set of scalable vector icons for Magic set symbols. Drop them into your application, website, or custom cards (like this ) and control their size, color, drop shadow, or any dimension just as you would with text!

-

Using Keyrune

+

Using Keyrune in your project

+

Keyrune is CSS and font package you can use in your project to easily display MTG set symbols as font icons. You can download the source and manually include it in your application, or include it via Bower or Composer (project name "keyrune" for both).

Each set symbol has its own font character. Display them in a manner similar to Font Awesome using the <i class="ss ss-exp"></i> element. Class name codes are based on the expansion codes from MTG JSON.

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

@@ -67,6 +68,19 @@ <i class="ss ss-mor"></i>
+
+

Using Keyrune in desktop software

+

You can also install Keyrune just like you would with any font, for use in desktop applications like Word, Pages, or Illustrator. This can be useful if you're designing and printing binder covers or set dividers.

+ Note:For those unfamiliar with CSS projects like this, none of the styling in the documentation will be available when using Keyrune in a desktop app—you have to style everything manually like you would with any other font or "Word Art", for instance.

+

Follow these steps to work with Keyrune on your desktop:

+
    +
  1. Install the Keyrune font. To do this, click the "Download" button above, unzip the archive that downloads, then navigate to Keyrune-master/fonts. Double click on keyrune.ttf and install it.
  2. +
  3. Open up your desktop application. Check to see that "Keyrune" shows up in your list of available fonts.
  4. +
  5. Go to the Cheatsheet. Copy the symbol that you want to use and then paste it into the application you're using. You should see it show up correctly in there, with the font "Keyrune" active. You can't "type" this font like you would with any other (like Times New Roman), as it uses a reserved character set; you can only copy and paste from the Cheatsheet.
  6. +
  7. Style the symbol however you want. Unfortunately you're going to have to do this manually :( I've created a sample Word document that you can use as a reference with rare Urza's Saga, mythic Morningtide, and uncommon Mercadian Masques symbols as examples. In that doc, each symbol has a 2.5pt black border (on 144pt font) and a gradient applied to each one for their rarities.
  8. +
+

Feel free to use the font and symbols however you like in your project, subject to the license terms below.

+

Editing the Source

Feel free to edit the source files and compile Keyrune to fit your needs. All SVG glyphs are compiled into font files using the wonderful IcoMoon app. For styling, currently LESS is supported with Sass coming soon.