This was another case of someone trying to put a square peg in a round
hole, the outer group of 0548e.svg didn't contain one of the child
elements and its position also didn't make much sense.
Whoever made the KanjiVG groups originally often insisted on plugging
in ill-matching groups like 仁 in characters like these. I don't want
to remove these willy-nilly but if these things must be added, at
least they should be added so they don't disrupt the actual structure
of the character. This splits the 仁 bit into two parts and makes it
no longer the "master group" of this character.
This changes every case of 白 in KanjiVG to have the dash, "CJK STROKE
D", as its upper stroke.
I think most of the cases here were ones I had changed in error
earlier not knowing that the dash should be used for these cases, but
there also seem to be some which were there initially.
Most of the non-kanji graphics except for マ did not have a
kvg:element on the outermost group of the stroke paths. This adds the
Unicode value as kvg:element.
Where the left stroke was labelled ㇑/㇒, it's been relabelled as ㇑,
CJK Stroke S. This label seems to have been intended to indicate that
the stroke was vertical but could be bent in some cases, but its used
was inconsistent, so I decided to remove it.
Where the left stroke was labelled ㇒, two actions were taken
depending on the properties of the stroke.
Where the stroke appeared to bend left at the bottom, the stroke was
relabelled ㇓, CJK Stroke SP, which is the correct stroke type for
this according to the documentation available.
Where the stroke appeared to be straight at the bottom and vertical,
the stroke was relabelled ㇑, CJK Stroke S. (Some of the strokes had a
small kink at the top.)
All of the files in the second case had "Kaisho" in the file name,
except for one exception, 0745c-VtLst.svg.
This automatically changes a number of cases where the bottom part of
an 青 element was written using an 円 kanji but marked as 月 in the
group with a subgroup of 円 to using a single group with 月 as the
original value and 円 as the element value, without a subgroup.
None of these groups was a radical or otherwise seemed to require
special treatment.
This does some more cases where the file has two joined groups.
The script which does this work is not very sophisticated, so it was
necessary to run it twice for cases there were two instances of groups
which should be joined.
I also ran it a third time, but there were no cases of three sets of
groups like this.
Some of the files had two groups with part=1 part=2 with the same
element next to each other. This removes all such groups, and also
renumbers the succeeding parts of the group where they exist