It also depends on your front shifting system - some require cut down teeth and shifting pins, and the teeth of adjacent rings have to be correctly aligned, as well as close to ideal tooth count.
Front Derailleur cage curve is designed to match a size range, and cage width and depth matches...