Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diagrams for KanjiVG's Variants #51

Open
ukanuk opened this issue Feb 1, 2020 · 0 comments
Open

Diagrams for KanjiVG's Variants #51

ukanuk opened this issue Feb 1, 2020 · 0 comments
Labels
anki integration if someone else does it This is not high enough priority for me to do, but I will accept a PR if someone else does

Comments

@ukanuk
Copy link

ukanuk commented Feb 1, 2020

Howdy, I started using this in 2014 via the Anki addon and have gotten loads of use out of it!

I'd like diagrams generated from a kanji variation. Right now my Kanji field is , which generates 0845b.svg. For comparison, I'd also like to generate a diagram according to the variant 0845b-Hyougai.svg.

According to the KanjiVG readme,

Variations of a Kanji are followed by a textual suffix.

To enable this, I propose recognizing not just kanji+kana in the Kanji field, but also filenames from KanjiVG. Using this modification with my example above, I could enter either 葛0845b-Hyougai.svg or 0845b.svg0845b-Hyougai.svg to get both diagrams generated. Or just 0845b-Hyougai.svg to get just the variant generated, in case I want the variant on a separate note.

I can always copy the SVG from KanjiVG directly. But then I wouldn't get me the awesome golden-ratio colorings and custom sizing generated by this addon, which would be a tad sad!

0845b.svg
image

0845b-Hyougai.svg
image

@cayennes cayennes added if someone else does it This is not high enough priority for me to do, but I will accept a PR if someone else does anki integration labels Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
anki integration if someone else does it This is not high enough priority for me to do, but I will accept a PR if someone else does
Projects
None yet
Development

No branches or pull requests

2 participants