Sync docs: Text/Labels/ENVVARS -> EXTENDING re: fonts

This commit is contained in:
Bill Kendrick 2025-06-08 11:10:03 -07:00
parent 848924c6dc
commit 2ef45a2c6a
39 changed files with 407 additions and 30 deletions

View file

@ -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.

View file

@ -6,7 +6,7 @@
Copyright © 2002-2025 by various contributors; see AUTHORS.txt.
https://tuxpaint.org/
May 26, 2025
June 8, 2025
+-------------------------------------------------+
| Table of Contents |
@ -480,6 +480,9 @@ e."Text" and "Label" Tools ←
font, color, and styling while entering the text, before it is applied to
the canvas.)
⚙ See the "Extending Tux Paint" documentation for information on where Tux
Paint searches for fonts.
Press [Enter] or [Return] and the text will be drawn onto the picture and
the cursor will move down one line.

View file

@ -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">&#9881;</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>

View file

@ -102,7 +102,7 @@
</p>
<p>
May 26, 2025 </p>
June 8, 2025 </p>
</center>
</header>
<table border="2"
@ -813,6 +813,9 @@
<p>
Choose a font (from the 'Letters' available on the right) and a color (from the color palette near the bottom). You may also apply a bold, and/or an italic styling effect to the text. Click on the screen and a cursor will appear. Type text and it will show up on the screen. (You can change the font, color, and styling while entering the text, before it is applied to the canvas.) </p>
<p class="note">
<span title="Configuration option">&#9881;</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>
Press <b><code>[Enter]</code></b> or <b><code>[Return]</code></b> and the text will be drawn onto the picture and the cursor will move down one line. </p>

View file

@ -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.

View file

@ -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'

View file

@ -6,7 +6,7 @@
Copyright © 2002-2025 by various contributors; see AUTHORS.txt.
https://tuxpaint.org/
mayo 26, 2025
junio 8, 2025
+-------------------------------------------------+
| Table of Contents |
@ -480,6 +480,9 @@ e."Text" and "Label" Tools ←
font, color, and styling while entering the text, before it is applied to
the canvas.)
⚙ See the "Extending Tux Paint" documentation for information on where Tux
Paint searches for fonts.
Press [Enter] or [Return] and the text will be drawn onto the picture and
the cursor will move down one line.

View file

@ -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">&#9881;</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>

View file

@ -102,7 +102,7 @@
</p>
<p>
mayo 26, 2025 </p>
junio 8, 2025 </p>
</center>
</header>
<table border="2"
@ -813,6 +813,9 @@
<p>
Choose a font (from the 'Letters' available on the right) and a color (from the color palette near the bottom). You may also apply a bold, and/or an italic styling effect to the text. Click on the screen and a cursor will appear. Type text and it will show up on the screen. (You can change the font, color, and styling while entering the text, before it is applied to the canvas.) </p>
<p class="note">
<span title="Configuration option">&#9881;</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>
Press <b><code>[Enter]</code></b> or <b><code>[Return]</code></b> and the text will be drawn onto the picture and the cursor will move down one line. </p>

View file

@ -133,3 +133,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.

View file

@ -652,7 +652,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
@ -665,7 +665,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.)
'Images de démarrage'

View file

@ -6,7 +6,7 @@
Copyright © 2002-2025 by divers contributeurs; voir AUTHORS.txt.
https://tuxpaint.org/
mai 26, 2025
juin 8, 2025
+-------------------------------------------------------+
| Table des matières |
@ -510,6 +510,9 @@ e.Outils "Texte" et "Étiquette" ←
l'écran. (Vous pouvez changer la police, la couleur et le style en entrant
le texte, avant de l'appliquer sur le canevas).
⚙ See the "Extending Tux Paint" documentation for information on where Tux
Paint searches for fonts.
Appuyez sur [Entrée] ou [Retour] et le texte sera inclus dans l'image et le
curseur se déplacera d'une ligne vers le bas.

View file

@ -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">&#9881;</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>

View file

@ -102,7 +102,7 @@
</p>
<p>
mai 26, 2025 </p>
juin 8, 2025 </p>
</center>
</header>
<table border="2"
@ -813,6 +813,9 @@
<p>
Choisissez une police (parmi les «Lettres» disponibles sur la droite) et une couleur (dans la palette de couleurs en bas). Vous pouvez aussi appliquer des effets tels que caractère gras et/ou italique. Cliquez sur l'écran et un curseur apparaîtra. Tapez un texte et il apparaîtra à l'écran. (Vous pouvez changer la police, la couleur et le style en entrant le texte, avant de l'appliquer sur le canevas). </p>
<p class="note">
<span title="Configuration option">&#9881;</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>
Appuyez sur <b><code>[Entrée]</code></b> ou <b><code>[Retour]</code></b> et le texte sera inclus dans l'image et le curseur se déplacera d'une ligne vers le bas. </p>

View file

@ -128,3 +128,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.

View file

@ -637,7 +637,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
@ -650,7 +650,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.)
«Imaxes de comezo»

View file

@ -6,7 +6,7 @@
Copyright © 2002-2025 by varios colaboradores; see AUTHORS.txt.
https://tuxpaint.org/
26 de Maio de 2025
8 de Xuño de 2025
+--------------------------------------------------------+
| Índice |
@ -488,6 +488,9 @@ e.Ferramentas «Texto» e «Etiquetas» ←
font, color, and styling while entering the text, before it is applied to
the canvas.)
⚙ See the "Extending Tux Paint" documentation for information on where Tux
Paint searches for fonts.
Prema [Intro] ou [Retorno] e o texto será debuxado na imaxe e o cursor
moverase cara abaixo unha liña.

View file

@ -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">&#9881;</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>

