As you can see, there is some overlap between the two wherein the ufolib validator becomes concerned and issues an error as the same glyph is in two different kern groups.
The subsetting process does not appear to be subsetting the kern groups during the merge process but rather just keeps entire kern groups if it contains a glyph from the subset list.
I think I can disable the UFO validator and make it work, but would be better if it didn't merge everything together.
I am merging one UFO into another with a reduced character set (as in, it is being subsetted).
The UFO being merged in has a kerning group like the following:
And the one it is merging into has one list this:
As you can see, there is some overlap between the two wherein the ufolib validator becomes concerned and issues an error as the same glyph is in two different kern groups.
The subsetting process does not appear to be subsetting the kern groups during the merge process but rather just keeps entire kern groups if it contains a glyph from the subset list.
I think I can disable the UFO validator and make it work, but would be better if it didn't merge everything together.