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? – RockPaperLz- Mask it or Casket Nov 28 '14 at 11:48
  • @RockPaperLizard : I don't mind about the OS. – user2284570 Nov 28 '14 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 says reinstate Monica Feb 26 '15 at 8:48
  • @RockPaperLizard : It can't work like this because there are metadata inside ttf file which include pointers. – user2284570 Feb 27 '15 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. – user2284570 Feb 27 '15 at 22:02

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:


| improve this answer | |
  • As I said on IRC I want to merge fonts families (ex :fontRegular.ttf + fontItalic.ttf + fontBold.ttf = font.ttf). – user2284570 Oct 29 '14 at 9:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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