diff options
author | Brad Erickson <eosrei@gmail.com> | 2016-06-08 20:26:55 +0300 |
---|---|---|
committer | Brad Erickson <eosrei@gmail.com> | 2016-06-08 20:26:55 +0300 |
commit | 1ed033065774c9cdcdc0eb916803fbc167e8051f (patch) | |
tree | b79e6197b6098e4e642d166a8a83e61a090f38d8 | |
parent | 970fd5759de2e2e32626e91c194ca4460b9d4044 (diff) |
build: Update emoji SVG transform
Requires SCFBuild V1.0.3 due to the SVG transform moving from
the <svg> tag to a new <g> group containing everything.
Details: https://github.com/eosrei/scfbuild/issues/4
-rw-r--r-- | scfbuild-osx.yml | 5 | ||||
-rw-r--r-- | scfbuild.yml | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/scfbuild-osx.yml b/scfbuild-osx.yml index 31d840b..3c8d2c2 100644 --- a/scfbuild-osx.yml +++ b/scfbuild-osx.yml @@ -7,8 +7,9 @@ color_svg_dir: build/svg-color # y+150 for correct emoji-only vertical alignment. glyph_translate_x: 0 glyph_translate_y: 150 -# y-150 for correct emoji-only vertical alignment. -color_transform: translate(0 -150) +# y-9.6 for correct emoji-only vertical alignment. +# Glyphs height is 2048, SVGs height is 64 x 2.048. +color_transform: translate(0 -9.6) # Space width matching DejaVu Sans and Bitstream Vera Sans. width_space: 561 table_name: diff --git a/scfbuild.yml b/scfbuild.yml index 8a7b7fa..b66fa4f 100644 --- a/scfbuild.yml +++ b/scfbuild.yml @@ -7,8 +7,9 @@ color_svg_dir: build/svg-color # y+150 for correct emoji-only vertical alignment. glyph_translate_x: 0 glyph_translate_y: 150 -# y-150 for correct emoji-only vertical alignment. -color_transform: translate(0 -150) +# y-9.6 for correct emoji-only vertical alignment. +# Glyphs height is 2048, SVGs height is 64 x 2.048. +color_transform: translate(0 -9.6) # Space width matching DejaVu Sans and Bitstream Vera Sans. width_space: 561 table_name: |