Can't merge Helvetica Neue with Noto Emoji
See original GitHub issueI need to draw text with Imagemagick, but because it doesn’t have proper emoji support, I need to create a merged font consisting of Noto’s monochrome emoji and Helvetica Neue’s everything else. I thought fonttools merge helvetica.ttf notoemoji.ttf
would do the trick, but alas:
~/fonts$ fonttools merge HelveticaNeue-Regular.ttf NotoEmoji-Regular.ttf
Traceback (most recent call last):
File "/usr/local/bin/fonttools", line 11, in <module>
load_entry_point('fonttools==3.29.0', 'console_scripts', 'fonttools')()
File "/usr/local/Cellar/fonttools/3.29.0/libexec/lib/python2.7/site-packages/fontTools/__main__.py", line 29, in main
runpy.run_module(mod, run_name='__main__')
File "/usr/local/opt/python@2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 192, in run_module
fname, loader, pkg_name)
File "/usr/local/opt/python@2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/Cellar/fonttools/3.29.0/libexec/lib/python2.7/site-packages/fontTools/merge.py", line 1129, in <module>
sys.exit(main())
File "/usr/local/Cellar/fonttools/3.29.0/libexec/lib/python2.7/site-packages/fontTools/misc/loggingTools.py", line 372, in wrapper
return func(*args, **kwds)
File "/usr/local/Cellar/fonttools/3.29.0/libexec/lib/python2.7/site-packages/fontTools/merge.py", line 1122, in main
font = merger.merge(args)
File "/usr/local/Cellar/fonttools/3.29.0/libexec/lib/python2.7/site-packages/fontTools/merge.py", line 962, in merge
table = clazz(tag).merge(self, tables)
File "/usr/local/Cellar/fonttools/3.29.0/libexec/lib/python2.7/site-packages/fontTools/merge.py", line 160, in merge
return m.mergeObjects(self, self.mergeMap, tables)
File "/usr/local/Cellar/fonttools/3.29.0/libexec/lib/python2.7/site-packages/fontTools/merge.py", line 1008, in mergeObjects
value = mergeLogic(getattr(table, key, NotImplemented) for table in tables)
File "/usr/local/Cellar/fonttools/3.29.0/libexec/lib/python2.7/site-packages/fontTools/merge.py", line 49, in equal
assert all(item == first for item in t), "Expected all items to be equal: %s" % lst
AssertionError: Expected all items to be equal: [1000, 2048]
I just installed fonttools 3.29.0 on my Mac via homebrew. Help would be appreciated.
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (2 by maintainers)
Top Results From Across the Web
How to merge the San Francisco regular TTF font and ... - Quora
Imo, no and yes. Technically, they're dingbats, not a typeface. And both can be made into a font, e.g., Noto Emoji.
Read more >Noto Color Emoji fix : r/linux - Reddit
This seems like it overrides a bunch of emoji fonts, forcing usage of the specified font. This is essentially undesired behaviour, I guess....
Read more >Change font to Helvetica Neue for Gitlab UI (#362) · Issues
Something went wrong while fetching related merge requests.
Read more >Noto Home - Google Fonts
Noto is a collection of high-quality fonts with multiple weights and widths in ... Arabic, Hebrew, and all Indic scripts, to Egyptian hieroglyphs...
Read more >Emoji under the hood - Tonsky.me
Every OS comes with a single pre-installed font for emoji. On macOS/iOS, that's Apple Color Emoji. Windows has Segoe UI Emoji, Android has...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s what I feared. Thanks for clearing that up though.
I honestly have no idea. I extracted my ttf from the version of
HelveticaNeue.ttc
that comes with macOS High Sierra. But since I’m neither redistributing nor selling it, who could possibly care?did you find solution ?