fiag
管理员
管理员
  • UID1188
  • 注册日期2004-12-21
  • 最后登录2024-04-22
  • 发帖数4681
  • 经验686枚
  • 威望0点
  • 贡献值402点
  • 好评度51点
阅读:2797回复:4

优化Linux下的Mozilla Firefox 设置

楼主#
更多 发布于:2005-07-29 22:55
启用对FreeType的支持

添加到 ~/.mozilla/firefox/default.xxx/ 里面的 user.js
或者直接编辑about:config
// TrueType
user_pref ("font.FreeType2.enable", true);
user_pref ("font.freetype2.shared-library", "libfreetype.so.6");
// if libfreetype was built without hinting compiled in
// it is best to leave hinting off
user_pref ("font.FreeType2.autohinted", true);
user_pref ("font.FreeType2.unhinted", true);
// below a certian pixel size anti-aliased fonts produce poor results
user_pref ("font.antialias.min",        0);
user_pref ("font.embedded_bitmaps.max", 1000000);
user_pref ("font.scale.tt_bitmap.dark_text.min", 0);
user_pref ("font.scale.tt_bitmap.dark_text.gain", "0.0");
// sample user_pref s for TrueType font dirs
user_pref ("font.directory.truetype.1", "/usr/share/fonts/ttf-bitstream-vera");
user_pref ("font.directory.truetype.2", "/usr/share/fonts/TTF");
user_pref ("font.directory.truetype.3", "/usr/share/fonts/corefonts");
user_pref ("font.directory.truetype.4", "/usr/share/fonts/freefont");
user_pref ("font.FreeType2.printing", true);


安装中文locale

Gentoo
打开
http://ftp.mozilla.org/pub/mozilla.org/ ... linux-xpi/
点击里面的 zh-CN.xpi ,
确认安装重启Fx

修改 about:config intl.locale.matchOS 为 True
如果为了能在UA中显示zh-CN,修改 general.useragent.locale

Debian
apt-get install mozilla-firefox-locale-zh-cn

加速FF

browser.turbo.enabled true
//enable pipelining feature
network.http.pipelining true
nglayout.initialpaint.delay 100
//make opening submenu faster
ui.submenuDelay 200


 
zlbruce
非常火狐
非常火狐
  • UID5714
  • 注册日期2005-05-05
  • 最后登录2013-05-16
  • 发帖数903
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
1楼#
发布于:2005-07-29 22:55
Dentoo??
是Debian啊。
slrey
火狐狸
火狐狸
  • UID5922
  • 注册日期2005-05-12
  • 最后登录2006-02-23
  • 发帖数147
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
2楼#
发布于:2005-07-29 22:55
呵呵,肯定是debian啊,apt-get啊
zephyr
火狐狸
火狐狸
  • UID877
  • 注册日期2004-12-14
  • 最后登录2008-01-18
  • 发帖数207
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
3楼#
发布于:2005-07-29 22:55
为什么我下载tar.gz的包(相当于Windows的Zip版本), 总说不能运行呢? 文件属性也的确没有一个是x的
fiag
管理员
管理员
  • UID1188
  • 注册日期2004-12-21
  • 最后登录2024-04-22
  • 发帖数4681
  • 经验686枚
  • 威望0点
  • 贡献值402点
  • 好评度51点
4楼#
发布于:2005-07-29 22:55
hehe, 手误,已更正

楼上用
#chmod a+x firefox firefox-bin
$sh firefox
先试试看
游客

返回顶部