Skip to content

Commit

Permalink
Deploying to master from @ SerenityOS/serenity@f0ba4d9 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
BuggieBot committed Oct 4, 2024
1 parent d99dff2 commit f9b0f91
Show file tree
Hide file tree
Showing 14 changed files with 30 additions and 59 deletions.
8 changes: 4 additions & 4 deletions man1/Applications/FontEditor.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ <h3 id="the-toolbar"><a style="margin-right: 15px" href="#the-toolbar">#</a>The
<h3 id="the-main-workspace"><a style="margin-right: 15px" href="#the-main-workspace">#</a>The Main Workspace</h3>
<p>The main workspace has three partitions:</p>
<ul>
<li><p>The <em><strong>left section</strong></em> contains the glyph editor window. This window has three different zoom factors for ease of use and for your viewing comfort. They are 500%, 1000% and 1500%. You can freely switch to any zoom level at anytime while creating your font. Don't let the size of the glyph editor window fool you. This is where you will spend about 95% of the time. And the task is that of shaping each glyph by left-clicking on the mouse. You can form a dot, a line, or a complete glyph just by connecting the dots. If you need to undo a certain location with a black dot, you can right-click on top of the target area and it will revert back to empty. Each grid area can hold any of the three states: 1) on or black 2) off or white 3) empty or gray. On state is displayed as black by default. Off state is displayed as white by default. Empty state is displayed as gray by default. Off state or white is relevant most specially if the font is fixed-width as it dictates the distance a glyph will have from left, center or right. Empty state or gray is important for variable-width font as it affects the overall width of the glyph. For variable width fonts, you move the glyph flushed left on the glyph editor window and remove any extra empty grids by decrementing the present column counter located right under the glyph editor window and thereby leaving only the entire glyph all by itself. Below the glyph editor is the glyph tool which contains the following: the pen icon for creating the glyph itself, the move icon to enable the entire glyph move to top, down, left or right from within the glyph editor window. Below the glyph tool are the transform icons which are flip horizontal, flip vertical, rotate counter-clockwise 90°and rotate clockwise 90°. Transform tools are most helpful when copying over existing glyphs and transforming them to form a new glyph. A becomes V, M becomes W, c becomes e, n becomes u, etc.</p></li>
<li><p>The <em><strong>middle section</strong></em> contains two parts: the upper part which holds the entire glyph content of the font, or lack thereof if you are making a new one. And the lower part which contains <em><strong>Metadata</strong></em> information such as name, family, weight, slope, presentation size, mean line, baseline, glyph spacing and if the font is either fixed-width or variable-width. You can still further tweak your font parameters via the Metadata section. The <code>Fixed width</code> toggle located at the right side next to Glyph spacing is of special note. It applies to the entire font file. It does not only apply to a single glyph or group of glyphs. It is the differentiating factor that informs the system if the font is or is not fixed-width. Fixed-width fonts are mostly used for Terminals and for displaying source code.</p></li>
<li><p>The <em><strong>right section</strong></em> displays a searchable list of Unicode Blocks. Metadata and Unicode Blocks can be turned on or off in <code>Menu → View</code>. Selecting a Unicode Block will show only the glyphs contained within the range of that block. Basic Latin covers 000-007F, Latin-1 Supplement covers 0080-00FF, Latin Extended-A covers 0100-017F and so on and so forth. Global search for a glyph is affected when a certain block is currently selected. Only by selecting <code>Show All</code> will the global glyph search work as expected. So make it a habit of confirming that Show All is active before searching for a glyph.</p></li>
<li><p>The <strong><em>left section</em></strong> contains the glyph editor window. This window has three different zoom factors for ease of use and for your viewing comfort. They are 500%, 1000% and 1500%. You can freely switch to any zoom level at anytime while creating your font. Don't let the size of the glyph editor window fool you. This is where you will spend about 95% of the time. And the task is that of shaping each glyph by left-clicking on the mouse. You can form a dot, a line, or a complete glyph just by connecting the dots. If you need to undo a certain location with a black dot, you can right-click on top of the target area and it will revert back to empty. Each grid area can hold any of the three states: 1) on or black 2) off or white 3) empty or gray. On state is displayed as black by default. Off state is displayed as white by default. Empty state is displayed as gray by default. Off state or white is relevant most specially if the font is fixed-width as it dictates the distance a glyph will have from left, center or right. Empty state or gray is important for variable-width font as it affects the overall width of the glyph. For variable width fonts, you move the glyph flushed left on the glyph editor window and remove any extra empty grids by decrementing the present column counter located right under the glyph editor window and thereby leaving only the entire glyph all by itself. Below the glyph editor is the glyph tool which contains the following: the pen icon for creating the glyph itself, the move icon to enable the entire glyph move to top, down, left or right from within the glyph editor window. Below the glyph tool are the transform icons which are flip horizontal, flip vertical, rotate counter-clockwise 90°and rotate clockwise 90°. Transform tools are most helpful when copying over existing glyphs and transforming them to form a new glyph. A becomes V, M becomes W, c becomes e, n becomes u, etc.</p></li>
<li><p>The <strong><em>middle section</em></strong> contains two parts: the upper part which holds the entire glyph content of the font, or lack thereof if you are making a new one. And the lower part which contains <strong><em>Metadata</em></strong> information such as name, family, weight, slope, presentation size, mean line, baseline, glyph spacing and if the font is either fixed-width or variable-width. You can still further tweak your font parameters via the Metadata section. The <code>Fixed width</code> toggle located at the right side next to Glyph spacing is of special note. It applies to the entire font file. It does not only apply to a single glyph or group of glyphs. It is the differentiating factor that informs the system if the font is or is not fixed-width. Fixed-width fonts are mostly used for Terminals and for displaying source code.</p></li>
<li><p>The <strong><em>right section</em></strong> displays a searchable list of Unicode Blocks. Metadata and Unicode Blocks can be turned on or off in <code>Menu → View</code>. Selecting a Unicode Block will show only the glyphs contained within the range of that block. Basic Latin covers 000-007F, Latin-1 Supplement covers 0080-00FF, Latin Extended-A covers 0100-017F and so on and so forth. Global search for a glyph is affected when a certain block is currently selected. Only by selecting <code>Show All</code> will the global glyph search work as expected. So make it a habit of confirming that Show All is active before searching for a glyph.</p></li>
</ul>
<h3 id="the-status-bar"><a style="margin-right: 15px" href="#the-status-bar">#</a>The status bar</h3>
<p>The status bar displays additional information describing what each menu entry and toolbar icon does. It identifies the unicode value of the glyph currently under the cursor. It shows the glyph's visual representation (if available), description and dimensions. The right-most segment displays the code point range of the currently selected Unicode Block. Clicking this segment will toggle the display of the Unicode Block list. Second only to the glyph editor window, the status bar is your next best friend on your path to becoming a font master.</p>
Expand Down Expand Up @@ -217,6 +217,6 @@ <h3 id="search-glyph"><a style="margin-right: 15px" href="#search-glyph">#</a>Se
<h3 id="search-detail"><a style="margin-right: 15px" href="#search-detail">#</a>Search detail</h3>
<p><img src="/Fonts_SerenityOS_dot_Net_result_detail.png" /></p>
<p>The same search session displaying result of the previous query.</p>
<p>So there you have it, by now you have at least an idea of how to make <em><strong>SerenityOS</strong></em> fonts using <strong>FontEditor</strong>. For any font-related questions or inquiries, just drop by the official <a href="https://discord.com/channels/830522505605283862/927893781968191508">SerenityOS Discord #fonts</a>.</p>
<p>So there you have it, by now you have at least an idea of how to make <strong><em>SerenityOS</em></strong> fonts using <strong>FontEditor</strong>. For any font-related questions or inquiries, just drop by the official <a href="https://discord.com/channels/830522505605283862/927893781968191508">SerenityOS Discord #fonts</a>.</p>
</body>
</html>
2 changes: 1 addition & 1 deletion man1/cal.html
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ <h2 id="examples"><a style="margin-right: 15px" href="#examples">#</a>Examples</
<span id="cb2-17"><a href="#cb2-17" aria-hidden="true" tabindex="-1"></a><span class="ex">10</span> 11 12 13 14 15 16</span>
<span id="cb2-18"><a href="#cb2-18" aria-hidden="true" tabindex="-1"></a><span class="ex">17</span> 18 19 20 21 22 23</span>
<span id="cb2-19"><a href="#cb2-19" aria-hidden="true" tabindex="-1"></a><span class="ex">24</span> 25 26 27 28 29 30</span>
<span id="cb2-20"><a href="#cb2-20" aria-hidden="true" tabindex="-1"></a><span class="ex">31</span> </span>
<span id="cb2-20"><a href="#cb2-20" aria-hidden="true" tabindex="-1"></a><span class="ex">31</span></span>
<span id="cb2-21"><a href="#cb2-21" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-22"><a href="#cb2-22" aria-hidden="true" tabindex="-1"></a><span class="co"># Display three months side-by-side</span></span>
<span id="cb2-23"><a href="#cb2-23" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> cal <span class="at">-3</span> 3 2023</span>
Expand Down
4 changes: 2 additions & 2 deletions man1/checksum.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ <h2 id="name"><a style="margin-right: 15px" href="#name">#</a>Name</h2>
<h2 id="synopsis"><a style="margin-right: 15px" href="#synopsis">#</a>Synopsis</h2>
<pre class="**sh"><code>$ b2sum [options...] &lt;file...&gt;
$ md5sum [options...] &lt;file...&gt;
$ sha1sum [options...] &lt;file...&gt;
$ sha256sum [options...] &lt;file...&gt;
$ sha1sum [options...] &lt;file...&gt;
$ sha256sum [options...] &lt;file...&gt;
$ sha512sum [options...] &lt;file...&gt;</code></pre>
<h2 id="description"><a style="margin-right: 15px" href="#description">#</a>Description</h2>
<p>This program calculates and print specified checksum of files. It cannot be run directly, only as <code>b2sum</code>, <code>md5sum</code>, <code>sha1sum</code>, <code>sha256sum</code> or <code>sha512sum</code>. A non-zero exit code is returned if the input cannot be read. If the '--check' option is used, a non-zero exit code is also returned if the checksums cannot be verified.</p>
Expand Down
4 changes: 2 additions & 2 deletions man1/cut.html
Original file line number Diff line number Diff line change
Expand Up @@ -244,12 +244,12 @@ <h2 id="examples"><a style="margin-right: 15px" href="#examples">#</a>Examples</
<span id="cb2-7"><a href="#cb2-7" aria-hidden="true" tabindex="-1"></a><span class="ex">245:789</span> M:4540</span>
<span id="cb2-8"><a href="#cb2-8" aria-hidden="true" tabindex="-1"></a><span class="ex">535:763</span> M:3476</span>
<span id="cb2-9"><a href="#cb2-9" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-10"><a href="#cb2-10" aria-hidden="true" tabindex="-1"></a><span class="co"># Display first and third fields using `:` as a delimiter </span></span>
<span id="cb2-10"><a href="#cb2-10" aria-hidden="true" tabindex="-1"></a><span class="co"># Display first and third fields using `:` as a delimiter</span></span>
<span id="cb2-11"><a href="#cb2-11" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> cut example.txt <span class="at">-d</span> <span class="st">&#39;:&#39;</span> <span class="at">-f</span> 1,3</span>
<span id="cb2-12"><a href="#cb2-12" aria-hidden="true" tabindex="-1"></a><span class="ex">245:4540</span> Admin 01</span>
<span id="cb2-13"><a href="#cb2-13" aria-hidden="true" tabindex="-1"></a><span class="ex">535:3476</span> Sales 11</span>
<span id="cb2-14"><a href="#cb2-14" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-15"><a href="#cb2-15" aria-hidden="true" tabindex="-1"></a><span class="co"># Display bytes at given position </span></span>
<span id="cb2-15"><a href="#cb2-15" aria-hidden="true" tabindex="-1"></a><span class="co"># Display bytes at given position</span></span>
<span id="cb2-16"><a href="#cb2-16" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> echo <span class="st">&quot;serenity is cool&quot;</span> <span class="kw">|</span> <span class="fu">cut</span> <span class="at">-b</span> 5</span>
<span id="cb2-17"><a href="#cb2-17" aria-hidden="true" tabindex="-1"></a><span class="ex">n</span></span></code></pre></div>
<h2 id="see-also"><a style="margin-right: 15px" href="#see-also">#</a>See Also</h2>
Expand Down
2 changes: 1 addition & 1 deletion man1/listdir.html
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ <h2 id="arguments"><a style="margin-right: 15px" href="#arguments">#</a>Argument
<h2 id="examples"><a style="margin-right: 15px" href="#examples">#</a>Examples</h2>
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="co"># List directory entries of working directory</span></span>
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> lsdir</span>
<span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a><span class="co"># List directory entries of /proc directory </span></span>
<span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a><span class="co"># List directory entries of /proc directory</span></span>
<span id="cb2-4"><a href="#cb2-4" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> lsdir /proc</span>
<span id="cb2-5"><a href="#cb2-5" aria-hidden="true" tabindex="-1"></a><span class="co"># List directory entries of /proc directory with POSIX names for file types</span></span>
<span id="cb2-6"><a href="#cb2-6" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> lsdir <span class="at">-P</span> /proc</span>
Expand Down
4 changes: 2 additions & 2 deletions man1/pmemdump.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ <h2 id="options"><a style="margin-right: 15px" href="#options">#</a>Options</h2>
<li><code>-r</code>: Dump from /dev/mem with <code>read(2)</code> instead of doing <code>mmap(2)</code> on it.</li>
</ul>
<h2 id="examples"><a style="margin-right: 15px" href="#examples">#</a>Examples</h2>
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> pmemdump <span class="at">-r</span> 983040 65536 </span>
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> pmemdump 983040 65536 </span></code></pre></div>
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> pmemdump <span class="at">-r</span> 983040 65536</span>
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> pmemdump 983040 65536</span></code></pre></div>
<h2 id="notes"><a style="margin-right: 15px" href="#notes">#</a>Notes</h2>
<p>The pmemdump utility opens the <code>/dev/mem</code> file, and gets a mapping by doing <code>mmap(2)</code> on it.</p>
<p>Using the <code>-r</code> flag might be useful sometimes, especially when reading from an unaligned reserved physical memory region when trying to <code>mmap(2)</code> <code>/dev/mem</code> on the specified offset fails.</p>
Expand Down
2 changes: 1 addition & 1 deletion man1/rmdir.html
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ <h1 class="title">rmdir(1) - SerenityOS man pages</h1>
<h2 id="name"><a style="margin-right: 15px" href="#name">#</a>Name</h2>
<p>rmdir - remove empty directories</p>
<h2 id="synopsis"><a style="margin-right: 15px" href="#synopsis">#</a>Synopsis</h2>
<pre class="**sh"><code>$ rmdir `[directory...]` </code></pre>
<pre class="**sh"><code>$ rmdir `[directory...]`</code></pre>
<h2 id="description"><a style="margin-right: 15px" href="#description">#</a>Description</h2>
<p>Remove given <code>directory(ies)</code>, if they are empty</p>
<h2 id="options"><a style="margin-right: 15px" href="#options">#</a>Options</h2>
Expand Down
2 changes: 1 addition & 1 deletion man1/strings.html
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ <h1 class="title">strings(1) - SerenityOS man pages</h1>
<h2 id="name"><a style="margin-right: 15px" href="#name">#</a>Name</h2>
<p>strings - find printable strings in files</p>
<h2 id="synopsis"><a style="margin-right: 15px" href="#synopsis">#</a>Synopsis</h2>
<pre class="**sh"><code>$ strings [--bytes NUMBER] [--print-file-name] [-o] [--radix FORMAT] [PATHS...] </code></pre>
<pre class="**sh"><code>$ strings [--bytes NUMBER] [--print-file-name] [-o] [--radix FORMAT] [PATHS...]</code></pre>
<h2 id="description"><a style="margin-right: 15px" href="#description">#</a>Description</h2>
<p><code>strings</code> looks for printable strings in each file specified in <code>PATHS</code> and writes them to standard output. If <code>PATHS</code> is not specified, input is read from standard input.</p>
<h2 id="options"><a style="margin-right: 15px" href="#options">#</a>Options</h2>
Expand Down
10 changes: 5 additions & 5 deletions man5/GML/Widget/DynamicWidgetContainer.html
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ <h2 id="examples"><a style="margin-right: 15px" href="#examples">#</a>Examples</

