Sync docs: Text/Labels/ENVVARS -> EXTENDING re: fonts
This commit is contained in:
parent
848924c6dc
commit
2ef45a2c6a
39 changed files with 407 additions and 30 deletions
|
|
@ -125,3 +125,7 @@ may be used by the "Text" and "Label" tools.
|
|||
the location of the user's configuration files. It is used to find a
|
||||
user-specific "fonts.conf" configuration file.
|
||||
|
||||
|
||||
⚙ See the "Extending Tux Paint" documentation for information on where Tux
|
||||
Paint searches for fonts.
|
||||
|
||||
|
|
|
|||
|
|
@ -620,7 +620,7 @@ option is set). The locations vary, depending on operating system.
|
|||
+ B_USER_FONTS_DIRECTORY
|
||||
+ B_USER_NONPACKAGED_FONTS_DIRECTORY
|
||||
|
||||
* Linux
|
||||
* Linux/etc.
|
||||
+ /usr/share/feh/fonts
|
||||
+ /usr/share/fonts
|
||||
+ /usr/X11R6/lib/X11/fonts
|
||||
|
|
@ -633,7 +633,46 @@ option is set). The locations vary, depending on operating system.
|
|||
|
||||
### FontConfig ###
|
||||
|
||||
...
|
||||
Tux Paint utilizes FontConfig to find additional system-wide and user-specific
|
||||
fonts that the 'Text' and 'Label' tools might be able to use (unless the
|
||||
"--nosysfonts" option is set). It does this by looking for FontConfig
|
||||
configuration files ("fonts.conf") in various locations.
|
||||
|
||||
* Windows
|
||||
+ The "etc/fonts/fonts.conf" file included with Tux Paint.
|
||||
* macOS
|
||||
+ The path specified by the "FONTCONFIG_PATH" environment variable, if
|
||||
set.
|
||||
* Haiku
|
||||
+ /boot/system/settings/fonts/fonts.conf
|
||||
* Linux/etc.
|
||||
+ The path specified by the "FONTCONFIG_PATH" environment variable, if
|
||||
set.
|
||||
+ If the above fails, then "/etc/fonts/fonts.conf".
|
||||
+ The path specified by the "XDG_CONFIG_HOME" environment variable, if
|
||||
set. There, it looks for the file "fontconfig/fonts.conf".
|
||||
+ If the above fails, then "$HOME/.config/fontconfig/fonts.conf".
|
||||
|
||||
Each FontConfig configuration file ("fonts.conf") is examined for "<dir>" tags
|
||||
that specify directory (folder) paths where fonts might be found, and Tux Paint
|
||||
scans them and loads the fonts. If a "prefix" attribute is included in the tag,
|
||||
Tux Paint prefixes the path accordingly.
|
||||
|
||||
→ xdg ←
|
||||
The directory path specified is considered to be relative to the user's
|
||||
local data path, specified by the "XDG_DATA_HOME" environment variable. If
|
||||
not set, then ".local/share" under the path specified by the "HOME"
|
||||
environment variable will be used, if it exists.
|
||||
|
||||
→ relative ←
|
||||
The directory path specified is considered to be relative to the
|
||||
configuration file itself.
|
||||
|
||||
→ default, cwd, or no "prefix" attribute specified ←
|
||||
The directory path specified is considered to be relative to the current
|
||||
working directory (where Tux Paint is running), unless a root path is
|
||||
included at the start (e.g., "/", "C:\\", etc.)
|
||||
|
||||
|
||||
'Starters'
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
Copyright © 2002-2025 by various contributors; AUTHORS.txt 参照.
|
||||
https://tuxpaint.org/
|
||||
|
||||
2025年5月26日
|
||||
2025年6月 8日
|
||||
|
||||
+--------------------------------------------------+
|
||||
| 目次 |
|
||||
|
|
@ -436,6 +436,9 @@ e.「もじ」ツール、「ラベル」ツール ←
|
|||
するとカーソルが表示され、文字を入力することができます。(入力した文字がキャ
|
||||
ンバスに反映される前に、フォント、色、スタイルを変更することができます)
|
||||
|
||||
⚙ See the "Extending Tux Paint" documentation for information on where Tux
|
||||
Paint searches for fonts.
|
||||
|
||||
[Enter]キー、または[Return]キーを押すと文字が描画され、カーソルが次の行に下
|
||||
がります。
|
||||
|
||||
|
|
|
|||
|
|
@ -231,6 +231,9 @@
|
|||
On Linux and other platforms where the X Desktop Group standards are used, the location of the user's configuration files. It is used to find a user-specific "<code>fonts.conf</code>" configuration file. </dd>
|
||||
</dl>
|
||||
|
||||
<p class="note">
|
||||
<span title="Configuration option">⚙</span> See the "<a href="EXTENDING.html"><em>Extending Tux Paint</em></a>" documentation for information on where Tux Paint searches for fonts. </p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@
|
|||
</p>
|
||||
|
||||
<p>
|
||||
2025年5月26日 </p>
|
||||
2025年6月 8日 </p>
|
||||
</center>
|
||||
</header>
|
||||
<table border="2"
|
||||
|
|
@ -813,6 +813,9 @@
|
|||
<p>
|
||||
まず、右側のセレクタからフォントを、下部のパレットから色を選択します。さらに、テキストに太字や斜体のスタイルを適用することもできます。画面をクリックするとカーソルが表示され、文字を入力することができます。(入力した文字がキャンバスに反映される前に、フォント、色、スタイルを変更することができます) </p>
|
||||
|
||||
<p class="note">
|
||||
<span title="Configuration option">⚙</span> See the "<a href="EXTENDING.html"><em>Extending Tux Paint</em></a>" documentation for information on where Tux Paint searches for fonts. </p>
|
||||
|
||||
<p>
|
||||
<b><code>[Enter]</code></b>キー、または<b><code>[Return]</code></b>キーを押すと文字が描画され、カーソルが次の行に下がります。 </p>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue