I need to merge hundreds of .ttf fonts (OpenType and TrueType).
Many Tells about fontforge, but it use a gui interface, so I would need to merge each fonts manually.

So, is there a command-line tool for merging fonts so I can use simple bash glob?

  • 1
    You refer to a 'bash blog', which is typically for unix and linux, but has been ported to other OS as well. For which OS do you need this tool? Nov 28, 2014 at 11:48
  • @RockPaperLizard : I don't mind about the OS. Nov 28, 2014 at 20:05
  • Which implies that if you are using Windows then you are happy to install Cygwin, just to get bash? Or is the mention of bash in the question misleading?
    – Mawg
    Feb 26, 2015 at 8:48
  • @RockPaperLizard : It can't work like this because there are metadata inside ttf file which include pointers. Feb 27, 2015 at 21:56
  • @Mawg : No, bash alone is irrelevant here. but CMD or powershell can work. Also ARRRGHHH for Cygwin : building an API over WIN32 (or WIN64 now) when WIN32 is itself a subsystem. Take SUA, it will offer far more performance. But in my case I can take darwin as well as android. Feb 27, 2015 at 22:02

1 Answer 1


Depends on the merge. If the fonts are compatible in certain ways but have different scripts in them, then my merge script might work:


If you tell us what kind of usecase you have, we might be able to help you. Let us know here:


  • As I said on IRC I want to merge fonts families (ex :fontRegular.ttf + fontItalic.ttf + fontBold.ttf = font.ttf). Oct 29, 2014 at 9:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.