1
0
mirror of https://github.com/KanjiVG/kanjivg.git synced 2026-02-28 13:43:37 +01:00
Commit Graph

1434 Commits

Author SHA1 Message Date
Ben Bullock
ebca101daa Merge pull request #350 from KanjiVG/no-mismatch-dir
Remove kanji_mismatch directory and move contents to kanji
2022-04-26 06:15:27 +09:00
Ben Bullock
ec9af32de6 Whitespace, consistency etc. for moved files
Some of the moved files had missing paths etc.

This commit is the result of running all the files through a
consistency check.
2022-04-25 11:08:08 +09:00
Ben Bullock
10de58bd8d Remove kanji_mismatch directory and move contents to kanji 2022-04-25 11:03:56 +09:00
Ben Bullock
a511a7f0be Merge pull request #349 from KanjiVG/rm-cjk-uni
Change CJK Unified values for kvg:type to CJK Stroke values
2022-04-25 10:58:25 +09:00
Ben Bullock
b0f09f11dd Change CJK Unified values for kvg:type to CJK Stroke values
Three CJK Unified values had been used in KanjiVG for some of the
kvg:type values. This substitutes back the equivalent CJK Stroke
values instead.
2022-04-24 09:55:34 +09:00
Ben Bullock
51c5918a40 Merge pull request #344 from KanjiVG/use-31c1
Change ㇕va to ㇁
2022-04-24 08:20:51 +09:00
Ben Bullock
c47567ab36 Merge pull request #345 from KanjiVG/rm-31cc
Rm 31cc
2022-04-24 08:20:36 +09:00
Ben Bullock
978b56e98e Better choice for 04e43 2022-04-23 19:09:09 +09:00
Ben Bullock
54182d4e8f Replace kvg:type of value U+31CC with an alternative 2022-04-23 19:06:13 +09:00
Ben Bullock
ed84916b76 Change ㇕va to ㇁
See https://github.com/KanjiVG/kanjivg/issues/342
2022-04-23 17:32:59 +09:00
Ben Bullock
b09cb9e126 Merge pull request #339 from KanjiVG/tarec
Group the counterparts of the tare element into tarec
2022-04-23 16:58:01 +09:00
Ben Bullock
f3cd2a32d0 Group the counterparts of the tare element into tarec
Add the new position value "tarec".

Most of this change could be done automatically either just by adding
the position to the obvious counterpart, or by grouping the other
elements into one thing and then giving that new group a "tarec"
position.

There were some exceptional cases where "tare" had been added to the
parent of the actual tare element. There was one very weird case
081ba.svg where the grouping was too eccentric to be able to keep, so
I removed the inner groups.
2022-04-23 16:54:46 +09:00
Ben Bullock
1a5ab3d4db Merge pull request #338 from KanjiVG/nyoc
Add "nyoc" grouping, meaning "nyo counterpart"
2022-04-23 16:34:53 +09:00
Ben Bullock
81e6c1d2de Add kvg:type where missing; consistency fixes
066f2-KaishoVtLst had a different Nelson radical than 066f2.svg

Two or three strokes in kanji files were missing kvg:type information
completely.

Two or so attributes were mis-ordered
2022-04-23 11:23:33 +09:00
Ben Bullock
552f51d6a3 Remove strokes.txt
This file seems to be just a list of the CJK stroke types from
Unicode. Further, it includes various simplified Chinese strokes which
don't occur in KanjiVG, so presumably it was never checked against the
data.
2022-04-23 06:34:55 +09:00
Ben Bullock
da388f6e14 Merge pull request #335 from KanjiVG/fix-066f2
Add the centre horizontal to the radical group
2022-04-22 16:55:00 +09:00
Ben Bullock
810fdaa68b Merge pull request #334 from KanjiVG/rm-dup-rads
Remove the duplicate radicals
2022-04-22 16:54:46 +09:00
Ben Bullock
3e476d96bb Add "nyoc" grouping, meaning "nyo counterpart"
Most of this is automatically edited. About 300 cases were simple
addition of the nyoc group to whichever of a pair of groups lacked the
position element, then about 50 or so cases were re-grouping of the
counterpart elements into a single group and adding the nyoc position,
and then there were a few cases such as 051a0.svg of grouping errors
in the existing files, where the nyo counterpart had falsely been made
a child of the nyo group which had to be hand edited.

There were no other types of errors as far as I could see, and this
now covers every case of "nyo" position in the kanji directory.
2022-04-22 16:46:35 +09:00
Ben Bullock
d798cfd956 Add the centre horizontal to the radical group
Also remove a lot of small groups containing only one path which
seemed to have caused the creator of this file much confusion.

