※ 引述《[email protected] (抬青椒)》之銘言:
> ※ 引述《[email protected] (statue)》之銘言:
> > 能不能大概說一下你 AA 的設定方式? 修改 unix.js 還是 fonts.conf
> 我是改 unix.js
> > 使用 www/mozilla or www/mozilla-gtk?
> 都用過, 目前用 www/mozilla , www/mozilla-gtk 比較不穩
> > XFree86 的版本? mozilla 的版本?
> mozilla 1.1 是 1.1_3,2 , mozilla 1.2 是 1.2.1_1,2
> XFree86 4.3.0 不過從 XFree86 4.2.1 就有這個問題了
> > 重新裝完 ttfm 有沒有把字型也重裝?
> > thanks.
> 有, 我用過 98, w2k, win XP 的細明體跟標楷體了, 都有一樣的問題
> 不過我專指 M$ 字型 , 文鼎系列的都沒有問題
> 謝謝 statue 大大的撥空 :)
我不是大大 @_@..大大們是
http://freebsd.sinica.edu.tw/zh-tut/ack.html 除了那個 Weak initialier
以外的人 ...(忘了把名人 gslin 加進來, 去加ㄧ下 @O@)
如果是改 unix.js 的方式, 我想要檢查檢查是不是使用 freetype2
並且有開啟 BYTECODE INTERPRETER, 如果都有還是破碎的話 ....
那我也就沒折了 :~
我的建議是先用文鼎頂ㄧ下吧 (真是逃避現實的回答 :o)
既然不用 AA 的細明體可以用, 也可以先用這個 ..
我用 mozilla 內建的 AA, 然後修改 unix.js 讓 mozilla 自己去處理 truetype ..
user_pref("font.FreeType2.autohinted", true);
user_pref("font.FreeType2.enable", true);
user_pref("font.directory.truetype.1","/usr/X11R6/lib/X11/fonts/webfonts");
user_pref("font.directory.truetype.2","/usr/X11R6/lib/X11/fonts/TrueType");
user_pref("font.freetype2.shared-library", "libfreetype.so.9");
webfonts 是 FreeBSD 的ㄧ個 port, /usr/ports/x11-fonts/webfonts
TrueType 則是只安裝 arphicttf, /usr/ports/chinese/arphicttf
然後再去選擇文鼎字型, 應該就可以了 (吧?)
效果就會像是我之前所 po 的那樣子:
http://freebsd.sinica.edu.tw/~statue/snapshot/mozilla-in.png
不過有的問題是重繪時, 會弄得髒髒的 (突然想到 gugod-clean 的字型)
我用 fontconfig 的方式沒辦法弄出中文字型押...
跑了 fc-cache 還是沒在 fc-list 中看到字型.. 我也在努力中 @@..
而 kde3.1 現在似乎也要捨棄 XLFD 採用 fontconfig 的方式了
原本好好的 qtconfig 怎麼不用了呀呀呀呀呀呀呀呀呀
http://freebsd.sinica.edu.tw/zh-tut/kde.html#KDE3
XFree86 4.3.0 之後似乎是雙軌的字型控制 XLFD v.s fontconfig ..
現在似乎也沒人在討論 fontconfig, 要等他穩定可能要再等一下吧..
我後來也有不小心弄出 fontconfig 的中文字
不過有些中文字會變的很細, 根本看不清楚
或是夾雜在中文字中間的字會消失, 要用滑鼠反白才看的到
總結是, 我也在等人寫文件呀 :p
中文字型完全解決方案 PART II(搶鮮速報)
http://phorum.study-area.org/viewtopic.php?t=14998
套ㄧ下 octapult 大大的話
[quota]
想要解決英文字距過寬的問題,可以修改 fontconfig 的設定來達到中英文
各自使用不同字型的方法;或者是修改 kdeglobals 的設定;或者是採用
Akito Hirai 先生的 patch。詳細情形請參考下面兩個討論串:
Konsole 變全形字?!
http://moto.chuany.net/viewtopic.php?t=899
xft2 和 fontconfig 的粗體字型 patch
http://moto.chuany.net/viewtopic.php?t=818
[/quota]
[fontconfig]
Fontconfig does the following:
* discover new fonts when installed automatically, removing a common source
of configuration problems.
* perform font name substitution, so that appropriate alternative fonts can
be selected if fonts are missing.
* identify the set of fonts required to completely cover a set of languages.
* have GUI configuration tools built as it uses an XML-based configuration
file (though with autodiscovery, we believe this need is minimized).
* efficiently and quickly find the fonts you need among the set of fonts
you have installed, even if you have installed thousands of fonts, while
minimzing memory usage.
* be used in concert with the X Render Extension and FreeType to implement
high quality, anti-aliased and subpixel rendered text on a display.
-- keithp
WWW: http://fontconfig.org/
[/fontconfig]
--
※ Origin: 元智大學 風之塔 <bbs.yzu.edu.tw>
※ From : u8-177.u203-204.giga.net.tw