Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
更新了 freetype ,发现以前的使用simsun的方法不管用了
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
jiangtao
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2004
Posts: 80

PostPosted: Wed Sep 20, 2006 9:29 am    Post subject: 更新了 freetype ,发现以前的使用simsun的方法不管用了 Reply with quote

以前把 <family>SimSun</family> 放到 <alias> 靠前的地方,就能在字体里选择一个英文字体,中文自动使用 simsun 了。
但现在升级到 2.4 ,似乎这个方法就没用了??
为啥? :?:
Back to top
View user's profile Send private message
akar
Bodhisattva
Bodhisattva


Joined: 03 Dec 2004
Posts: 348
Location: HKSAR,China

PostPosted: Wed Sep 27, 2006 12:46 am    Post subject: Reply with quote

  是 fontconfig 升級到 2.4 版本吧?  :)  這裏是它的更新簡錄: http://hpux.connect.org.uk/hppd/hpux/Gtk/Development/fontconfig-2.4.1/readme.html

  如果仍不能查知原因,那就要查看代碼囉,代碼就是最好的文檔。 嘻嘻
_________________
AKar
Back to top
View user's profile Send private message
jiangtao
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2004
Posts: 80

PostPosted: Wed Sep 27, 2006 2:09 pm    Post subject: Reply with quote

看代码………………

那你帮我看帐吧。有笔钱我忘了记在哪里了…………
Back to top
View user's profile Send private message
galilette
n00b
n00b


Joined: 17 Jan 2005
Posts: 22

PostPosted: Fri Sep 29, 2006 12:50 pm    Post subject: Reply with quote

升到2.4.1我碰到的唯一不兼容是, 如果有<include>path/to/dir.d</include>的话, 要求该dir内有效配置文件不仅以数字开头(这个以前就是这样), 而且要求以.conf结尾, 直接导致我过去的配置没有被include. 花了半天时间才发现这个.

btw碰到问题的话可以试试:
Code:

$ LC_CTYPE=zh_CN fc-match serif -s

看一下你的simsun有没有被列出来, 是不是列在中文字体的第一个之类的
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum