Open Akeru opened 10 years ago
4 months to open this issue... sorry about that I gave a look to the group format, what about kanji like 頑 which have sub-parts inside of their parts?
I could be nice to render all those sub parts as well, but should manage to find someway to display this information without being confusing for the end-user ; make it clear that it is a part of the upper part.
Hmmm, I'd say : render the outermost group(s) then add lone strokes as single entities. Does that make sense ?
(if you'd like :smile: )
The really interesting part of KanjiVG data is the grouping of strokes and the kvg:element attribute.
Kanjis are often built upon (parts) of others. 線 is composed of 糸 and 泉, which is composed of 水 and 白 which is composed of 日 and a stroke. Using the information while learning kanjis can be a real time saver.
The old viewer of KanjiVG tries to show this information using the group coloring feature but is is not very user friendly and buggy : it shows 2 colors for 電 while there should be three (the lower curve is not part of anything) and clicking through the kanji components is cumbersome.
So, if you feel like it maybe you could come up with some nicer way to display this hierarchy.