vfs: check userland buffers before reading them.
[haiku.git] / docs / userguide / pt_PT / preferences / appearance.html
blobab726df091711ab70191f26ba762483aa9e4126c
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="pt-PT" xml:lang="pt-PT">
4 <head>
5 <!--
7 * Copyright 2008-2014, Haiku. All rights reserved.
8 * Distributed under the terms of the MIT License.
10 * Authors:
11 * Humdinger <humdingerb@gmail.com>
13 -->
14 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
15 <meta http-equiv="Content-Style-Type" content="text/css" />
16 <meta name="robots" content="all" />
17 <title>Appearance</title>
18 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
19 <link rel="stylesheet" type="text/css" href="../../Haiku-doc.css" />
20 </head>
21 <body>
23 <div id="banner">
24 <div><span>User guide</span></div>
25 </div>
27 <div class="nav">
28 <div class="inner">
29 <ul class="lang-menu">
30 <li class="now"><img src="../../images/flags/pt_PT.png" alt="" /> Português</li>
31 <li><a href="../../ca/preferences/appearance.html"><img src="../../images/flags/ca.png" alt="" />Català</a></li>
32 <li><a href="../../de/preferences/appearance.html"><img src="../../images/flags/de.png" alt="" />Deutsch</a></li>
33 <li><a href="../../en/preferences/appearance.html"><img src="../../images/flags/gb.png" alt="" />English</a></li>
34 <li><a href="../../es/preferences/appearance.html"><img src="../../images/flags/es.png" alt="" />Español</a></li>
35 <li><a href="../../fr/preferences/appearance.html"><img src="../../images/flags/fr.png" alt="" />Français</a></li>
36 <li><a href="../../it/preferences/appearance.html"><img src="../../images/flags/it.png" alt="" />Italiano</a></li>
37 <li><a href="../../hu/preferences/appearance.html"><img src="../../images/flags/hu.png" alt="" />Magyar</a></li>
38 <li><a href="../../pl/preferences/appearance.html"><img src="../../images/flags/pl.png" alt="" />Polski</a></li>
39 <li><a href="../../pt_BR/preferences/appearance.html"><img src="../../images/flags/pt_BR.png" alt="" />Português (Brazil)</a></li>
40 <li><a href="../../ro/preferences/appearance.html"><img src="../../images/flags/ro.png" alt="" />Română</a></li>
41 <li><a href="../../sk/preferences/appearance.html"><img src="../../images/flags/sk.png" alt="" />Slovenčina</a></li>
42 <li><a href="../../fi/preferences/appearance.html"><img src="../../images/flags/fi.png" alt="" />Suomi</a></li>
43 <li><a href="../../sv_SE/preferences/appearance.html"><img src="../../images/flags/sv_SE.png" alt="" />Svenska</a></li>
44 <li><a href="../../zh_CN/preferences/appearance.html"><img src="../../images/flags/zh_CN.png" alt="" /> 中文 [中文]</a></li>
45 <li><a href="../../ru/preferences/appearance.html"><img src="../../images/flags/ru.png" alt="" />Русский</a></li>
46 <li><a href="../../uk/preferences/appearance.html"><img src="../../images/flags/uk.png" alt="" />Українська</a></li>
47 <li><a href="../../jp/preferences/appearance.html"><img src="../../images/flags/jp.png" alt="" />日本語</a></li>
48 </ul>
49 <span>
50 <a href="../preferences.html" class="uplink">Preferences</a> 
51 ::  <a href="backgrounds.html">Backgrounds</a>  »
52 </span></div>
53 </div>
55 <div id="content">
56 <div>
57 <div class="box-info">The translation of this page isn't yet complete. Until it is, unfinished parts use the English original.</div>
59 <h2><img src="../../images/prefs-images/appearance-icon_64.png" alt="appearance-icon_64.png" width="64" height="64" />Appearance</h2>
60 <table summary="quickinfo" border="0" cellspacing="0" cellpadding="2">
61 <tr><td>Deskbar:</td><td style="width:15px;"></td><td><span class="menu">Preferences</span></td></tr>
62 <tr><td>Localização:</td><td></td><td><span class="path">/boot/system/preferences/Appearance</span></td></tr>
63 <tr><td>Definições:</td><td></td><td><span class="path">~/config/settings/system/app_server/appearance</span><br />
64 <span class="path">~/config/settings/system/app_server/fonts</span></td></tr>
65 </table>
66 <p>The Appearance preferences lets you change some aspects of Haiku's visuals.</p>
68 <h2>
69 <a href="#"><img src="../../images/up.png" style="border:none;float:right" alt="index" /></a>
70 <a id="fonts" name="fonts">Fonts</a></h2>
71 <img src="../images/prefs-images/appearance-fonts.png" alt="appearance-fonts.png" />
72 <p>Haiku defines three standard fonts for different purposes. You set plain, bold and fixed font types and sizes that will be used throughout the system. Besides these, there's also a separate setting for the font used in menus.</p>
74 <h3>
75 <a href="#"><img src="../../images/up.png" style="border:none;float:right" alt="index" /></a>
76 <a id="installing_fonts" name="installing_fonts">Installing new fonts</a></h3>
77 <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>
78 <table summary="layout" border="0" cellspacing="0" cellpadding="2">
79 <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>
80 <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>
81 </table>
83 <h2>
84 <a href="#"><img src="../../images/up.png" style="border:none;float:right" alt="index" /></a>
85 <a id="colors" name="colors">Colors</a></h2>
86 <img src="../images/prefs-images/appearance-colors.png" alt="appearance-colors.png" />
87 <p>In the <span class="menu">Colors</span> tab, you can change the colors of different parts of the user interface. The color well accepts drag &amp; drops from other programs, letting you drag colors over from e.g. <span class="app">WonderBrush</span>, <span class="app">Icon-O-Matic</span> or the <span class="app">Backgrounds</span> panel.</p>
89 <h2>
90 <a href="#"><img src="../../images/up.png" style="border:none;float:right" alt="index" /></a>
91 <a id="decorators" name="decorators">Window decorators</a></h2>
92 <img src="../images/prefs-images/appearance-decorators.png" alt="appearance-decorators.png" />
93 <p>Decorators determine the look and feel of windows and all GUI elements. Currently Haiku comes with only one default decorator. Should you find and install other decorators, you can choose a different one from the pop-up menu.</p>
94 <p>Haiku's default decorator lets you set the arrow style of the scroll bar: either single arrows at the end of scrollbars to conserve a bit of space, or double arrows — the traditional BeOS way — potentially saving some mouse moving when scrolling up and down or left and right...</p>
96 <h2>
97 <a href="#"><img src="../../images/up.png" style="border:none;float:right" alt="index" /></a>
98 <a id="antialiasing" name="antialiasing">Antialiasing</a></h2>
99 <img src="../images/prefs-images/appearance-antialiasing.png" alt="appearance-antialiasing.png" />
100 <p>The tab <span class="menu">Antialiasing</span> provides different settings for how things are rendered on screen.</p>
102 <h3>
103 <a href="#"><img src="../../images/up.png" style="border:none;float:right" alt="index" /></a>
104 Glyph hinting</h3>
105 <p>An activated <span class="menu">Glyph hinting</span> aligns all letters in such a way that their vertical and horizontal edges rest exactly between two pixels. The result is a perfect contrast, especially when dealing with black on white. Text appears crisper. There's also a setting for <span class="menu">Monospaced fonts only</span> that's especially helpful with low resolution devices like netbooks. Small fonts can look pretty bad when hinting is turned on, but with this setting you still have the advantage of hinting for text editors and Terminal.</p>
106 <p>See the difference hinting makes with these magnified screenshots:</p>
107 <table summary="layout" border="0" cellspacing="0" cellpadding="2">
108 <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>
109 </table>
110 <p>It should be pointed out that all the <span class="app">Magnify</span> windows on this page are of course rendered themselves with the different options as well. So, you get a real world impression of the settings by comparing, for example, the bold yellow tab title or the text "33 x 15 @ 8 pixels/pixel".</p>
112 <h3>
113 <a href="#"><img src="../../images/up.png" style="border:none;float:right" alt="index" /></a>
114 Antialiasing type</h3>
115 <p>Another technique to improve rendering is <i>Antialiasing</i>, which supports all vector graphics as well as text. It smooths lines by changing the color of certain pixels. There are two methods for that:</p>
116 <p><span class="menu">Grayscale</span> changes the intensity of pixels at the edge.<br />
117 <span class="menu">LCD subpixel</span> does an even better job, especially with (high resolution) LCD monitors. Instead of the intensity of a pixel, it changes its color which moves an edge by a fraction of a pixel, because LCD displays produce every pixel with a red, green and blue component.</p>
118 <p>Again, the two different methods with magnified screenshots:</p>
119 <table summary="layout" border="0" cellspacing="0" cellpadding="2">
120 <tr><td style="text-align:center; font-style:italic"><img src="../images/prefs-images/appearance-glyph-off.png" alt="appearance-glyph-off.png" /><br />Grayscale, Hinting: off</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 subpixel, Hinting: off</td></tr>
121 </table>
122 <p>Subpixel based antialiasing adds a slight colored shine to objects. Something not everyone tolerates. In Haiku you can mix the two antialiasing methods and find the right setting for you by using a slider.</p>
123 <div class="box-info">The subpixel based antialiasing in combination with the glyph hinting is subject of a software patent and is therefore not available by default. Depending on where in the world you live, you may get an unlocked version. Sorry about that. Talk with your representative.</div>
124 <p>If you do activate hinting plus LCD subpixel rendering by changing the source and recompiling, this is how it looks compared to hinting with Grayscale:</p>
125 <table summary="layout" border="0" cellspacing="0" cellpadding="2">
126 <tr><td style="text-align:center; font-style:italic"><img src="../images/prefs-images/appearance-glyph-on.png" alt="appearance-glyph-on.png" /><br />Grayscale, Hinting: on</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 subpixel, Hinting: on</td></tr>
127 </table>
128 <p><br /></p>
129 <p>At the bottom of the panel are two buttons:</p>
130 <table summary="layout" border="0" cellpadding="2" cellspacing="0">
131 <tr><td><span class="button">Defaults</span></td><td> </td><td>resets everything to default values.</td></tr>
132 <tr><td><span class="button">Revert</span></td><td> </td><td>brings back the settings that were active when you started the Appearance preferences.</td></tr>
133 </table>
135 </div>
136 </div>
138 <div class="nav">
139 <div class="inner"><span>
140 <a href="../preferences.html" class="uplink">Preferences</a> 
141 ::  <a href="backgrounds.html">Backgrounds</a>  »
142 </span></div>
143 </div>
145 </body>
146 </html>