QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4280|回复: 22

baby words 0.1发布

[复制链接]
发表于 2004-10-25 10:17:29 | 显示全部楼层 |阅读模式
下载:
www.magiclinux.org/people/cjacker/babyword/babyword-0.1.tar.gz
www.magiclinux.org/people/cjacker/babyword/wordbook.tgz

如果你想要语音还要下载stardict的语音包。

安装:
tar zxvf babyword-0.1.tar.gz
cd babyword-0.1
./configure --prefix=/usr
make;make install

tar zxvf wordbook.tgz -C /usr/share/apps/babyword

如果需要语音,就要把stardict的语音包解到/usr/share/apps/babyword/sound/

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2004-10-25 10:37:35 | 显示全部楼层
看起来很不错耶
试一下先

谢谢老大
回复

使用道具 举报

发表于 2004-10-25 12:01:51 | 显示全部楼层
编译出错了:
[code:1]
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!
[/code:1]
这个X指的是什么?需要哪些KDE的库?
谢谢回复 :-)
回复

使用道具 举报

发表于 2004-10-25 12:23:28 | 显示全部楼层
MichaelBibby, MPJ
回复

使用道具 举报

发表于 2004-10-25 12:29:44 | 显示全部楼层
[quote:7202389252="caihua"] MichaelBibby, MPJ[/quote] F.u.c.k

wuyu......
回复

使用道具 举报

发表于 2004-10-25 12:39:38 | 显示全部楼层
回复

使用道具 举报

发表于 2004-10-25 12:40:38 | 显示全部楼层
wuyu ......
回复

使用道具 举报

发表于 2004-10-25 21:31:21 | 显示全部楼层
我还在等着那个类xp的任务栏出炉呢:)
回复

使用道具 举报

发表于 2004-10-25 22:44:22 | 显示全部楼层
看起来真不错,建议下一版本magic直接加入,可以慢慢放补丁出来,反正magic的用户应该不介意吃吃螃蟹。
回复

使用道具 举报

发表于 2004-10-26 19:59:11 | 显示全部楼层
不行呀,我运行时出现方块字呀
回复

使用道具 举报

 楼主| 发表于 2004-10-26 20:34:07 | 显示全部楼层
唉,kanker怎么不加入我的qt补丁呢?
我这里fromLatin1, fromLocal8Bit都是可以显示中文的。

找kanker修正一下吧。
回复

使用道具 举报

发表于 2004-10-26 21:02:38 | 显示全部楼层
老大,你那个补丁,我是一直用着有问题的,kanker/kde/qt/rpms下面的qt*-3mgc*便是打过补丁的版本。当我用了补丁后,我从locale gb18030转到gbk后,中文文件名都就成了乱码了。
回复

使用道具 举报

发表于 2004-10-26 22:02:49 | 显示全部楼层
10-29更新:
将显示音标的字体指定为Lucida,从而可以正确的显示音标。

显示中文的补丁如下:
[code:1]
--- babyword-0.1/src/babyword.cpp.org        2004-10-22 21:02:13.000000000 +0800
+++ babyword-0.1/src/babyword.cpp        2004-10-27 00:18:04.991287880 +0800
@@ -78,7 +78,10 @@
         //word_L->setPaletteForegroundColor(Qt::white);
         //fnt.setBold(true);
         fnt.setPointSize(14);
-        word_L->setFont(fnt);
+
+       QFont word_fnt(QFont("Lucida"));
+       word_fnt.setPointSize(14);
+       word_L->setFont(word_fnt);

        meaning_L=new QLabel(this);
         //meaning_L->setPaletteForegroundColor(Qt::white);
@@ -399,7 +399,7 @@
         QString word= *word_List.at(current_W)+"  "+*phone_List.at(current_W);
         QString mean= *mean_List.at(current_W);
         word_L->setText(word);
-        meaning_L->setText(QString::fromLocal8Bit(mean));
+        meaning_L->setText(mean);

         int a=word_L->fontMetrics().width(word);
         int b=meaning_L->fontMetrics().width(QString::fromLocal8Bit(mean));
@@ -425,7 +425,7 @@
         QString word= *word_List.at(current_W)+"  "+*phone_List.at(current_W);
         QString mean= *mean_List.at(current_W);
           word_L->setText(word);
-        meaning_L->setText(QString::fromLocal8Bit(mean));
+        meaning_L->setText(mean);

         int a=word_L->fontMetrics().width(word);
         int b=meaning_L->fontMetrics().width(QString::fromLocal8Bit(mean));
@@ -484,7 +484,7 @@
        else
                {
                word_L->setText(word);
-                meaning_L->setText(QString::fromLocal8Bit(mean));
+                meaning_L->setText(mean);
               
                readit(*word_List.at(current_W));
                 int a=word_L->fontMetrics().width(word);
@@ -501,7 +501,7 @@
        else
        {
        word_L->setText(word);
-        meaning_L->setText(QString::fromLocal8Bit(mean));
+        meaning_L->setText(mean);

        int a=word_L->fontMetrics().width(word);
        int b=meaning_L->fontMetrics().width(QString::fromLocal8Bit(mean));
[/code:1]

RPM包下载:
http://www.magiclinux.org/people/kanker/tools/babyword/babyword-0.1-2mgc.i686.rpm
源包:
http://www.magiclinux.org/people/kanker/tools/babyword/babyword-0.1-2mgc.src.rpm
回复

使用道具 举报

发表于 2004-10-29 17:29:30 | 显示全部楼层
动做真快啊
回复

使用道具 举报

发表于 2004-10-29 21:33:42 | 显示全部楼层
还是有部分方块呀

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-25 06:15 , Processed in 0.097789 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表