Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to merge an AppleColorEmoji.ttf into another font? (to use with Image Magick label function)

I need to write text over images using Image Magick. This text can contain emojis. The font I'm using for this obviously doesn't support any emoji symbols.

Am I able to merge emoji font file into this font with some software (merge two TTFS), or I have go the long way spitting this text into substrings with different fonts?

  1. Which software can help me with merging TTFs?
  2. Can I merge AppleColorEmoji.ttf with it's colorful images instead of one-color symbols into regular font? If not, I need a software to merge two regular fonts, because there are several one-colored emoji fonts out there to try.

Thanks!

like image 555
Alex Avatar asked Apr 23 '14 16:04

Alex


People also ask

How do I combine emoji TTF and font TTF files?

click menu: element-merge fonts and choose your emoji font. answer no for any popup dialog. optionally change your new font's name: element-font info. finally go to file-generate fonts when done and save it as ttf.


1 Answers

There's a website called Fontcombiner which allows you to merge fonts. There's a powerful command line tool called TTX/Fonttools which seems to have a merge option, but I have never used it myself.

It's likely that merged fonts will look weird, as things like vertical metrics etc. will differ between the two fonts.

What'll happen to Apple's color fonts in such a conversion process, I have no clue. But do let us know :)

like image 101
RoelN Avatar answered Sep 26 '22 13:09

RoelN