There are three main ways to handle a repack, ranging from brute force to surgical precision.
You typically need a when:
fontforge -script repack.pe F1 F2 F3 F4 output.otf cid font f1 f2 f3 f4 repack