View file

@ -102,7 +102,7 @@
</p>
<p>
26 de Maio de 2025 </p>
8 de Xuño de 2025 </p>
</center>
</header>
<table border="2"
@ -813,6 +813,9 @@
<p>
Choose a font (from the 'Letters' available on the right) and a color (from the color palette near the bottom). You may also apply a bold, and/or an italic styling effect to the text. Click on the screen and a cursor will appear. Type text and it will show up on the screen. (You can change the font, color, and styling while entering the text, before it is applied to the canvas.) </p>
<p class="note">
<span title="Configuration option">&#9881;</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>
Prema <b><code>[Intro]</code></b> ou <b><code>[Retorno]</code></b> e o texto será debuxado na imaxe e o cursor moverase cara abaixo unha liña. </p>

View file

@ -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.

View file

@ -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'

View file

@ -6,7 +6,7 @@
Copyright © 2002-2025 by various contributors; see AUTHORS.txt.
https://tuxpaint.org/
maí 26, 2025
júní 8, 2025
+-------------------------------------------------+
| Table of Contents |
@ -480,6 +480,9 @@ e."Text" and "Label" Tools ←
font, color, and styling while entering the text, before it is applied to
the canvas.)
⚙ See the "Extending Tux Paint" documentation for information on where Tux
Paint searches for fonts.
Press [Enter] or [Return] and the text will be drawn onto the picture and
the cursor will move down one line.

View file

@ -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">&#9881;</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>

View file

@ -102,7 +102,7 @@
</p>
<p>
maí 26, 2025 </p>
júní 8, 2025 </p>
</center>
</header>
<table border="2"
@ -813,6 +813,9 @@
<p>
Choose a font (from the 'Letters' available on the right) and a color (from the color palette near the bottom). You may also apply a bold, and/or an italic styling effect to the text. Click on the screen and a cursor will appear. Type text and it will show up on the screen. (You can change the font, color, and styling while entering the text, before it is applied to the canvas.) </p>
<p class="note">
<span title="Configuration option">&#9881;</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>
Press <b><code>[Enter]</code></b> or <b><code>[Return]</code></b> and the text will be drawn onto the picture and the cursor will move down one line. </p>

View file

@ -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.

View file

@ -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'

View file

@ -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]キーを押すと文字が描画され、カーソルが次の行に下
がります。

View file

@ -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">&#9881;</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>

View file

@ -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">&#9881;</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>

View file

@ -130,3 +130,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.

View file

@ -635,7 +635,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
@ -648,7 +648,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.)
“Fillesa”

View file

@ -6,7 +6,7 @@
Të drejta kopjimi © 2002-2025 nga kontribues të ndryshëm; shihni AUTHORS.txt.
https://tuxpaint.org/
26 maj 2025
8 qershor 2025
+---------------------------------------------------+
| Pasqyrë e Lëndës |
@ -481,6 +481,9 @@ e.Mjete “Tekst” dhe “Etiketa” ←
font, color, and styling while entering the text, before it is applied to
the canvas.)
⚙ See the "Extending Tux Paint" documentation for information on where Tux
Paint searches for fonts.
Press [Tasti Enter] or [Tasti Return] and the text will be drawn onto the
picture and the cursor will move down one line.

View file

@ -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">&#9881;</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>

View file

@ -102,7 +102,7 @@
</p>
<p>
26 maj 2025 </p>
8 qershor 2025 </p>
</center>
</header>
<table border="2"
@ -813,6 +813,9 @@
<p>
Choose a font (from the 'Letters' available on the right) and a color (from the color palette near the bottom). You may also apply a bold, and/or an italic styling effect to the text. Click on the screen and a cursor will appear. Type text and it will show up on the screen. (You can change the font, color, and styling while entering the text, before it is applied to the canvas.) </p>
<p class="note">
<span title="Configuration option">&#9881;</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>
Press <b><code>[Tasti Enter]</code></b> or <b><code>[Tasti Return]</code></b> and the text will be drawn onto the picture and the cursor will move down one line. </p>

View file

@ -129,3 +129,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.

View file

@ -625,7 +625,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
@ -638,7 +638,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.)
"Startbilder"

View file

@ -6,7 +6,7 @@
Copyright © 2002-2025 av olika bidragsgivare; se AUTHORS.txt.
https://tuxpaint.org/
maj 26, 2025
juni 8, 2025
+-----------------------------------------------------+
| Innehåll |
@ -480,6 +480,9 @@ e.verktyg för "text" och "etikett" ←
Skriv in text så visas den på skärmen. (Du kan ändra teckensnitt, färg och
styling medan du skriver in texten, innan den appliceras på duken)
⚙ See the "Extending Tux Paint" documentation for information on where Tux
Paint searches for fonts.
Tryck på [Enter] eller [Återgå] så ritas texten på bilden och markören
flyttas en rad nedåt.

View file

@ -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">&#9881;</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>

View file

@ -102,7 +102,7 @@
</p>
<p>
maj 26, 2025 </p>
juni 8, 2025 </p>
</center>
</header>
<table border="2"
@ -813,6 +813,9 @@
<p>
Välj ett teckensnitt (från "Letters" som finns till höger) och en färg (från färgpaletten längst ned). Du kan också lägga till en fet och/eller kursiv stil på texten. Klicka på skärmen så kommer en markör att visas. Skriv in text så visas den på skärmen. (Du kan ändra teckensnitt, färg och styling medan du skriver in texten, innan den appliceras på duken) </p>
<p class="note">
<span title="Configuration option">&#9881;</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>
Tryck på <b><code>[Enter]</code></b> eller <b><code>[Återgå]</code></b> så ritas texten på bilden och markören flyttas en rad nedåt. </p>