Re: Issue 76 in ucimf: 字体显示不佳

10 views
Skip to first unread message

uc...@googlecode.com

unread,
Mar 19, 2011, 9:44:32 PM3/19/11
to uc...@googlegroups.com

Comment #1 on issue 76 by chguo...@gmail.com: 字体显示不佳
http://code.google.com/p/ucimf/issues/detail?id=76

配置字体好像不起作用的。

uc...@googlecode.com

unread,
Apr 14, 2011, 11:17:25 PM4/14/11
to uc...@googlegroups.com

Comment #2 on issue 76 by MatLinuxer2: 字体显示不佳
http://code.google.com/p/ucimf/issues/detail?id=76

Sorry, it's my fault.

請問你使用的字型是那一個呢?

uc...@googlecode.com

unread,
Apr 15, 2011, 2:55:10 AM4/15/11
to uc...@googlegroups.com

Comment #3 on issue 76 by chguo...@gmail.com: 字体显示不佳
http://code.google.com/p/ucimf/issues/detail?id=76

fbterm+ucimf是我用过的控制台下最好用的中文组合了 :-)
非常支持你完善这套系统!

不管在/etc/ucimf.conf里配置的字体是什么,实际显示出来的都是默认的字体。
我在fbterm里配置的字体是Consolas和仿宋字体。
这会是什么问题呢?

uc...@googlecode.com

unread,
Apr 15, 2011, 8:46:40 AM4/15/11
to uc...@googlegroups.com
Updates:
Status: Accepted
Owner: MatLinuxer2

Comment #4 on issue 76 by MatLinuxer2: 字体显示不佳
http://code.google.com/p/ucimf/issues/detail?id=76

非常感謝你的 feedback!

我猜測有可能和的 fontconfig 設定檔有關。( /etc/fonts/fonts.conf,
~/.fonts.conf )
一般來說我會用 `fc-match -s <font name> | head -3` 來檢查字型
( 如 fc-match -s "MingLiu" | head -3 )
想詢問一下你在執行這個指令時,會輸出什麼結果?

我的輸出結果大致像這樣:
mingliu.ttc: "MingLiU" "Regular"
ter-112n.pcf.gz: "Terminus" "Regular"
ter-x12n.pcf.gz: "Terminus" "Regular"

目前因為畫字的程式還處理的不是很好,所以目前只有幾個特定字型( ex: unifont
)的顯示外觀較好。


uc...@googlecode.com

unread,
Apr 15, 2011, 10:02:14 AM4/15/11
to uc...@googlegroups.com

Comment #5 on issue 76 by chguo...@gmail.com: 字体显示不佳
http://code.google.com/p/ucimf/issues/detail?id=76

由于我的系统是ubuntu-10.10,所以执行 fc-match -s "MingLiu" 有很多匹配的字
体,前三个是
mingliu.ttc: "MingLiU" "Regular"
DejaVuSans.ttf: "DejaVu Sans" "Book"
DejaVuSans-Bold.ttf: "DejaVu Sans" "Bold"

uc...@googlecode.com

unread,
Apr 17, 2011, 2:46:22 AM4/17/11
to uc...@googlegroups.com

Comment #6 on issue 76 by MatLinuxer2: 字体显示不佳
http://code.google.com/p/ucimf/issues/detail?id=76

謝謝你的 feedback!

我這兩天測起來,選字好像有時候不太正確,詳細原因還在查。

BTW, 我想再確認一下你使用的版本,是 libucimf-2.3.7 還是 2.3.8?

Thanks!

uc...@googlecode.com

unread,
Apr 17, 2011, 3:51:53 AM4/17/11
to uc...@googlegroups.com

Comment #7 on issue 76 by chguo...@gmail.com: 字体显示不佳
http://code.google.com/p/ucimf/issues/detail?id=76

怎样确定libucimf的版本?
我安装的是libucimf0的软件包,用ldd /usr/bin/fbterm_ucimf的结果是这样的:
linux-gate.so.1 => (0x00aca000)
libucimf.so.0 => /usr/lib/libucimf.so.0 (0x001c3000)
libltdl.so.7 => /usr/lib/libltdl.so.7 (0x0080d000)
libdl.so.2 => /lib/libdl.so.2 (0x00bfc000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00e19000)
libz.so.1 => /lib/libz.so.1 (0x00b89000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x0093d000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x001dd000)
libm.so.6 => /lib/libm.so.6 (0x0067f000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00162000)
libc.so.6 => /lib/libc.so.6 (0x00502000)
/lib/ld-linux.so.2 (0x004b0000)
libexpat.so.1 => /lib/libexpat.so.1 (0x00110000)

uc...@googlecode.com

unread,
Apr 17, 2011, 6:19:57 AM4/17/11
to uc...@googlegroups.com

Comment #8 on issue 76 by MatLinuxer2: 字体显示不佳
http://code.google.com/p/ucimf/issues/detail?id=76

可以用

`pkg-config --modversion libucimf`

或是 (for debian/ubuntu )

`dpkg -l |grep ucimf`

來看相關套件的版本。

uc...@googlecode.com

unread,
Apr 17, 2011, 8:36:50 AM4/17/11
to uc...@googlegroups.com

Comment #9 on issue 76 by chguo...@gmail.com: 字体显示不佳
http://code.google.com/p/ucimf/issues/detail?id=76

谢谢!我的libucimf的版本是2.3.7-1:
ii fbterm-ucimf 0.2.9-1 ucimf input method interface for fbterm
ii libucimf0 2.3.7-1 library for unicode console input method framework
ii ucimf 2.3.7-1 uicode console input method framework
ii ucimf-openvanilla 2.10.11-1 openvanilla input method collection for
ucimf

uc...@googlecode.com

unread,
Apr 17, 2011, 1:20:19 PM4/17/11
to uc...@googlegroups.com
Updates:
Labels: User-chguohua

Comment #10 on issue 76 by MatLinuxer2: 字体显示不佳
http://code.google.com/p/ucimf/issues/detail?id=76

收到。 感謝回覆!

uc...@googlecode.com

unread,
Aug 14, 2011, 8:17:20 AM8/14/11
to uc...@googlegroups.com

Comment #11 on issue 76 by CasperVector: 字体显示不佳
http://code.google.com/p/ucimf/issues/detail?id=76

在 ucimfrc 中设定 font-name = Monospace(被 fontconfig 映射为 Dejavu Sans 或
文泉驿正黑)或其它任何 ttf 字体时,字体很粗且边缘模糊不清,如附件中
scr-ttf.png 所示;而在 ucimfrc 中设定 font-name = unifont.pcf 时,效果正
常,如附件中 scr-pcf.png 所示。
我怀疑问题出在对 truetype 字体的支持上面。


Attachments:
scr-ttf.png 16.4 KB
scr-pcf.png 16.7 KB

uc...@googlecode.com

unread,
Aug 14, 2011, 9:13:48 AM8/14/11
to uc...@googlegroups.com
Updates:
Labels: User-CasperVector

Comment #12 on issue 76 by MatLinuxer2: 字体显示不佳
http://code.google.com/p/ucimf/issues/detail?id=76

(No comment was entered for this change.)

Reply all
Reply to author
Forward
0 new messages