Skip to content
This repository has been archived by the owner on Nov 10, 2018. It is now read-only.

Commit

Permalink
readme: Expand readme and add license
Browse files Browse the repository at this point in the history
  • Loading branch information
13rac1 committed Feb 19, 2016
1 parent 6d9acee commit b206d46
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 8 deletions.
20 changes: 20 additions & 0 deletions LICENSE-MIT.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Applies to "EmojiOne SVGinOT Font" code only
Copyright (c) 2016 Brad Erickson

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
OR OTHER DEALINGS IN THE SOFTWARE.
85 changes: 77 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,33 @@
# Symbola Color Emoji
# EmojiOne SVGinOT Font
A color and B&W Emoji SVGinOT font built primarily from [Emoji One][1] artwork
including full support for [skin tone modifiers][2] and [country flags][3].

A SVG-in-OpenType color emoji font created by starting with the "free for any use"
Symbola font and adding the colorful Emoji One SVG emojis where possible.
The font works in all operating systems, but will *currently* show color
emoji in Mozilla Firefox and Mozilla Thunderbird only. Regular B&W Emoji are
included for backwards compatibility everywhere else.

# Usage (Linux)
[1]: http://emojione.com/
[2]: http://www.unicode.org/reports/tr51/#Diversity
[3]: http://www.unicode.org/reports/tr51/#Flags

## Examples

## What is SVGinOT?
*SVG in Open Type* is the new standard for color OpenType and Open Font Format
fonts [adopted by the W3C on January 27th 2016][4] created by Adobe and Mozilla.
It allows font creators to embed complete SVG files within a font enabling full
color and even animations. There are more details in the [SVGinOT proposal][5].

SVGinOT Demos (Firefox only):
* https://www.adobe.com/devnet-apps/type/svgopentype.html
* https://hacks.mozilla.org/2014/10/svg-colors-in-opentype-fonts/

[4]: https://www.w3.org/community/svgopentype/2016/01/27/opentype-spec-adopts-svg-in-opentype-proposal/
[5]: https://www.w3.org/2013/10/SVG_in_OpenType/

## Usage (Linux)
1. Store the font file in your `~/.fonts/` directory.
2. Create a fontconfig directory:
2. Create a font config directory:
```sh
mkdir -p `~/.config/fontconfig/`
```
Expand All @@ -15,20 +36,68 @@ mkdir -p `~/.config/fontconfig/`
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- -->
<fontconfig>
<!-- Generic name aliasing -->
<alias>
<family>sans-serif</family>
<prefer>
<family>Symbola</family>
<family>EmojiOne SVGinOT</family>
</prefer>
</alias>
<alias>
<family>serif</family>
<prefer>
<family>Symbola</family>
<family>EmojiOne SVGinOT</family>
</prefer>
</alias>
</fontconfig>
```

## Building
The build process has only been tested on Ubuntu Linux.

Overview:
1. B&W SVGs are generated on-the-fly from the color SVGs
2. The B&W SVGs are imported based on their filename to create either regular
glyphs or ligature glyphs.
3. The color SVGs are imported to override both types of glyphs.

Required applications:
* Inkscape
* Imagemagick
* mkbitmap
* potrace
* FontTools
* FontForge
* SMFBuild (created for this project!)
* make

Run: `make`

*I am happy with the resulting glyphs, but if you have ideas about making
them look even better? Let me know! I am not a font building professional and
only recently learned how to do all of this. So, it may be terribly wrong.* 😋

## Licenses

### Artwork
* Applies to SVG files
* License: Creative Commons Attribution 4.0 International
* Human Readable License: http://creativecommons.org/licenses/by/4.0/
* Complete Legal Terms: http://creativecommons.org/licenses/by/4.0/legalcode

### Source Code
* Applies to everything else
* License: MIT
* Complete Legal Terms: http://opensource.org/licenses/MIT


### Emoji One License
The SVG files of the [Emoji One](http://emojione.com/) project are modified to
create the fallback emoji glyphs and used as-is for the SVGinOT color glyphs.

* Source: https://github.com/Ranks/emojione
* Art License: Creative Commons Attribution 4.0 International

Please review the specific attribution requirements for commercial use of
Emoji One icons: http://emojione.com/licensing/

0 comments on commit b206d46

Please sign in to comment.