Merging two files with different features

Hello! I have two glyphs files that contain the same character sets but one has features written for Cyrillic languages and the other has standard Latin alphabet language features. What would be the easiest way to combine the features so I don’t need to have separate files but the Cyrillic features will work when needed?

If I understand you correctly, you want to copy the features from one document to the other. In that case,

  • open the Features tab in the Font Info window of one document,
  • select the features you want to copy in the sidebar,
  • copy (C),
  • go to the Features tab in the Font Info window of the other document, and
  • paste (V) the features there.

A little explanation: Florian’s suggestion works because you can have multiple features of the same name in your Glyphs file. The features get merged upon export.

Thank you both! I have tried this but I get lots of duplicate errors since many features are still the same. Ex. They share the same Stylistic Sets, Standard Ligatures, etc. Many of the “SUB_X” are used for different numbers too because even some of the features that are exactly the same are in a different order.

I get a lot of this error—
Duplicate definition of lookup “SUB_X”

What kind of font are you opening? Compiled ttf/otf?

ttf!

Do you also have source files (.glyphs, .ufo, …)? When opening a .ttf in Glyphs, it needs to reconstruct the feature code which is not ideal.

I don’t at the moment. Ah ok so that may be why it’s not as easy to combine them?

Yes, there are no lookup names and the ordering of things also might make more sense to a machine than a person. Still, you can be selective in what you copy and carefully merge the two fonts.

Also, consider your sources. Many commercial font licenses do not allow such modification and many free fonts also publish their source files online which are more suitable for this task.

Thanks for the tips!!

It’s a custom font made for my employer that we own outright so we do have editing power per our contract! I’ll request the working files. Thanks for your help!