SASCSI
狐狸大王
狐狸大王
  • UID30822
  • 注册日期2009-10-24
  • 最后登录2013-07-09
  • 发帖数329
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
阅读:7070回复:34

请问如何渲染字体?哇哈哈,终于成了........

楼主#
更多 发布于:2010-08-16 03:20
我是看这个帖子的,

https://www.firefox.net.cn/forum/viewtopic.php?t=31583


我的字体效果和1楼类似,但是我看just4fun这一楼的字体渲染效果似乎很好......请问这个是如何设置的?
个人Blog
http://sascsi.x10.bz/blog/

SASCSI
狐狸大王
狐狸大王
  • UID30822
  • 注册日期2009-10-24
  • 最后登录2013-07-09
  • 发帖数329
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
1楼#
发布于:2010-08-16 03:20
是不是靠这个来实现的?

http://q.yesky.com/group/review-18726453.html
个人Blog
http://sascsi.x10.bz/blog/

kmc
kmc
管理员
管理员
  • UID165
  • 注册日期2004-11-25
  • 最后登录2022-09-22
  • 发帖数9186
  • 经验397枚
  • 威望1点
  • 贡献值124点
  • 好评度41点
  • 忠实会员
  • 终身成就
  • 社区居民
2楼#
发布于:2010-08-16 03:20
just4fun的截图好像也最多只是用的ClearType的雅黑,如果是gdi++,出来的效果应该完全不同。

下面是我用兰亭黑的效果。
Waterfox Current和Firefox Nightly都用,逐渐走出XUL扩展依赖
SASCSI
狐狸大王
狐狸大王
  • UID30822
  • 注册日期2009-10-24
  • 最后登录2013-07-09
  • 发帖数329
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
3楼#
发布于:2010-08-16 03:20
kmc:just4fun的截图好像也最多只是用的ClearType的雅黑,如果是gdi++,出来的效果应该完全不同。

下面是我用兰亭黑的效果。
回到原帖


请问ClearType具体如何做?
个人Blog
http://sascsi.x10.bz/blog/

alanfly
千年狐狸
千年狐狸
  • UID31035
  • 注册日期2009-11-10
  • 最后登录2024-05-19
  • 发帖数2769
  • 经验580枚
  • 威望1点
  • 贡献值128点
  • 好评度102点
  • 社区居民
  • 最爱沙发
  • 忠实会员
4楼#
发布于:2010-08-16 03:20
lovehigh
小狐狸
小狐狸
  • UID29645
  • 注册日期2009-07-14
  • 最后登录2022-01-14
  • 发帖数26
  • 经验34枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 社区居民
  • 忠实会员
5楼#
发布于:2010-08-16 03:20
我现在在用mactype,很不错,有几种配置文件,只需要自己切换就好。
just4fun
千年狐狸
千年狐狸
  • UID30408
  • 注册日期2009-09-17
  • 最后登录2016-04-28
  • 发帖数1497
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度2点
6楼#
发布于:2010-08-16 03:20
我对字体没那么讲究,只是在用css把网页字体固定为雅黑而已,而且字体也是win7默认效果。
以前在xp下用雅黑,确实需要手动调节一下ClearType,否则字体有点糊,看着不清爽。而Win7开aero,用了很多台电脑了,都是默认就可以了。
当然,上面说的都是LCD
SASCSI
狐狸大王
狐狸大王
  • UID30822
  • 注册日期2009-10-24
  • 最后登录2013-07-09
  • 发帖数329
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
7楼#
发布于:2010-08-16 03:20
alanfly:win 7调整cleartype参考这里:Windows 7小技巧: ClearType 文字調整工具,讓LCD字型更好看!回到原帖



调整后感觉FF没啥变化?倒是WIN 本身有变化,,,why?
个人Blog
http://sascsi.x10.bz/blog/

SASCSI
狐狸大王
狐狸大王
  • UID30822
  • 注册日期2009-10-24
  • 最后登录2013-07-09
  • 发帖数329
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
8楼#
发布于:2010-08-16 03:20
just4fun:我对字体没那么讲究,只是在用css把网页字体固定为雅黑而已,而且字体也是win7默认效果。
以前在xp下用雅黑,确实需要手动调节一下ClearType,否则字体有点糊,看着不清爽。而Win7开aero,用了很多台电脑了,都是默认就可以了。
当然,上面说的都是LCD
回到原帖


