f62c154804
This also applies the change in #15393
152 lines
10 KiB
HTML
152 lines
10 KiB
HTML
<?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="zh-CN" xml:lang="zh-CN">
|
||
<head>
|
||
<!--
|
||
*
|
||
* Copyright 2008-2014, Haiku. All rights reserved.
|
||
* Distributed under the terms of the MIT License.
|
||
*
|
||
* Authors:
|
||
* Humdinger <humdingerb@gmail.com>
|
||
* Translators:
|
||
* Humdinger
|
||
* Pengphei Han
|
||
*
|
||
-->
|
||
<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" />
|
||
<title>外观</title>
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
<link rel="stylesheet" type="text/css" href="../../Haiku-doc.css" />
|
||
</head>
|
||
<body>
|
||
|
||
<div id="banner">
|
||
<div><span>用户指南</span></div>
|
||
</div>
|
||
|
||
<div class="nav">
|
||
<div class="inner">
|
||
<ul class="lang-menu">
|
||
<li class="now"> 中文 [中文] <span class="dropdown-caret">▼</span></li>
|
||
<li><a href="../../id/preferences/appearance.html">Bahasa Indonesia</a></li>
|
||
<li><a href="../../ca/preferences/appearance.html">Català</a></li>
|
||
<li><a href="../../de/preferences/appearance.html">Deutsch</a></li>
|
||
<li><a href="../../en/preferences/appearance.html">English</a></li>
|
||
<li><a href="../../es/preferences/appearance.html">Español</a></li>
|
||
<li><a href="../../fr/preferences/appearance.html">Français</a></li>
|
||
<li><a href="../../fur/preferences/appearance.html">Furlan</a></li>
|
||
<li><a href="../../it/preferences/appearance.html">Italiano</a></li>
|
||
<li><a href="../../hu/preferences/appearance.html">Magyar</a></li>
|
||
<li><a href="../../pl/preferences/appearance.html">Polski</a></li>
|
||
<li><a href="../../pt_PT/preferences/appearance.html">Português</a></li>
|
||
<li><a href="../../pt_BR/preferences/appearance.html">Português (Brazil)</a></li>
|
||
<li><a href="../../ro/preferences/appearance.html">Română</a></li>
|
||
<li><a href="../../sk/preferences/appearance.html">Slovenčina</a></li>
|
||
<li><a href="../../fi/preferences/appearance.html">Suomi</a></li>
|
||
<li><a href="../../sv_SE/preferences/appearance.html">Svenska</a></li>
|
||
<li><a href="../../tr/preferences/appearance.html">Türkçe</a></li>
|
||
<li><a href="../../ru/preferences/appearance.html">Русский</a></li>
|
||
<li><a href="../../uk/preferences/appearance.html">Українська</a></li>
|
||
<li><a href="../../jp/preferences/appearance.html">日本語</a></li>
|
||
</ul>
|
||
<span>
|
||
<a href="../preferences.html" class="uplink">首选项</a>
|
||
:: <a href="backgrounds.html">背景</a> »
|
||
</span></div>
|
||
</div>
|
||
|
||
<div id="content">
|
||
<div>
|
||
|
||
<h2><img src="../../images/prefs-images/appearance-icon_64.png" alt="appearance-icon_64.png" width="64" height="64" />外观</h2>
|
||
<table summary="quickinfo" border="0" cellspacing="0" cellpadding="2">
|
||
<tr><td>桌面栏:</td><td style="width:15px;"></td><td><span class="menu">首选项</span></td></tr>
|
||
<tr><td>位置:</td><td></td><td><span class="path">/boot/system/preferences/Appearance</span></td></tr>
|
||
<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/fonts</span></td></tr>
|
||
</table>
|
||
<p>外观首选项允许你对 Haiku 的外观做出一些修改。</p>
|
||
|
||
<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>
|
||
<p>新字体将不会以常规的 .hpkg 包形式提供,您可以根据字体类型(<tt>psfonts</tt> 或者 <tt>ttfonts</tt>)将字体复制到 <tt>non-packaged</tt> 下的相应子目录进行安装(详情查看 <a href="../filesystem-layout.html">文件系统布局</a>)。对于 TrueType 字体如下:</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>用于对所有用户都可用的字体。</td></tr>
|
||
<tr><td><span class="path">/boot/home/config/non-packaged/data/fonts/ttfonts/</span></td><td> </td><td>用于仅对自己可用的字体。</td></tr>
|
||
</table>
|
||
|
||
<h2>
|
||
<a href="#"><img src="../../images/up.png" style="border:none;float:right" alt="index" /></a>
|
||
<a id="colors" name="colors">颜色</a></h2>
|
||
<img src="../images/prefs-images/appearance-colors.png" alt="appearance-colors.png" />
|
||
<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>
|
||
<p>Haiku 默认的装饰可以让您选择箭头类型和滚动条:滚动栏两端的单向箭头,或者类似于传统 BeOS 方式的双向箭头。或者在鼠标移动时,可以让其左右上下滚动。</p>
|
||
|
||
<h2>
|
||
<a href="#"><img src="../../images/up.png" style="border:none;float:right" alt="index" /></a>
|
||
<a id="antialiasing" name="antialiasing">抗锯齿</a></h2>
|
||
<img src="../images/prefs-images/appearance-antialiasing.png" alt="appearance-antialiasing.png" />
|
||
<p><span class="menu">抗锯齿</span> 标签页提供了关于计算机屏幕中图形渲染的不同设置选项。</p>
|
||
|
||
<h3>
|
||
<a href="#"><img src="../../images/up.png" style="border:none;float:right" alt="index" /></a>
|
||
字体微调</h3>
|
||
<p>激活的 <span class="menu">字体微调</span> 把所有字符的横边和竖边放置在两个像素中间来排列字符。这样的结果是产生了鲜明的对比,尤其是在处理白底黑字时更加突出。而且文本显得非常整洁。同时还有一个 <span class="menu">仅等宽字体</span> 设置,该设置对于类似于上网本的低分辨率设备非常有用。当字体精调启用之后,小字体的显示效果会很不好,但是文本编辑软件和终端中的字体显示效果将会显著提高。</p>
|
||
<p>请看下面不同精调字体经过放大之后的截图:</p>
|
||
<table summary="layout" border="0" cellspacing="0" cellpadding="2">
|
||
<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>
|
||
</table>
|
||
<p>需要指出的是,本页中所有的 <span class="app">放大镜</span> 窗口当然也是通过一些选项实现自我渲染的。所以,你通过对比来获得有关设置的真实印象,例如,粗体的黄色标题或者文本 "33 x 15 @ 8 pixels/pixel"。</p>
|
||
|
||
<h3>
|
||
<a href="#"><img src="../../images/up.png" style="border:none;float:right" alt="index" /></a>
|
||
抗锯齿类型</h3>
|
||
<p>另一个可以用于渲染的是 <i>抗锯齿技术</i> ,它支持所有的矢量字体和文本,通过改变一些像素的颜色来使线条平滑。有两种方法实现抗锯齿类型:</p>
|
||
<p><span class="menu">灰度</span> 改变边缘像素的灰度。<br />
|
||
<span class="menu">LCD 亚像素</span> 会有更好的效果,尤其是对于 (高分辨率的) LCD 显示器。因为 LCD 显示器的每个像素是由红,绿,蓝三种基本色组成,所以该方法除了调节边缘像素的灰度,它还改变了边缘像素的部分颜色。</p>
|
||
<p>同样的,以上两种方法处理过的字体放大后的截图如下:</p>
|
||
<table summary="layout" border="0" cellspacing="0" cellpadding="2">
|
||
<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>
|
||
</table>
|
||
<p>基于亚像素的抗锯齿技术给其对象添加了轻微的色彩亮度,但不是所有的人都能够忍受这种渲染。在 Haiku 中,你可以混合使用这两种方法,并且可以通过调节滑动条找出适合自己的配置方案。</p>
|
||
<div class="box-info">基于亚像素的抗锯齿技术与字符精调技术的组合使用存在软件专利权的问题,因此是默认不可用的。但是根据所处地域的不同,您或许能够获取到可用的版本。对此深表歉意,您可以同您法律顾问商讨有关事宜。</div>
|
||
<p>如果你通过修改源码,再次编译之后,激活了字符精调和LCD亚像素组合渲染技术,那么下面就是它与灰度渲染的效果对比:</p>
|
||
<table summary="layout" border="0" cellspacing="0" cellpadding="2">
|
||
<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>
|
||
</table>
|
||
<p><br /></p>
|
||
<p>在本面板底部有两个按钮:</p>
|
||
<table summary="layout" border="0" cellpadding="2" cellspacing="0">
|
||
<tr><td><span class="button">Defaults</span></td><td> </td><td>重置所有设置未默认值。</td></tr>
|
||
<tr><td><span class="button">取消</span></td><td> </td><td>取消设置,恢复到打开外观首选项前的设置状态。</td></tr>
|
||
</table>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
<div class="nav">
|
||
<div class="inner"><span>
|
||
<a href="../preferences.html" class="uplink">首选项</a>
|
||
:: <a href="backgrounds.html">背景</a> »
|
||
</span></div>
|
||
</div>
|
||
|
||
</body>
|
||
</html>
|