2010-07-08 22:03:41 +04:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" lang = "en-US" xml:lang = "en-US" >
< head >
<!--
*
2013-12-15 16:04:28 +04:00
* Copyright 2008-2013, Haiku. All rights reserved.
2010-07-08 22:03:41 +04:00
* Distributed under the terms of the MIT License.
*
* Authors:
* Humdinger < humdingerb @ gmail . com >
* Translators:
* Pengphei Han
2011-06-06 20:08:15 +04:00
* Humdinger
2010-07-08 22:03:41 +04:00
*
-->
< meta http-equiv = "content-type" content = "text/html; charset=utf-8" / >
< meta http-equiv = "Content-Style-Type" content = "text/css" / >
< meta name = "robots" content = "all" / >
2010-08-02 20:51:09 +04:00
< title > 外观< / title >
2010-07-08 22:03:41 +04:00
< link rel = "stylesheet" type = "text/css" href = "../../Haiku-doc.css" / >
< / head >
< body >
< div id = "banner" >
2010-10-28 12:57:17 +04:00
< div > < span > 用户指南< / span > < / div >
2010-07-08 22:03:41 +04:00
< / div >
< div class = "nav" >
< div class = "inner" >
< ul class = "lang-menu" >
< li class = "now" > < img src = "../../images/flags/zh_CN.png" alt = "" / > 中文 [中文]< / li >
< li > < a href = "../../fr/preferences/appearance.html" > < img src = "../../images/flags/fr.png" alt = "" / > Français< / a > < / li >
< li > < a href = "../../de/preferences/appearance.html" > < img src = "../../images/flags/de.png" alt = "" / > Deutsch< / a > < / li >
< li > < a href = "../../it/preferences/appearance.html" > < img src = "../../images/flags/it.png" alt = "" / > Italiano< / a > < / li >
< li > < a href = "../../ru/preferences/appearance.html" > < img src = "../../images/flags/ru.png" alt = "" / > Русский< / a > < / li >
< li > < a href = "../../es/preferences/appearance.html" > < img src = "../../images/flags/es.png" alt = "" / > Español< / a > < / li >
2011-05-22 22:01:43 +04:00
< li > < a href = "../../sv_SE/preferences/appearance.html" > < img src = "../../images/flags/sv_SE.png" alt = "" / > Svenska< / a > < / li >
2010-07-08 22:03:41 +04:00
< li > < a href = "../../jp/preferences/appearance.html" > < img src = "../../images/flags/jp.png" alt = "" / > 日本語< / a > < / li >
< li > < a href = "../../uk/preferences/appearance.html" > < img src = "../../images/flags/uk.png" alt = "" / > Українська< / a > < / li >
< li > < a href = "../../pt_PT/preferences/appearance.html" > < img src = "../../images/flags/pt_PT.png" alt = "" / > Português< / a > < / li >
2011-12-04 00:12:53 +04:00
< li > < a href = "../../fi/preferences/appearance.html" > < img src = "../../images/flags/fi.png" alt = "" / > Suomi< / a > < / li >
< li > < a href = "../../sk/preferences/appearance.html" > < img src = "../../images/flags/sk.png" alt = "" / > Slovenčina< / a > < / li >
2012-11-16 01:36:54 +04:00
< li > < a href = "../../hu/preferences/appearance.html" > < img src = "../../images/flags/hu.png" alt = "" / > Magyar< / a > < / li >
< li > < a href = "../../pt_BR/preferences/appearance.html" > < img src = "../../images/flags/pt_BR.png" alt = "" / > Português (Brazil)< / a > < / li >
2013-02-18 00:51:59 +04:00
< li > < a href = "../../ca/preferences/appearance.html" > < img src = "../../images/flags/ca.png" alt = "" / > Català< / a > < / li >
2010-07-08 22:03:41 +04:00
< li > < a href = "../../en/preferences/appearance.html" > < img src = "../../images/flags/gb.png" alt = "" / > English< / a > < / li >
< / ul >
< span >
2010-10-28 12:57:17 +04:00
< a href = "../preferences.html" class = "uplink" > 首选项< / a >
:: < a href = "backgrounds.html" > 背景< / a > »
2010-07-08 22:03:41 +04:00
< / span > < / div >
< / div >
< div id = "content" >
< div >
2013-12-15 16:04:28 +04:00
< div class = "box-info" > 本节的翻译还未完成。在未完成之前,所有的未完成部分都将使用英语原文。< / div >
2010-07-08 22:03:41 +04:00
2010-08-02 20:51:09 +04:00
< h2 > < img src = "../../images/prefs-images/appearance-icon_64.png" alt = "appearance-icon_64.png" width = "64" height = "64" / > 外观< / h2 >
2010-07-08 22:03:41 +04:00
< table summary = "quickinfo" border = "0" cellspacing = "0" cellpadding = "2" >
2010-08-02 20:51:09 +04:00
< tr > < td > 桌面栏:< / td > < td style = "width:15px;" > < / td > < td > < span class = "menu" > 首选项< / span > < / td > < / tr >
2010-07-08 22:03:41 +04:00
< tr > < td > 位置:< / td > < td > < / td > < td > < span class = "path" > /boot/system/preferences/Appearance< / span > < / td > < / tr >
2012-08-18 12:28:04 +04:00
< tr > < td > 设置:< / td > < td > < / td > < td > < span class = "path" > ~/config/settings/system/app_server/appearance< / span > < br / >
< span class = "path" > ~/config/settings/system/app_server/decorator_settings< / span > < br / >
< span class = "path" > ~/config/settings/system/app_server/fonts< / span > < / td > < / tr >
2010-07-08 22:03:41 +04:00
< / table >
2010-08-02 20:51:09 +04:00
< p > 外观首选项允许你对 Haiku 的外观做出一些修改。< / p >
2010-07-08 22:03:41 +04:00
2012-08-18 12:28:04 +04:00
< h2 >
< a href = "#" > < img src = "../../images/up.png" style = "border:none;float:right" alt = "index" / > < / a >
< a id = "fonts" name = "fonts" > 字体< / a > < / h2 >
< img src = "../images/prefs-images/appearance-fonts.png" alt = "appearance-fonts.png" / >
< p > Haiku定义了三种标准字体用于不同的目的。您可以设置系统中使用的普通, 粗体和等宽字体类型。除此之外, 还有用于菜单字体的独立设置。< / p >
< h3 >
< a href = "#" > < img src = "../../images/up.png" style = "border:none;float:right" alt = "index" / > < / a >
< a id = "installing_fonts" name = "installing_fonts" > 安装字体< / a > < / h3 >
2013-12-15 16:04:28 +04:00
< p > New fonts that don't come as part of a regular .hpkg package, can be installed by copying them into a subfolder according to the font type (< tt > psfonts< / tt > or < tt > ttfonts< / tt > ) into their respective < tt > non-packaged< / tt > folder (see topic < a href = "../filesystem-layout.html" > Filesystem layout< / a > ). For TrueType fonts that would be:< / p >
< table summary = "layout" border = "0" cellspacing = "0" cellpadding = "2" >
< tr > < td > < span class = "path" > /boot/system/non-packaged/data/fonts/ttfonts/< / span > < / td > < td > < / td > < td > for fonts available to every user.< / td > < / tr >
< tr > < td > < span class = "path" > /boot/home/config/non-packaged/data/fonts/ttfonts/< / span > < / td > < td > < / td > < td > for fonts only available to yourself.< / td > < / tr >
< / table >
2012-08-18 12:28:04 +04:00
2010-07-08 22:03:41 +04:00
< h2 >
< a href = "#" > < img src = "../../images/up.png" style = "border:none;float:right" alt = "index" / > < / a >
2010-08-02 20:51:09 +04:00
< a id = "colors" name = "colors" > 颜色< / a > < / h2 >
2010-07-08 22:03:41 +04:00
< img src = "../images/prefs-images/appearance-colors.png" alt = "appearance-colors.png" / >
2012-08-18 12:28:04 +04:00
< p > 在 < span class = "menu" > 颜色< / span > 标签页中,您可以对用户界面不同部分的颜色做出修改。当然,这些颜色也支持拖拽操作;您从其他程序选取颜色,例如:< span class = "app" > WonderBrush< / span > , < span class = "app" > 图标套件< / span > 或者 < span class = "app" > 背景< / span > 面板。< / p >
< h2 >
< a href = "#" > < img src = "../../images/up.png" style = "border:none;float:right" alt = "index" / > < / a >
< a id = "decorators" name = "decorators" > 窗口装饰< / a > < / h2 >
< img src = "../images/prefs-images/appearance-decorators.png" alt = "appearance-decorators.png" / >
< p > Decorators 决定了窗口和所有界面元素的样式和外观。目前, Haiku 仅带有默认的装饰。如果您安装了其他的装饰,您可以从弹出菜单中选择使用。< / p >
2010-07-08 22:03:41 +04:00
< h2 >
< a href = "#" > < img src = "../../images/up.png" style = "border:none;float:right" alt = "index" / > < / a >
2010-08-02 20:51:09 +04:00
< a id = "antialiasing" name = "antialiasing" > 抗锯齿< / a > < / h2 >
2010-07-08 22:03:41 +04:00
< img src = "../images/prefs-images/appearance-antialiasing.png" alt = "appearance-antialiasing.png" / >
2012-08-18 12:28:04 +04:00
< p > < span class = "menu" > 抗锯齿< / span > 标签页提供了关于计算机屏幕中图形渲染的不同设置选项。< / p >
2010-07-08 22:03:41 +04:00
< h3 >
< a href = "#" > < img src = "../../images/up.png" style = "border:none;float:right" alt = "index" / > < / a >
2011-06-12 22:03:25 +04:00
字体微调< / h3 >
< p > 激活的 < span class = "menu" > 字体微调< / span > 把所有字符的横边和竖边放置在两个像素中间来排列字符。这样的结果是产生了鲜明的对比,尤其是在处理白底黑字时更加突出。而且文本显得非常整洁。同时还有一个 < span class = "menu" > 仅等宽字体< / span > 设置,该设置对于类似于上网本的低分辨率设备非常有用。当字体精调启用之后,小字体的显示效果会很不好,但是文本编辑软件和终端中的字体显示效果将会显著提高。< / p >
2010-07-08 22:03:41 +04:00
< p > 请看下面不同精调字体经过放大之后的截图:< / p >
< table summary = "layout" border = "0" cellspacing = "0" cellpadding = "2" >
2011-06-06 20:08:15 +04:00
< tr > < td style = "text-align:center; font-style:italic" > < img src = "../images/prefs-images/appearance-glyph-off.png" alt = "appearance-glyph-off.png" / > < br / > Hinting: off< / td > < td style = "width:15px;" > < / td > < td style = "text-align:center; font-style:italic" > < img src = "../images/prefs-images/appearance-glyph-on.png" alt = "appearance-glyph-on.png" / > < br / > Hinting: on< / td > < / tr >
2010-07-08 22:03:41 +04:00
< / table >
2010-08-02 20:51:09 +04:00
< p > 需要指出的是,本页中所有的 < span class = "app" > 放大镜< / span > 窗口当然也是通过一些选项实现自我渲染的。所以,你通过对比来获得有关设置的真实印象,例如,粗体的黄色标题或者文本 "33 x 15 @ 8 pixels/pixel"。< / p >
2010-07-08 22:03:41 +04:00
< h3 >
< a href = "#" > < img src = "../../images/up.png" style = "border:none;float:right" alt = "index" / > < / a >
2010-08-02 20:51:09 +04:00
抗锯齿类型< / h3 >
< p > 另一个可以用于渲染的是 < i > 抗锯齿技术< / i > ,它支持所有的矢量字体和文本,通过改变一些像素的颜色来使线条平滑。有两种方法实现抗锯齿类型:< / p >
2011-06-12 22:03:25 +04:00
< p > < span class = "menu" > 灰度< / span > 改变边缘像素的灰度。< br / >
< span class = "menu" > LCD 亚像素< / span > 会有更好的效果,尤其是对于 (高分辨率的) LCD 显示器。因为 LCD 显示器的每个像素是由红,绿,蓝三种基本色组成,所以该方法除了调节边缘像素的灰度,它还改变了边缘像素的部分颜色。< / p >
2010-07-08 22:03:41 +04:00
< p > 同样的,以上两种方法处理过的字体放大后的截图如下:< / p >
< table summary = "layout" border = "0" cellspacing = "0" cellpadding = "2" >
2011-06-12 22:03:25 +04:00
< tr > < td style = "text-align:center; font-style:italic" > < img src = "../images/prefs-images/appearance-glyph-off.png" alt = "appearance-glyph-off.png" / > < br / > 灰度,微调:关闭< / td > < td style = "width:15px;" > < / td > < td style = "text-align:center; font-style:italic" > < img src = "../images/prefs-images/appearance-subpixel.png" alt = "appearance-subpixel.png" / > < br / > LCD 亚像素,微调:关闭< / td > < / tr >
2010-07-08 22:03:41 +04:00
< / table >
< p > 基于亚像素的抗锯齿技术给其对象添加了轻微的色彩亮度,但不是所有的人都能够忍受这种渲染。在 Haiku 中,你可以混合使用这两种方法,并且可以通过调节滑动条找出适合自己的配置方案。< / p >
< div class = "box-info" > 基于亚像素的抗锯齿技术与字符精调技术的组合使用存在软件专利权的问题,因此是默认不可用的。但是根据所处地域的不同,您或许能够获取到可用的版本。对此深表歉意,您可以同您的代理人来商讨有关事宜。< / div >
2011-06-12 22:03:25 +04:00
< p > 如果你通过修改源码, 再次编译之后, 激活了字符精调和LCD亚像素组合渲染技术, 那么下面就是它与灰度渲染的效果对比: < / p >
2010-07-08 22:03:41 +04:00
< table summary = "layout" border = "0" cellspacing = "0" cellpadding = "2" >
2011-06-12 22:03:25 +04:00
< tr > < td style = "text-align:center; font-style:italic" > < img src = "../images/prefs-images/appearance-glyph-on.png" alt = "appearance-glyph-on.png" / > < br / > 灰度,微调:开启< / td > < td style = "width:15px;" > < / td > < td style = "text-align:center; font-style:italic" > < img src = "../images/prefs-images/appearance-glyph-on-subpixel.png" alt = "appearance-glyph-on-subpixel.png" / > < br / > LCD 亚像素,微调:开启< / td > < / tr >
2010-07-08 22:03:41 +04:00
< / table >
< p > < br / > < / p >
< p > 在本面板底部有两个按钮:< / p >
< table summary = "layout" border = "0" cellpadding = "2" cellspacing = "0" >
2011-05-22 22:01:43 +04:00
< tr > < td > < span class = "button" > 默认< / span > < / td > < td > < / td > < td > 设置所有内容为默认值。< / td > < / tr >
< tr > < td > < span class = "button" > 取消< / span > < / td > < td > < / td > < td > 取消设置,恢复到打开外观首选项前的设置状态。< / td > < / tr >
2010-07-08 22:03:41 +04:00
< / table >
< / div >
< / div >
< div class = "nav" >
< div class = "inner" > < span >
2010-10-28 12:57:17 +04:00
< a href = "../preferences.html" class = "uplink" > 首选项< / a >
:: < a href = "backgrounds.html" > 背景< / a > »
2010-07-08 22:03:41 +04:00
< / span > < / div >
< / div >
< / body >
< / html >