@GUI::Widget {
}

@GUI::Widget {
}
}</code></pre>
Expand All @@ -213,21 +213,21 @@ <h2 id="examples"><a style="margin-right: 15px" href="#examples">#</a>Examples</

@GUI::Widget {
}

@GUI::Widget {
}
}

@GUI::DynamicWidgetContainer {
section_label: &quot;Section 2&quot;
config_domain: &quot;abc&quot;

@GUI::Widget {
}

@GUI::Widget {
}
}
}
}</code></pre>
</body>
</html>
25 changes: 1 addition & 24 deletions man5/GML/Widget/Label.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,29 +168,6 @@ <h2 id="examples"><a style="margin-right: 15px" href="#examples">#</a>Examples</
name: &quot;files_copied_label&quot;
}</code></pre>
<h2 id="registered-properties"><a style="margin-right: 15px" href="#registered-properties">#</a>Registered Properties</h2>
<table>
<thead>
<tr class="header">
<th>Property</th>
<th>Type</th>
<th>Possible values</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>text_alignment</td>
<td>text_alignment</td>
<td>Center, CenterLeft, CenterRight, TopLeft, TopRight, BottomLeft, BottomRight</td>
<td>Sets alignment of the text</td>
</tr>
<tr class="even">
<td>text_wrapping</td>
<td>text_wrapping</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p>| Property | Type | Possible values | Description | | -------------- | -------------- | --------------------------------------------------------------------------- | -------------------------- | --- | --- | | text_alignment | text_alignment | Center, CenterLeft, CenterRight, TopLeft, TopRight, BottomLeft, BottomRight | Sets alignment of the text | | text_wrapping | text_wrapping | | | | |</p>
</body>
</html>
2 changes: 1 addition & 1 deletion man5/GML/Widget/TabWidget.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ <h2 id="synopsis"><a style="margin-right: 15px" href="#synopsis">#</a>Synopsis</
<h2 id="examples"><a style="margin-right: 15px" href="#examples">#</a>Examples</h2>
<pre class="gml"><code>@GUI::TabWidget {
uniform_tabs: true

@GUI::Widget {
title: &quot;First tab&quot;
}
Expand Down
Loading

0 comments on commit f9b0f91

Please sign in to comment.