Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/13rac1/emojione-color-font.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Erickson <eosrei@gmail.com>2016-06-23 20:51:49 +0300
committerBrad Erickson <eosrei@gmail.com>2016-06-23 20:56:47 +0300
commitb6d5340ce0bbfe6dc5676038550cb296da023501 (patch)
tree3f98f3eaab80ab729a8fabdd54e52a78769f2742
parent68c399ae18a96fa853d109be2263aa2ff6383b30 (diff)
svg: Add Power Symbols
Adds the Unicode 9.0 Power Symbol glyphs. They aren't emoji, but should be supported anyway. Details: http://unicodepowersymbol.com/
-rw-r--r--LICENSE.md11
-rw-r--r--Makefile30
-rw-r--r--assets/svg-bw/23fb.svg1
-rw-r--r--assets/svg-bw/23fc.svg1
-rw-r--r--assets/svg-bw/23fd.svg1
-rw-r--r--assets/svg-bw/23fe.svg1
-rw-r--r--assets/svg-bw/2b58.svg1
-rw-r--r--assets/svg-bw/README.md9
-rw-r--r--scfbuild-osx.yml2
-rw-r--r--scfbuild.yml2
10 files changed, 44 insertions, 15 deletions
diff --git a/LICENSE.md b/LICENSE.md
index 8d2b34c..cf85a80 100644
--- a/LICENSE.md
+++ b/LICENSE.md
@@ -1,7 +1,8 @@
# Licenses
-* Copyright 2016 Brad Erickson CC-BY-4.0
+* Copyright 2016 Brad Erickson CC-BY-4.0/MIT
* Copyright 2015 Ranks.com Inc. CC-BY-4.0
+* Copyright 2013 Joe Loughry and Terence Eden MIT
## Artwork
* Applies to SVG files and TTF font files
@@ -24,3 +25,11 @@ color glyphs. Files are stored in `assets/emojione-svg`.
Please review the specific attribution requirements for commercial use of
EmojiOne graphics: http://emojione.com/licensing/
+
+## Power Symbol License
+The SVG files from the [Unicode Power Symbol](http://unicodepowersymbol.com/)
+project have been modified to create B&W Power Symbol glyphs. Files are stored
+in `assets/svg-bw`.
+
+* Source: https://github.com/jloughry/Unicode
+* Art License: MIT
diff --git a/Makefile b/Makefile
index c5e574f..45d4050 100644
--- a/Makefile
+++ b/Makefile
@@ -17,18 +17,21 @@ OSX_PACKAGE := build/$(FONT_PREFIX)-OSX-$(VERSION)
LINUX_PACKAGE := $(FONT_PREFIX)-Linux-$(VERSION)
DEB_PACKAGE := fonts-emojione-svginot
-# There are two SVG source directories to keep the emojione assets separate.
+# There are two SVG source directories to keep the emojione assets separate
+# from the additions
SVG_EMOJIONE := assets/emojione-svg
-SVG_MORE := assets/svg
+SVG_EXTRA := assets/svg
+# B&W only glyphs which will not be processed.
+SVG_EXTRA_BW := assets/svg-bw
# Create the lists of traced and color SVGs
-SVG_FILES := $(wildcard $(SVG_EMOJIONE)/*.svg) $(wildcard $(SVG_MORE)/*.svg)
+SVG_FILES := $(wildcard $(SVG_EMOJIONE)/*.svg) $(wildcard $(SVG_EXTRA)/*.svg)
SVG_STAGE_FILES := $(patsubst $(SVG_EMOJIONE)/%.svg, build/stage/%.svg, $(SVG_FILES))
-SVG_STAGE_FILES := $(patsubst $(SVG_MORE)/%.svg, build/stage/%.svg, $(SVG_STAGE_FILES))
-SVG_TRACE_FILES := $(patsubst build/stage/%.svg, build/svg-trace/%.svg, $(SVG_STAGE_FILES))
+SVG_STAGE_FILES := $(patsubst $(SVG_EXTRA)/%.svg, build/stage/%.svg, $(SVG_STAGE_FILES))
+SVG_BW_FILES := $(patsubst build/stage/%.svg, build/svg-bw/%.svg, $(SVG_STAGE_FILES))
SVG_COLOR_FILES := $(patsubst build/stage/%.svg, build/svg-color/%.svg, $(SVG_STAGE_FILES))
-.PHONY: all package regular-package linux-package osx-package clean
+.PHONY: all package regular-package linux-package osx-package copy-extra clean
all: $(REGULAR_FONT) $(OSX_FONT)
@@ -71,19 +74,22 @@ osx-package: $(OSX_FONT)
7z a -tzip -mx=9 $(OSX_PACKAGE).zip ./$(OSX_PACKAGE)
# Build both versions of the fonts
-$(REGULAR_FONT): $(SVG_TRACE_FILES) $(SVG_COLOR_FILES)
+$(REGULAR_FONT): $(SVG_BW_FILES) $(SVG_COLOR_FILES) copy-extra
$(SCFBUILD) -c scfbuild.yml -o $(REGULAR_FONT) --font-version="$(VERSION)"
-$(OSX_FONT): $(SVG_TRACE_FILES) $(SVG_COLOR_FILES)
+$(OSX_FONT): $(SVG_BW_FILES) $(SVG_COLOR_FILES) copy-extra
$(SCFBUILD) -c scfbuild-osx.yml -o $(OSX_FONT) --font-version="$(VERSION)"
+copy-extra: build/svg-bw
+ cp $(SVG_EXTRA_BW)/* build/svg-bw/
+
# Create black SVG traces of the color SVGs to use as glyphs.
# 1. Make the EmojiOne SVG into a PNG with Inkscape
# 2. Make the PNG into a BMP with ImageMagick and add margin by increasing the
# canvas size to allow the outer "stroke" to fit.
# 3. Make the BMP into a Edge Detected PGM with mkbitmap
# 4. Make the PGM into a black SVG trace with potrace
-build/svg-trace/%.svg: build/staging/%.svg | build/svg-trace
+build/svg-bw/%.svg: build/staging/%.svg | build/svg-bw
inkscape -w 1000 -h 1000 -z -e $(TMP)/$(*F).png $<
convert $(TMP)/$(*F).png -gravity center -extent 1066x1066 $(TMP)/$(*F).bmp
rm $(TMP)/$(*F).png
@@ -100,7 +106,7 @@ build/svg-color/%.svg: build/staging/%.svg | build/svg-color
build/staging/%.svg: $(SVG_EMOJIONE)/%.svg | build/staging
cp $< $@
-build/staging/%.svg: $(SVG_MORE)/%.svg | build/staging
+build/staging/%.svg: $(SVG_EXTRA)/%.svg | build/staging
cp $< $@
# Create the build directories
@@ -110,8 +116,8 @@ build:
build/staging: | build
mkdir build/staging
-build/svg-trace: | build
- mkdir build/svg-trace
+build/svg-bw: | build
+ mkdir build/svg-bw
build/svg-color: | build
mkdir build/svg-color
diff --git a/assets/svg-bw/23fb.svg b/assets/svg-bw/23fb.svg
new file mode 100644
index 0000000..8acfc8f
--- /dev/null
+++ b/assets/svg-bw/23fb.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -410 2048 2048"><path d="M1023-176q-60 1-102.5 44T878-29v963q0 61 43 104t104 43 104-43 43-104V-29q0-61-43-104t-104-43h-2zM499 308h-1q-1-1-2-1-28 0-60 15t-50 36Q281 474 223 622.5T165 933q0 174 68 333t183.5 274T691 1723.5t333 68.5 333-68 274-183.5 183.5-274.5 68.5-333q0-162-58-310.5T1662 358q-18-21-50-36t-60-15q-61 0-104 43t-43 104q0 24 11.5 53.5T1444 554q145 163 145 379 0 154-75.5 284.5T1308 1423t-284 75-284.5-75.5T534 1217t-75-284q0-216 145-379 16-17 27.5-46.5T643 454q0-60-42-102.5T499 308z" fill="currentColor"/></svg> \ No newline at end of file
diff --git a/assets/svg-bw/23fc.svg b/assets/svg-bw/23fc.svg
new file mode 100644
index 0000000..20c0d3d
--- /dev/null
+++ b/assets/svg-bw/23fc.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -410 2048 2048"><path d="M862 1139V545q0-67 47-114.5t115-47.5q68 0 115 47.5t47 114.5v594q0 67-47 114.5t-115 47.5q-67 0-114.5-47.5T862 1139zM76 840q0-193 75-368.5T353 169Q480 42 655.5-33t368.5-75v324q-127 0-240.5 48T583 399q-87 87-135 200.5T400 840q0 127 48 240.5T583 1281q87 87 200.5 135t240.5 48q127 0 240.5-48t200.5-135q87-87 135-200.5t48-240.5q0-127-48-240.5T1465 399q-86-86-200-134.5T1024 216v-324q193 0 368.5 75T1695 169q127 127 202 302.5t75 368.5q0 193-75 368.5T1695 1511q-127 127-302.5 202t-368.5 75q-193 0-368.5-75.5T353 1510q-127-127-202-302T76 840z" fill="currentColor"/></svg> \ No newline at end of file
diff --git a/assets/svg-bw/23fd.svg b/assets/svg-bw/23fd.svg
new file mode 100644
index 0000000..76edc45
--- /dev/null
+++ b/assets/svg-bw/23fd.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -410 2048 2048"><path d="M1022-116q-67 1-114 48.5T861 47v1584q0 67 47.5 115t115.5 48q68 0 115.5-48t47.5-115V47q0-67-47.5-115T1024-116h-2z" fill="currentColor"/></svg> \ No newline at end of file
diff --git a/assets/svg-bw/23fe.svg b/assets/svg-bw/23fe.svg
new file mode 100644
index 0000000..aa6c7e7
--- /dev/null
+++ b/assets/svg-bw/23fe.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -410 2048 2048"><path d="M865-55Q685 23 552 163.5t-200 310Q285 643 286 837t79 374q78 180 218.5 313t310 200q169.5 67 363.5 66t374-79q-271-65-489.5-245.5T807 1019q-115-275-97.5-553T865-55z" fill="currentColor"/></svg> \ No newline at end of file
diff --git a/assets/svg-bw/2b58.svg b/assets/svg-bw/2b58.svg
new file mode 100644
index 0000000..5fada6a
--- /dev/null
+++ b/assets/svg-bw/2b58.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -410 2048 2048"><path d="M1024-45q-186 0-355.5 73T376 224Q253 347 180 516.5T107 872q0 186 73 355.5T376 1520q123 123 292.5 196t355.5 73q186 0 355.5-73t292.5-196q123-123 196-292.5t73-355.5q0-186-73-355.5T1672 224q-123-123-292.5-196T1024-45zm0 314q165 0 303.5 80.5t219 219Q1627 707 1627 872t-80.5 303.5q-80.5 138.5-219 219T1024 1475q-165 0-303.5-80.5t-219-219Q421 1037 421 872t80.5-303.5q80.5-138.5 219-219T1024 269z" fill="currentColor"/></svg> \ No newline at end of file
diff --git a/assets/svg-bw/README.md b/assets/svg-bw/README.md
new file mode 100644
index 0000000..2180eb7
--- /dev/null
+++ b/assets/svg-bw/README.md
@@ -0,0 +1,9 @@
+## Additional B&W SVG files
+
+SVG files needed to add Unicode Power Symbols: ⏻, ⏼, ⭘,⏽, ⏾
+
+Source: http://unicodepowersymbol.com/
+
+Note: These have been translated (0,-150) verses the source to account for the
+overall (0,150) applied to the rest of the glypsh in this font. Do not use them
+for other purposes without adjustment.
diff --git a/scfbuild-osx.yml b/scfbuild-osx.yml
index d4ffe73..843df02 100644
--- a/scfbuild-osx.yml
+++ b/scfbuild-osx.yml
@@ -1,7 +1,7 @@
# SCFBuild configuration file for EmojiOne Color SVGinOT (OSX ONLY)
output_file: build/EmojiOneColor-SVGinOT-OSX.ttf
verbose: False
-glyph_svg_dir: build/svg-trace
+glyph_svg_dir: build/svg-bw
color_svg_dir: build/svg-color
# Translate the SVGs on import into glyphs.
# y+150 for correct emoji-only vertical alignment.
diff --git a/scfbuild.yml b/scfbuild.yml
index ebc98e3..7b9dcca 100644
--- a/scfbuild.yml
+++ b/scfbuild.yml
@@ -1,7 +1,7 @@
# SCFBuild configuration file for EmojiOne Color SVGinOT
output_file: build/EmojiOneColor-SVGinOT.ttf
verbose: False
-glyph_svg_dir: build/svg-trace
+glyph_svg_dir: build/svg-bw
color_svg_dir: build/svg-color
# Translate the SVGs on import into glyphs.
# y+150 for correct emoji-only vertical alignment.