Commit graph

101 commits

Author SHA1 Message Date
epistularum f9e61d89f6
Update smk8.css 2023-08-02 14:43:48 +09:00
epistularum c7e67e66b0
Update sankoku8.css 2023-08-02 14:43:39 +09:00
epistularum 786263eb0e
Update jitenon-yoji.css 2023-08-02 14:43:31 +09:00
epistularum c355f08a51
Update jitenon-kotowaza.css 2023-08-02 14:43:21 +09:00
epistularum e2ab07a840
Update jitenon-kokugo.css 2023-08-02 14:43:09 +09:00
epistularum ffcfd379c9
Update daijirin2.css 2023-08-02 14:35:46 +09:00
epistularum fe470398d6
Update smk8.css 2023-08-02 14:18:08 +09:00
epistularum 9fea058af2
Update sankoku8.css 2023-08-02 14:17:46 +09:00
epistularum e8684e87c4
Update jitenon-yoji.css 2023-08-02 14:15:02 +09:00
epistularum 746967aedd
Update jitenon-kotowaza.css 2023-08-02 14:14:37 +09:00
epistularum 7a42f78b89
Add default windows/mac font 2023-08-02 14:13:52 +09:00
epistularum b4d7342b50
Add default windows/mac fonts. 2023-08-02 14:11:32 +09:00
epistularum 4467666541
Small standardizations to the mdict css (#4) 2023-08-01 21:39:30 -05:00
Stephen Kraus 4c97c52534
Merge pull request #3 from epistularum/patch-2
Overhaul of variants
2023-07-31 18:39:31 -05:00
epistularum 09b585c49d
Merge branch 'main' into patch-2 2023-07-31 16:55:10 +09:00
stephenmk b03978d1f7
Add timestamps to command line messages
This is a clumsy way of doing it (since it would be better to have a
wrapper function append the timestamp), but that will be taken care of
when the logging logic is all overhauled anyway.
2023-07-28 23:17:42 -05:00
stephenmk 8f30f9419d
Update logic for adding variant kanji forms
Prior to this commit, the program would only add variant kanji forms
in one direction. For example, an additional search key for 掴む would
be added if a 摑む headword was found in a dictionary, but a search
key for 摑む would not be added to 掴む.

Search keys are now added in both directions (old-to-new and
new-to-old).
2023-07-28 18:35:22 -05:00
stephenmk d37c3aca5b
Update "alt" text for some SVG gaiji 2023-07-28 18:06:24 -05:00
stephenmk a5bb8d6f40
sankoku8 bugfix: account for images in headwords
Affects ビャンビャンめん, さんだつ (簒奪), and some words with hypens
such as J-POP and CD-ROM.
2023-07-28 17:00:01 -05:00
stephenmk 4eb7e12f37
Update TODO 2023-07-28 16:59:43 -05:00
stephenmk 7b2ba96db9
Reorganize file structure of all other modules 2023-07-26 23:48:24 -05:00
stephenmk 9b3fdc86d1
Reorganize file structure of entries modules 2023-07-26 19:28:50 -05:00
epistularum 775da669b9
Overhaul of variants
Complete overall of variants based on the 印刷標準字体 (表外漢字表)
https://www.bunka.go.jp/kokugo_nihongo/sisaku/joho/joho/kakuki/22/tosin03/index.html

All characters that are either a 簡易慣用字体 or have the 旧字 as a 印刷標準字体 and have the 新字 within JIS1 have been selected.
In addition, characters that are both alternate of one another and are both 人名用漢字 (亙,亘-凜,凛) are included alongside design variations within JIS1 as stated by the 表外漢字字体表 (𠮟,叱-吞,呑-靱,靭-﨟,臈)

Characters removed:
姸	妍
拋	抛
筓	笄
腁	胼
鷽	鴬
2023-07-24 22:00:47 +09:00
stephenmk 0cd530585f
Adjust pitch accent style again
Decided I like it this way the most
2023-07-19 23:49:25 -05:00
stephenmk 94c68b4e26
Yomichan: adjust style of pitch accent symbols in sankoku (again) 2023-07-19 17:31:55 -05:00
Stephen Kraus 28dbf039d5
Fix daijirin phrase reading for 思う故に 2023-07-19 13:35:32 -05:00
stephenmk d6044e0c12
Yomichan: add negative left margin to pitch accent marks in sankoku 2023-07-19 13:28:13 -05:00
stephenmk cfe1e98ab3
Remove unused import 2023-07-18 13:23:53 -05:00
Stephen Kraus 4ccb97f088
Update README.md 2023-07-18 12:29:39 -05:00
Stephen Kraus 14e50fb4f4
Update README.md 2023-07-18 12:08:39 -05:00
stephenmk e85d0a1625
Add support for sankoku8 2023-07-18 00:43:38 -05:00
stephenmk b0a9ab5cae
mdict: reconfigure font styles
Taking advantage of the new fallback font selection functionality in
GoldenDict-ng. If the user doesn't have one of the pre-defined fonts
installed, the system serif and sans-serif fonts will be used.
2023-07-16 23:10:18 -05:00
stephenmk dbf0cf0eb8
Fix Yomichan image height calculation error
For images that have greater height than width values, the image
proportions for Yomichan were being calculated incorrectly. This can
be observed for example in the SMK8 entry for くの字点 and the
DAIJIRIN2 entry for 定積分.
2023-07-16 18:53:28 -05:00
Stephen Kraus 4d6c3c3cf5
Fix daijirin phrase reading for 怠け者の節句働き 2023-07-13 18:44:06 -05:00
Stephen Kraus 4e06482657
Fix daijirin phrase reading for 天馬空を行く 2023-07-13 18:30:44 -05:00
Stephen Kraus fd8d304726
Fix daijirin phrase reading for 水清ければ魚棲まず 2023-07-13 17:08:12 -05:00
stephenmk 7c40dafd52
Adjust padding style for child link lists in mdict 2023-07-12 20:27:47 -05:00
stephenmk d51de0b3dc
Redesign search key logic for mdict
https://github.com/stephenmk/jitenbot/issues/1#issuecomment-1631583836
2023-07-12 19:02:07 -05:00
stephenmk c9ab0aea46
Include copy of CSS file in mdict output directory
There is also a read-only copy archived in the MDD resource file.
This external file is more convenient for the user to edit.
2023-07-12 17:53:28 -05:00
stephenmk 4cd81cda35
Adjust jitenon mdict CSS 2023-07-12 17:51:19 -05:00
stephenmk 3cfca06f46
Add variant kanji 靭 and 靱 2023-07-11 16:54:41 -05:00
stephenmk ce2e106646
Add more detailed runtime messages 2023-07-10 21:18:40 -05:00
stephenmk 227c02b9e4
Fix mdict font styles
These are the styles used in the original Monokakido stylesheets
2023-07-10 19:17:55 -05:00
stephenmk dfc9a60d9e
Remove vertical margin from mdict entry styles 2023-07-10 12:35:46 -05:00
Stephen Kraus c6d3e2d5d8
Increase max image height 2023-07-09 22:41:34 -05:00
Stephen Kraus d0bc56bc80
Adjust left margin 2023-07-09 22:13:59 -05:00
stephenmk a0264652d8
Make ruby elements unselectable in mdict 2023-07-09 15:48:09 -05:00
Stephen Kraus ff8a057821
Update GoldenDict example in README.md 2023-07-09 14:11:15 -05:00
stephenmk 17974cae79
Adjust ruby sizes in smk8 mdict 2023-07-09 14:01:43 -05:00
stephenmk 19fcb0d5b2
Specify font names in MDict styles 2023-07-09 13:34:33 -05:00