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

1468 Commits

Author SHA1 Message Date
Ben Bullock
b97c32c0ea Fix incorrect positions (left/right should be top/bottom) 2022-05-01 18:10:05 +09:00
Ben Bullock
ad46c31bc6 Remove one of the doubled radicals 2022-05-01 17:57:38 +09:00
Ben Bullock
48d50cb5e7 Merge pull request #364 from KanjiVG/tiger
Tiger
2022-05-01 06:20:02 +09:00
Ben Bullock
bc4b9466f2 Merge pull request #360 from KanjiVG/whitedot
Consistently make the upper dot of 白 U+31D4
2022-05-01 06:19:46 +09:00
Ben Bullock
2030fbb2b3 Remove a redundant group in 劇 elements
Add an element for the left side of 劇, 豦

This is done on the tiger branch to avoid a messy merge, since these
also contain tiger elements.
2022-04-30 12:53:53 +09:00
Ben Bullock
a7bdd2d190 Join tiger groups with path children 2022-04-30 12:32:18 +09:00
Ben Bullock
e85f0b8c60 Add tare/tarec positions on "tiger" 虍 elements 2022-04-30 12:24:27 +09:00
Ben Bullock
9abadb423b Fix another overlapping misfit group in 096a8.svg 2022-04-30 11:52:40 +09:00
Ben Bullock
0f470acd10 Change mistaken "tare" to "nyo" in 09eba 2022-04-30 11:49:41 +09:00
Ben Bullock
e431adb198 05fdc labelled "tare" as "kamae"
Add top/middle/bottom positions to 0590d.svg
2022-04-30 11:48:23 +09:00
Ben Bullock
9b7ee83ae1 Fix error in previous groupings for 0548e.svg 2022-04-30 10:17:32 +09:00
Ben Bullock
5f92b36306 Add tare position in 席 2022-04-30 10:16:25 +09:00
Ben Bullock
c8340d084e Move odd grouping down the hierarchy of groups 2022-04-30 10:13:12 +09:00
Ben Bullock
7a8860f96f Add missing nyo/nyoc on 08d8a; fix whitespace on 08861-Kaisho 2022-04-30 09:52:13 +09:00
Ben Bullock
692a1ecb8f Add missing nyo/nyoc on 09060.svg 2022-04-30 09:50:25 +09:00
Ben Bullock
def490a9af If baby, I'm the bottom, you're the top 2022-04-30 07:45:04 +09:00
Ben Bullock
bbe611b9cf Make mismatched outer group into two parts
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.
2022-04-30 07:38:00 +09:00
Ben Bullock
4b4247d899 Fix positions/groups on 04f5e.svg
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.
2022-04-30 07:32:30 +09:00
Ben Bullock
eedf8f1366 Consistently make the upper dot of 白 U+31D4
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.
2022-04-30 07:07:43 +09:00
Ben Bullock
1d5aec0567 Merge pull request #355 from KanjiVG/moon
Moon
2022-04-30 06:20:46 +09:00
Ben Bullock
a9ce2e1080 Re-do 07f86-Kaisho.svg edits 2022-04-30 06:19:58 +09:00
Ben Bullock
4864ee1c99 Merge pull request #356 from KanjiVG/non-kanji-el
Add kvg:element to the outermost group of non-kanji graphics
2022-04-30 06:14:17 +09:00
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
2ef47e7553 Add kvg:element to the outermost group of non-kanji graphics
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.
2022-04-29 10:56:58 +09:00
Ben Bullock
0e2ba10628 Do the rest of the cases where 月 is doubled 2022-04-29 10:47:40 +09:00
Ben Bullock
9e0533a40a Change left stroke of 月 to consistent values
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.
2022-04-29 09:46:06 +09:00
Ben Bullock
99cf5245ad Change 月 to 円 and remove subgroup
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.
2022-04-29 09:17:53 +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