# \[跨平台 Mac/Win/Linux\] 词典APP Medict （开发者预览版）讨论

**URL:** <https://forum.freemdict.com/t/topic/6985>\
**Category:** 软件经验交流展望\
**Tags:** 词典软件制作, mdx工具\
**Created:** [2021 年6 月 26 日 15:05 UTC](https://forum.freemdict.com/t/topic/6985 "2021-06-26T15:05:40Z")\
**Posts on this page:** 20\
**Page:** 7

<div class="post-metadata">

作者： ![endnote](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/e/9de0a6/32.png) [@endnote](https://forum.freemdict.com/u/endnote)\
发布日期： [2021 年7 月 29 日 13:00 UTC](https://forum.freemdict.com/t/topic/6985/122 "2021-07-29T13:00:01Z")

</div>

> [@hua](#):
>
> RUST 写

这是 biu 的计划

---

<div class="post-metadata">

作者： ![last\_idol](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/last_idol/32/2205_2.png) [@last\_idol](https://forum.freemdict.com/u/last_idol)\
发布日期： [2021 年7 月 29 日 14:39 UTC](https://forum.freemdict.com/t/topic/6985/124 "2021-07-29T14:39:43Z")

</div>

> [@terasum](#):
>
> 词典字体大小，目前是css决定的  
> 如果需要支持调整字体大小的话，可以提供一个选项按钮，但是会影响css原有的布局体验

GoldenDict 调整字体大小是通过网页缩放实现的。提供的放大镜功能。

---

<div class="post-metadata">

作者： ![agno3](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/a/ea666f/32.png) [@agno3](https://forum.freemdict.com/u/agno3)\
发布日期： [2021 年7 月 30 日 03:47 UTC](https://forum.freemdict.com/t/topic/6985/125 "2021-07-30T03:47:00Z")

</div>

不知道楼主有没有兴趣增加兼容读取epwing格式词典的功能。这样我就可以放弃对mdx支持有限的ebwin平台了。

---

<div class="post-metadata">

作者： ![hua](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/hua/32/11090_2.png) [@hua](https://forum.freemdict.com/u/hua)\
发布日期： [2021 年7 月 30 日 03:49 UTC](https://forum.freemdict.com/t/topic/6985/126 "2021-07-30T03:49:21Z")

</div>

有格式分析嘛

---

<div class="post-metadata">

作者： ![agno3](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/a/ea666f/32.png) [@agno3](https://forum.freemdict.com/u/agno3)\
发布日期： [2021 年7 月 30 日 03:51 UTC](https://forum.freemdict.com/t/topic/6985/127 "2021-07-30T03:51:04Z")

</div>

epwing格式应该是开源的。如果有兴趣技术文档我可以帮忙找

---

<div class="post-metadata">

作者： ![hua](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/hua/32/11090_2.png) [@hua](https://forum.freemdict.com/u/hua)\
发布日期： [2021 年7 月 30 日 04:24 UTC](https://forum.freemdict.com/t/topic/6985/128 "2021-07-30T04:24:09Z")

</div>

你帮忙找一下，我找过，全是日文的。并且应该不是开源的。

---

<div class="post-metadata">

作者： ![last\_idol](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/last_idol/32/2205_2.png) [@last\_idol](https://forum.freemdict.com/u/last_idol)\
发布日期： [2021 年7 月 30 日 04:31 UTC](https://forum.freemdict.com/t/topic/6985/129 "2021-07-30T04:31:23Z")

</div>

> [@agno3](#):
>
> epwing格式词典

不知道相对于 mdx 格式的词典有哪些特别的优势吗？

---

<div class="post-metadata">

作者： ![last\_idol](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/last_idol/32/2205_2.png) [@last\_idol](https://forum.freemdict.com/u/last_idol)\
发布日期： [2021 年7 月 30 日 04:35 UTC](https://forum.freemdict.com/t/topic/6985/130 "2021-07-30T04:35:07Z")

</div>

EB Library with UTF-8 support  
[http://green.ribbon.to/~ikazuhiro/dic/ebu.html](http://green.ribbon.to/~ikazuhiro/dic/ebu.html)  
EB Library Documentation  
[http://quruli.ivory.ne.jp/document/eb\_4.4.3/eb.html](http://quruli.ivory.ne.jp/document/eb_4.4.3/eb.html)

---

<div class="post-metadata">

作者： ![agno3](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/a/ea666f/32.png) [@agno3](https://forum.freemdict.com/u/agno3)\
发布日期： [2021 年7 月 30 日 05:05 UTC](https://forum.freemdict.com/t/topic/6985/131 "2021-07-30T05:05:14Z")

</div>

全称是：日本語電子出版検索データ構造。我找到了结构文本，不过确实都是日语了。代码也是shift-jis。  
[https://kikakurui.com/x4/X4081-2002-01.html](https://kikakurui.com/x4/X4081-2002-01.html)  
[http://ebstudio.info/home/EBStudio/Tech.html](http://ebstudio.info/home/EBStudio/Tech.html)  
如果有兴趣制作我有空可以帮忙翻译。不过最近都没空。

---

<div class="post-metadata">

作者： ![agno3](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/a/ea666f/32.png) [@agno3](https://forum.freemdict.com/u/agno3)\
发布日期： [2021 年7 月 30 日 05:11 UTC](https://forum.freemdict.com/t/topic/6985/132 "2021-07-30T05:11:45Z")

</div>

优势就是2010年之前日本出品的几乎所有电子辞典基本都是遵循这个格式的，所以有大量出版社官方出品资源。并且到目前为止对日语检索支持最好的仍是epwing。  
并且ebwin目前可以支持mdx，虽然问题多多。主要还是因为mdx不开源所以作者hishida也没有进一步打理。

---

<div class="post-metadata">

作者： ![hua](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/hua/32/11090_2.png) [@hua](https://forum.freemdict.com/u/hua)\
发布日期： [2021 年7 月 30 日 05:34 UTC](https://forum.freemdict.com/t/topic/6985/133 "2021-07-30T05:34:17Z")

</div>

> [@agno3](#):
>
> [EBStudioÉ¨¯éJIS X4081ÌÀÉÂ¢Ä](http://ebstudio.info/home/EBStudio/Tech.html)

确实有点兴趣，还行 这个可以借助谷歌翻译看看

---

<div class="post-metadata">

作者： ![terasum](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/terasum/32/18724_2.png) [@terasum](https://forum.freemdict.com/u/terasum)\
发布日期： [2021 年7 月 30 日 06:49 UTC](https://forum.freemdict.com/t/topic/6985/134 "2021-07-30T06:49:17Z")

</div>

07.30 更新  
6c6a0e6

1. 修复了部分 mdd 中的 css 无法加载的问题
2. 支持 config.ini 文件，需要放到资源缓存目录中

---

<div class="post-metadata">

作者： ![terasum](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/terasum/32/18724_2.png) [@terasum](https://forum.freemdict.com/u/terasum)\
发布日期： [2021 年7 月 30 日 06:54 UTC](https://forum.freemdict.com/t/topic/6985/135 "2021-07-30T06:54:42Z")

</div>

新的词典格式支持目前没有计划哈？因为我本人不使用 ebwing 格式的资料，短期也没有机会使用到这种格式的资料，如果大家有兴趣支持的话欢迎 PR， 我会合并到项目主干中的。

---

<div class="post-metadata">

作者： ![endnote](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/e/9de0a6/32.png) [@endnote](https://forum.freemdict.com/u/endnote)\
发布日期： [2021 年7 月 31 日 00:58 UTC](https://forum.freemdict.com/t/topic/6985/136 "2021-07-31T00:58:59Z")

</div>

> [@terasum](#):
>
> 新的词典格式支持目前没有计划

建议近期还是完善主体功能，以及插件框架为主。

对新格式的支持有没有可能由新插件来完成？还是必须在主线程里？  
如果可以的话，今后完善插件接口就可以了，一个人不可能开发完所有的功能

---

<div class="post-metadata">

作者： ![terasum](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/terasum/32/18724_2.png) [@terasum](https://forum.freemdict.com/u/terasum)\
发布日期： [2021 年7 月 31 日 07:44 UTC](https://forum.freemdict.com/t/topic/6985/137 "2021-07-31T07:44:13Z")

</div>

目前还是需要把mdx的文件查词体验提升优化，整体词典的设计也是以mdx、mdd词典的格式为主的，包括词典选择管理，以及查询处理逻辑，目前词典格式读取需要插件化的话需要大改的，还是需要放到主进程逻辑中进行处理的。

---

<div class="post-metadata">

作者： ![MeigenChou](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/meigenchou/32/90024_2.png) [@MeigenChou](https://forum.freemdict.com/u/MeigenChou)\
发布日期： [2021 年7 月 31 日 16:26 UTC](https://forum.freemdict.com/t/topic/6985/138 "2021-07-31T16:26:42Z")

</div>

> [@agno3](#):
>
> [EBStudioÉ¨¯éJIS X4081ÌÀÉÂ¢Ä](http://ebstudio.info/home/EBStudio/Tech.html)

不知道有没有ebzip的格式规范，使用的哪些压缩算法，据说某个版本开始用哈夫曼编码但没有找到具体的实现

---

<div class="post-metadata">

作者： ![MeigenChou](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/meigenchou/32/90024_2.png) [@MeigenChou](https://forum.freemdict.com/u/MeigenChou)\
发布日期： [2021 年7 月 31 日 16:41 UTC](https://forum.freemdict.com/t/topic/6985/139 "2021-07-31T16:41:36Z")

</div>

> [@terasum](#):
>
> 体验提升优化

说实话mdx格式再怎么优化提升也会受限于其垃圾的格式结构，epwing的解析相对好一些，主要是没有那么自由的页面样式，以及外字处理稍微麻烦一点，其他方面都是整个词典界的天花板存在

---

<div class="post-metadata">

作者： ![terasum](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/terasum/32/18724_2.png) [@terasum](https://forum.freemdict.com/u/terasum)\
发布日期： [2021 年7 月 31 日 17:38 UTC](https://forum.freemdict.com/t/topic/6985/140 "2021-07-31T17:38:34Z")

</div>

个人觉得还是优先支持资源丰富，使用受众比较多，场景覆盖较为全面，生态相对成熟的格式会比较好一些。

我不太了解ebwing格式，也不发表相关言论，大家觉得有必要支持的话欢迎贡献一起完成相应功能，不希望引发孰优孰劣的讨论。目前精力还是聚焦在功能体验为主。

---

<div class="post-metadata">

作者： ![last\_idol](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/last_idol/32/2205_2.png) [@last\_idol](https://forum.freemdict.com/u/last_idol)\
发布日期： [2021 年7 月 31 日 18:14 UTC](https://forum.freemdict.com/t/topic/6985/141 "2021-07-31T18:14:27Z")

</div>

> [@MeigenChou](#):
>
> ebzip

最新的是哪个版本？4.4.3 是 zlib。

---

<div class="post-metadata">

作者： ![last\_idol](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/last_idol/32/2205_2.png) [@last\_idol](https://forum.freemdict.com/u/last_idol)\
发布日期： [2021 年7 月 31 日 18:44 UTC](https://forum.freemdict.com/t/topic/6985/142 "2021-07-31T18:44:01Z")

</div>

先把核心功能做好是对的，这圈子很小，大家可以帮忙测试，但开发工作基本只能作者自己完成，别分散了精力。

> [@terasum](#):
>
> 目前还是需要把mdx的文件查词体验提升优化

[上一页](https://forum.freemdict.com/t/topic/6985.md?page=6)

[下一页](https://forum.freemdict.com/t/topic/6985.md?page=8)