Also put the Nelson radical on the correct stroke
2022-04-21 17:45:03 +09:00
Ben Bullock
9dbb7ac157 Remove the duplicate radicals
This uses a script to remove all of the duplicate radicals. I spot
checked the geometry, and it seems that the first group is always the
right one to keep, because of the stroke order, so I just removed all
the other radical values on groups except the first one. I did not
actually go to the trouble of sorting the geometries in order since
there didn't seem to be any exceptions to the "first is upper left"
rule.
2022-04-21 16:02:18 +09:00
Ben Bullock
6ac6acc26b Add kvg:element on radical groups
Three kanji had a group marked as "radical" without a kvg:element.
2022-04-21 05:57:24 +09:00
Ben Bullock
6d5ea727fc Some stroke ordering problems fixed
See issue 331.
2022-04-20 20:39:28 +09:00
Ben Bullock
31ad97336f Merge pull request #329 from KanjiVG/radical-miscount
Fix various errors in numbers of strokes of radicals
2022-04-20 08:28:03 +09:00
Ben Bullock
628ab6ebab Merge pull request #326 from KanjiVG/white
Add a group around 白
2022-04-19 11:59:41 +09:00
Ben Bullock
9176624ce8 Merge pull request #325 from KanjiVG/fix-hara
Fix 原 elements
2022-04-19 11:59:26 +09:00
Ben Bullock
92c304e387 Fix various errors in numbers of strokes of radicals
Change radical variant to ⻞ where appropriate

Otherwise change the radicals to the correct variant or otherwise fix
grouping errors related to radicals and their expected stroke count.
2022-04-19 11:55:19 +09:00
Ben Bullock
13cb898d54 Consistency fixes 2022-04-18 18:05:05 +09:00
Ben Bullock
e81e46eb80 Add more "white" groups 2022-04-18 16:17:32 +09:00
Ben Bullock
d0ce1c0bee Make 百 into 白 plus top 2022-04-18 16:11:17 +09:00
Ben Bullock
3fff49010e Add 白 group to 敫 elements 2022-04-18 16:05:02 +09:00
Ben Bullock
b4424bc36d Add a white element on groups with no element
Also some hand-edited cases
2022-04-18 16:00:25 +09:00
Ben Bullock
41db4d8e0b Fix 原 elements 2022-04-18 15:03:50 +09:00
Ben Bullock
8e68812fc1 Merge pull request #323 from KanjiVG/add-elements
Add elements
2022-04-17 16:57:19 +09:00
Ben Bullock
b77e9084ca Merge pull request #322 from KanjiVG/add-chirp
Add chirp element 喿
2022-04-17 15:49:30 +09:00
Ben Bullock
fe6837cef9 Merge pull request #321 from KanjiVG/fix-bad-groups
Fix bad groups
2022-04-17 15:49:08 +09:00
Ben Bullock
482244b714 Merge branch 'master' into fix-bad-groups 2022-04-17 15:49:00 +09:00
Ben Bullock
6e3a1c623a Merge pull request #318 from KanjiVG/rm-useless-pos
Remove "position" value for outermost element
2022-04-17 12:00:08 +09:00
Ben Bullock
28af639776 Merge pull request #317 from KanjiVG/use-yu-07b1b
Use the 由 group in 07b1b
2022-04-17 11:59:48 +09:00
Ben Bullock
b5ea6d461c Merge pull request #316 from KanjiVG/group-kiiro
Put 黄 and 黃 elements into sub-groups
2022-04-17 10:37:01 +09:00
Ben Bullock
7a3b362449 Merge pull request #315 from KanjiVG/addrads
Add missing radicals to characters
2022-04-17 08:38:46 +09:00
Ben Bullock
ed600fcd30 Merge pull request #313 from KanjiVG/blue
Add an element 龶 to various places
2022-04-17 08:37:16 +09:00
Ben Bullock
cae77f2b98 Add 07539 element; fix 3 wrong types 2022-04-16 20:35:12 +09:00
Ben Bullock
d9d5b4ac82 Add 0590b element 2022-04-16 19:51:55 +09:00
Ben Bullock
73e4f56885 Add chirp element 喿 2022-04-16 19:08:38 +09:00
Ben Bullock
628c4d97ee Grouping in 卵 2022-04-16 18:31:25 +09:00
Ben Bullock
e6e9d74e7b Group the top three groups of 061cb into 楙 2022-04-16 17:59:24 +09:00
Ben Bullock
29480761ff Hand-edit more files to remove bad groups 2022-04-16 17:49:31 +09:00
Ben Bullock
cddc9b1c17 Fix up various bad groups with a text editor
I used a script to detect impossible groupings then edited these files
with a text editor. The work is not finished yet.
2022-04-16 16:35:33 +09:00
Ben Bullock
a65d7de852 Remove "position" value for outermost element
The position value indicates where the element lies with respect to
other elements, but these elements have "position" set where the
element is the outermost one which represents the entire set of
strokes, in other words there is no other element to be relative to,
so the position seems to be useless.
2022-04-16 15:48:53 +09:00
Ben Bullock
4688842a84 Use the 由 group in 07b1b
Remove the 田 group, and add the element 由 where it had been omitted.
2022-04-16 15:08:57 +09:00