1
0
mirror of https://github.com/KanjiVG/kanjivg.git synced 2026-01-30 10:03:19 +01:00
Commit Graph

1442 Commits

Author SHA1 Message Date
Ben Bullock
268f97e01d Merge pull request #358 from KanjiVG/pos-mismatch
Resolve various mismatches of left with bottom etc.
2022-04-30 06:13:58 +09:00
Ben Bullock
2a261e2677 Add 04edd 2022-04-29 15:55:01 +09:00
Ben Bullock
829a50e6a6 Remove false group from 0985b-JinmeiKaisho.svg 2022-04-29 12:58:12 +09:00
Ben Bullock
1acf424a8b Resolve various mismatches of left with bottom etc.
Add new "middle" value for position
2022-04-29 12:44:34 +09:00
Ben Bullock
fb5e3ae673 Merge pull request #352 from KanjiVG/contig
Join needlessly-separated groups
r20220427
2022-04-27 05:59:19 +09:00
Ben Bullock
9b11332747 Doubled cases of contiguous groups
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.
2022-04-26 08:23:09 +09:00
Ben Bullock
9c9242b2d8 Join needlessly-separated groups
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
2022-04-26 08:15:29 +09:00
Ben Bullock
c2b603a89a Add a documentation link to README 2022-04-26 06:19:41 +09:00
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