这个是不是要改那个啥user啥文件来着?麻烦告知咋改.谢谢
个人Blog
http://sascsi.x10.bz/blog/

巫谢
小狐狸
小狐狸
  • UID33291
  • 注册日期2010-07-05
  • 最后登录2023-10-12
  • 发帖数80
  • 经验32枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 社区居民
9楼#
发布于:2010-08-16 03:20
我用MacType
elisha
千年狐狸
千年狐狸
  • UID5901
  • 注册日期2005-05-12
  • 最后登录2017-11-15
  • 发帖数1436
  • 经验12枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 社区居民
10楼#
发布于:2010-08-16 03:20
SASCSI


调整后感觉FF没啥变化?倒是WIN 本身有变化,,,why?
回到原帖

要用微软雅黑字体

And so at last the beast fell and the unbelievers rejoiced.
But all was not lost, for from the ash rose a great bird.
The bird gazed down upon the unbelievers and cast fire
and thunder upon them.For the beast had been
reborn with its strength renewed, and the
followers of Mammon cowered in horror.



from The Book of Mozilla, 7:15
just4fun
千年狐狸
千年狐狸
  • UID30408
  • 注册日期2009-09-17
  • 最后登录2016-04-28
  • 发帖数1497
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度2点
11楼#
发布于:2010-08-16 03:20
SASCSI

这个是不是要改那个啥user啥文件来着?麻烦告知咋改.谢谢
回到原帖

是userChrome.css,里面加上
@-moz-document url-prefix(http),url-prefix(https) {
input {font-family: 微软雅黑 !important;}
}

但这个只负责固定字体为雅黑,调显示效果的话还是要用ClearType
SASCSI
狐狸大王
狐狸大王
  • UID30822
  • 注册日期2009-10-24
  • 最后登录2013-07-09
  • 发帖数329
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
12楼#
发布于:2010-08-16 03:20
就是按alanfly的方法先开cleartype,然后再编辑userChrome.css?
个人Blog
http://sascsi.x10.bz/blog/

SASCSI
狐狸大王
狐狸大王
  • UID30822
  • 注册日期2009-10-24
  • 最后登录2013-07-09
  • 发帖数329
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
13楼#
发布于:2010-08-16 03:20
我直接用那个例子文件改的,似乎没效果?透明效果反而没了....

左边是加了代码的,右边是啥也加过的......似乎一样?

/*
 * Edit this file and copy it as userChrome.css into your
 * profile-directory/chrome/
 */

/*
 * This file can be used to customize the look of Mozilla's user interface
 * You should consider using !important on rules which you want to
 * override default settings.
 */

/*
 * Do not remove the @namespace line -- it's required for correct functioning
 */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */


/*
 * Some possible accessibility enhancements:
 */
/*
 * Make all the default font sizes 20 pt:
 *
 * * {
 *   font-size: 20pt !important
 * }
 */
/*
 * Make menu items in particular 15 pt instead of the default size:
 *
 * menupopup > * {
 *   font-size: 15pt !important
 * }
 */
/*
 * Give the Location (URL) Bar a fixed-width font
 *
 * #urlbar {
 *    font-family: monospace !important;
 * }
 */

/*
 * Eliminate the throbber and its annoying movement:
 *
 * #throbber-box {
 *   display: none !important;
 * }
 */

/*
 * For more examples see http://www.mozilla.org/unix/customizing.html
 */
 

#main-window {
background: #CED5E6 !important;
}

#main-window, #allTabs-panel, #ctrlTab-panel {
-moz-appearance: window !important;
}

@-moz-document url-prefix(http),url-prefix(https) {
input {font-family: 微软雅黑 !important;}
}
个人Blog
http://sascsi.x10.bz/blog/

zj45499
千年狐狸
千年狐狸
  • UID29472
  • 注册日期2009-07-03
  • 最后登录2014-10-06
  • 发帖数1158
  • 经验11枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
14楼#
发布于:2010-08-16 03:20
..字体渲染可是个大问题了.
我印象中kmc很有研究...


上一页
游客

返回顶部