3 ms·
Have a look at the Unicode "Ideographic Description Characters " approach (https://en.wikipedia.org/wiki/Ideographic_Description_Characters_(Unicode_block) http
by TheRealPomax 8y ago
Have a look at the Unicode "Ideographic Description Characters " approach (https://en.wikipedia.org/wiki/Ideographic_Description_Characters_(Unicode_block) https://en.wikipedia.org/wiki/Ideographic_Description_Charac...), or WenLin's Character Description Language (https://wenlin.com/cdl https://wenlin.com/cdl).
They're similar, but I'd argue that IDC is better at capturing the compositionality, and CDL is infinitely better at generating things "that actually look good". Using IDC, 犬 is ⿺大㇔ and 夲 is ⿱大木. However, for typesetting that (just like RRPL) is too crude, so CDL is really where you want to be: a more complex descriptor system that places components based on a grid location paired with scaling information, so that 大 and ㇔ can be positioned in a way that looks right. Especially when you hit things like 器 where the easthetics of the relative placement makes the difference between "looks right" and "were you drunk when you wrote this?" makes CDL a more appealing choice than RRPL or IDC.