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-03-11 04:01:55 +0300
committerBrad Erickson <eosrei@gmail.com>2016-03-11 04:06:10 +0300
commite331cd0694baa497a68ec698782d1e1141782003 (patch)
tree986199ab20cf6e8382449cd1f9f34eb7608e377b
parentc70219e21054111b45ce71047d09879410a8fd4c (diff)
yml: Translate glyphs (0, +150) to fix alignment
Requires scfbuild v1.0.1+ Fixes #3
-rw-r--r--scfbuild-osx.yml13
-rw-r--r--scfbuild.yml14
2 files changed, 18 insertions, 9 deletions
diff --git a/scfbuild-osx.yml b/scfbuild-osx.yml
index 42fc0a9..ca141cd 100644
--- a/scfbuild-osx.yml
+++ b/scfbuild-osx.yml
@@ -1,11 +1,16 @@
# SCFBuild configuration file for Emoji One Color SVGinOT (OSX ONLY)
output_file: build/EmojiOneColor-SVGinOT-OSX.ttf
+verbose: False
glyph_svg_dir: build/svg-trace
color_svg_dir: build/staging
-# The SVGs are 64x64. They are scaled to 1000x1000 by the renderer, but need
-# adjustment to line up correctly. 8/10*2048 = 1638 = Default font ascent
-color_svg_transform: translate(0 -1638) scale(2.048)
-verbose: False
+# Translate the SVGs on import into glyphs.
+# y+150 for correct emoji-only vertical alignment.
+glyph_translate_x: 0
+glyph_translate_y: 150
+# The SVGs are 60x60. They are scaled to 1000x1000 by the Firefox renderer, but
+# need adjustment to line up correctly. 8/10*2048 = 1638 = Default font ascent.
+# y+150 for correct emoji-only vertical alignment.
+color_transform: translate(0 -1788) scale(2.048)
table_name:
copyright: >
Copyright 2016 Brad Erickson CC-BY.
diff --git a/scfbuild.yml b/scfbuild.yml
index 07671df..838dd3f 100644
--- a/scfbuild.yml
+++ b/scfbuild.yml
@@ -1,11 +1,16 @@
# SCFBuild configuration file for Emoji One Color SVGinOT
output_file: build/EmojiOneColor-SVGinOT.ttf
+verbose: False
glyph_svg_dir: build/svg-trace
color_svg_dir: build/staging
-# The SVGs are 64x64. They are scaled to 1000x1000 by the renderer, but need
-# adjustment to line up correctly. 8/10*2048 = 1638 = Default font ascent
-color_svg_transform: translate(0 -1638) scale(2.048)
-verbose: False
+# Translate the SVGs on import into glyphs.
+# y+150 for correct emoji-only vertical alignment.
+glyph_translate_x: 0
+glyph_translate_y: 150
+# The SVGs are 60x60. They are scaled to 1000x1000 by the Firefox renderer, but
+# need adjustment to line up correctly. 8/10*2048 = 1638 = Default font ascent.
+# y+150 for correct emoji-only vertical alignment.
+color_transform: translate(0 -1788) scale(2.048)
table_name:
copyright: >
Copyright 2016 Brad Erickson CC-BY.
@@ -24,7 +29,6 @@ table_name:
designer: Ranks.com Inc.
description: >
A SVGinOT color emoji font using the Emoji One set:
- A SVGinOT color emoji font using the Emoji One set:
https://github.com/eosrei/emojione-color-font/
Please review the attribution requirements for commercial
use of Emoji One icons: