From c67dfbc562a28d8968a3438d3b2f8f6e68fc789c Mon Sep 17 00:00:00 2001
From: dolphin6k
Date: Wed, 22 Dec 2021 22:24:53 +0900
Subject: [PATCH 01/21] Fixed abnormal exit of threaded font scan which
prevented enabling text/label tools on some environment such as Rocky Linux
8.
---
src/fonts.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/fonts.c b/src/fonts.c
index 3788db2a0..701186319 100644
--- a/src/fonts.c
+++ b/src/fonts.c
@@ -1186,7 +1186,7 @@ void run_font_scanner(SDL_Surface * screen, const char *restrict const locale)
*walk++ = '\0';
}
reliable_write(font_socket_fd, buf, size);
- exit(0);
+ _exit(0);
}
From 4a70b008c1d1c6408e01d48ff831df69e3067df4 Mon Sep 17 00:00:00 2001
From: dolphin6k
Date: Tue, 11 Jan 2022 15:47:59 +0900
Subject: [PATCH 02/21] Do not show message box to confirm uninstallation of
old install when /VERYSILENT switch specified.
---
win32/tuxpaint.iss | 25 ++++++++++++++++++++++---
1 file changed, 22 insertions(+), 3 deletions(-)
diff --git a/win32/tuxpaint.iss b/win32/tuxpaint.iss
index 687266b01..0466ab90e 100644
--- a/win32/tuxpaint.iss
+++ b/win32/tuxpaint.iss
@@ -255,6 +255,19 @@ begin
Result := Path;
end;
+function CmdLineParamExists(const Value: string): Boolean;
+var
+ I: Integer;
+begin
+ Result := False;
+ for I := 1 to ParamCount do
+ if CompareText(ParamStr(I), Value) = 0 then
+ begin
+ Result := True;
+ Exit;
+ end;
+end;
+
Procedure ForceUninstallPreviousX86Install();
var
ResultCode: Integer;
@@ -263,12 +276,18 @@ begin
begin
if FileExists('C:\Program Files (x86)\TuxPaint\unins000.exe') then
begin
- if MsgBox('Old version will be uninstalled automatically.', mbInformation, MB_OKCANCEL) = IDOK then
+ if CmdLineParamExists('/VERYSILENT') = False then
begin
- Exec('C:\Program Files (x86)\TuxPaint\unins000.exe', '/SILENT', '', SW_SHOW, ewWaitUntilTerminated, ResultCode);
+ if MsgBox('Old version will be uninstalled automatically.', mbInformation, MB_OKCANCEL) = IDOK then
+ begin
+ Exec('C:\Program Files (x86)\TuxPaint\unins000.exe', '/SILENT', '', SW_SHOW, ewWaitUntilTerminated, ResultCode);
+ end
+ else begin
+ Abort;
+ end;
end
else begin
- Abort;
+ Exec('C:\Program Files (x86)\TuxPaint\unins000.exe', '/VERYSILENT', '', SW_SHOW, ewWaitUntilTerminated, ResultCode);
end;
end;
end;
From bb7d51d31a8c93b823b857df72ebaec0ec2bbff3 Mon Sep 17 00:00:00 2001
From: dolphin6k
Date: Tue, 11 Jan 2022 19:04:43 +0900
Subject: [PATCH 03/21] Documented changes for the windows installer.
---
docs/CHANGES.txt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt
index 5aaca5d59..d5ba36fb6 100644
--- a/docs/CHANGES.txt
+++ b/docs/CHANGES.txt
@@ -20,6 +20,12 @@ $Id$
* Updated `src/po/check_translations.sh` sanity-checking script
so it properly finds the updated docs & other changes.
+ * Ports & Building
+ ----------------
+ * Windows installer does not show a dialogue to inform uninstallation
+ when "/VERYSILANT" switch is specified.
+ TOYAMA Shin-ichi
+
2021.November.25 (0.9.27)
* New Magic Tools:
----------------
From 95a6202b6764c0cf2a4a04ef81c6a6320b8583d3 Mon Sep 17 00:00:00 2001
From: Bill Kendrick
Date: Tue, 11 Jan 2022 22:22:10 -0800
Subject: [PATCH 04/21] Tweak to CHANGES re: /VERYSILENT Windows install
---
docs/CHANGES.txt | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt
index d5ba36fb6..19d0cc947 100644
--- a/docs/CHANGES.txt
+++ b/docs/CHANGES.txt
@@ -2,13 +2,13 @@ CHANGES.txt for Tux Paint
Tux Paint - A simple drawing program for children.
-Copyright (c) 2002-2021
+Copyright (c) 2002-2022
Various contributors (see below, and AUTHORS.txt)
http://www.tuxpaint.org/
$Id$
-2021.December.1 (0.9.28)
+2022.January.11 (0.9.28)
* Localization Updates:
---------------------
* Albanian translation
@@ -22,8 +22,9 @@ $Id$
* Ports & Building
----------------
- * Windows installer does not show a dialogue to inform uninstallation
- when "/VERYSILANT" switch is specified.
+ * Windows installer will no nlonger show a dialogue to inform
+ user of uninstallation when "/VERYSILENT" switch is specified
+ (useful for automated installation/uninstallation processes).
TOYAMA Shin-ichi
2021.November.25 (0.9.27)
From 91c7b7357fa16beb61db227b15e679195b0906de Mon Sep 17 00:00:00 2001
From: Mark Kim
Date: Sun, 16 Jan 2022 22:26:01 -0500
Subject: [PATCH 05/21] Use character class in macOS build script
It appears \t is not compatible with certain versions of grep.
---
macos/build-app.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/macos/build-app.sh b/macos/build-app.sh
index b0a9325aa..e8056f271 100755
--- a/macos/build-app.sh
+++ b/macos/build-app.sh
@@ -34,7 +34,7 @@ dylib="$BINARY $LIBS"
count=0; last=-1
echo " * Copying Shared Libraries..."
while [ $count -ne $last ]; do
- cp -p `otool -L $dylib | grep '^\t[/]opt[/]local[/]' | sed -e 's/^[[:space:]]*\([^[:space:]]*\)[[:space:]].*/\1/' | sort | uniq` $LIBDIR
+ cp -p `otool -L $dylib | grep '^[[:space:]]*[/]opt[/]local[/]' | sed -e 's/^[[:space:]]*\([^[:space:]]*\)[[:space:]].*/\1/' | sort | uniq` $LIBDIR
dylib="$LIBDIR/*"
last=$count
@@ -48,7 +48,7 @@ echo " -> Copied" $count "files to $LIBDIR"
echo " * Fixing Shared Library References..."
for i in "$BINARY" $LIBS $LIBDIR/*; do
echo " -> $i..."
- for j in `otool -L $dylib | grep '^\t[/]opt[/]local[/]' | sed -e 's/^[[:space:]]*\([^[:space:]]*\)[[:space:]].*/\1/'`; do
+ for j in `otool -L $dylib | grep '^[[:space:]]*[/]opt[/]local[/]' | sed -e 's/^[[:space:]]*\([^[:space:]]*\)[[:space:]].*/\1/'`; do
n=`echo "$j" | sed 's/^[/]opt[/]local[/]/@executable_path\/..\//'`
install_name_tool -change "$j" "$n" "$i"
done
@@ -62,7 +62,7 @@ for i in "$BINARY" $LIBS $LIBDIR/*; do
#
# https://stackoverflow.com/questions/20206985/xcode-linking-against-applicationservices-framework-with-sdk-10-9-causes-10-7
#
- if [ `otool -L "$i" | grep -c '^\t\/System\/Library\/Frameworks\/CoreGraphics\.framework\/Versions\/A\/CoreGraphics'` -gt 0 ]; then
+ if [ `otool -L "$i" | grep -c '^[[:space:]]*\/System\/Library\/Frameworks\/CoreGraphics\.framework\/Versions\/A\/CoreGraphics'` -gt 0 ]; then
defaultlib="/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics"
compatlib="/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics"
install_name_tool -change "$defaultlib" "$compatlib" "$i"
From e8bb5c80a6a77e0703bc4227ef99907bff7ac75d Mon Sep 17 00:00:00 2001
From: Mark Kim
Date: Mon, 17 Jan 2022 21:44:04 -0500
Subject: [PATCH 06/21] Remove install stages not needed on macOS
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index eec5c0109..e3c4c2ee5 100644
--- a/Makefile
+++ b/Makefile
@@ -543,8 +543,8 @@ trans:
######
windows_ARCH_INSTALL:=install-dlls install-tpconf-i18n
-macos_ARCH_INSTALL:=install-macbundle TuxPaint.dmg install-man install-importscript install-bash-completion
-ios_ARCH_INSTALL:=install-iosbundle install-man install-importscript install-bash-completion
+macos_ARCH_INSTALL:=install-macbundle TuxPaint.dmg
+ios_ARCH_INSTALL:=install-iosbundle
linux_ARCH_INSTALL:=install-xdg install-man install-importscript install-bash-completion
ARCH_INSTALL:=$($(OS)_ARCH_INSTALL)
From 636a2fc9111c415ca290202f886306e1658cdb5e Mon Sep 17 00:00:00 2001
From: Bill Kendrick
Date: Tue, 18 Jan 2022 22:52:29 -0800
Subject: [PATCH 07/21] Doc'ing recent tweaks by Mark & Shin-ichi
---
docs/CHANGES.txt | 23 ++++++++++++++++++-----
1 file changed, 18 insertions(+), 5 deletions(-)
diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt
index 19d0cc947..6c2b4c78b 100644
--- a/docs/CHANGES.txt
+++ b/docs/CHANGES.txt
@@ -6,9 +6,8 @@ Copyright (c) 2002-2022
Various contributors (see below, and AUTHORS.txt)
http://www.tuxpaint.org/
-$Id$
-2022.January.11 (0.9.28)
+2022.January.18 (0.9.28)
* Localization Updates:
---------------------
* Albanian translation
@@ -20,13 +19,27 @@ $Id$
* Updated `src/po/check_translations.sh` sanity-checking script
so it properly finds the updated docs & other changes.
- * Ports & Building
- ----------------
+ * Bug Fixes:
+ ----------
+ * Fixed abnormal exit of threaded font scan which prevented enabling
+ text/label tools on some environment such as Rocky Linux 8.
+ TOYAMA Shin-ichi
+
+ * Ports & Building:
+ -----------------
* Windows installer will no nlonger show a dialogue to inform
user of uninstallation when "/VERYSILENT" switch is specified
- (useful for automated installation/uninstallation processes).
+ (useful for automated installation/uninsta$llation processes).
TOYAMA Shin-ichi
+ * Use character class in macOS build script
+ (It appears \t is not compatible with certain versions of grep.)
+ Mark K. Kim
+
+ * Remove install stages not needed on macOS
+ Mark K. Kim
+
+
2021.November.25 (0.9.27)
* New Magic Tools:
----------------
From e1a721fb9d870ff6a22b9bc1b060319cc6f2367f Mon Sep 17 00:00:00 2001
From: Bill Kendrick
Date: Tue, 18 Jan 2022 23:28:53 -0800
Subject: [PATCH 08/21] Outline for circle-shaped erasers is now also circular
Closes https://sourceforge.net/p/tuxpaint/bugs/244/
---
docs/CHANGES.txt | 6 ++++
src/tuxpaint.c | 88 ++++++++++++++++++++++++++++++++++++++++++------
2 files changed, 84 insertions(+), 10 deletions(-)
diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt
index 6c2b4c78b..639b5c691 100644
--- a/docs/CHANGES.txt
+++ b/docs/CHANGES.txt
@@ -8,6 +8,12 @@ http://www.tuxpaint.org/
2022.January.18 (0.9.28)
+ * Other Improvements:
+ -------------------
+ * Outline for circle-shaped erasers is now also circular.
+ Closes https://sourceforge.net/p/tuxpaint/bugs/244/
+ (h/t Areti Tsolakidou for the suggestion)
+
* Localization Updates:
---------------------
* Albanian translation
diff --git a/src/tuxpaint.c b/src/tuxpaint.c
index d2ad15675..b1be4d67f 100644
--- a/src/tuxpaint.c
+++ b/src/tuxpaint.c
@@ -3,7 +3,7 @@
Tux Paint - A simple drawing program for children.
- Copyright (c) 2002-2021
+ Copyright (c) 2002-2022
by various contributors; see AUTHORS.txt
http://www.tuxpaint.org/
@@ -22,7 +22,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
(See COPYING.txt)
- June 14, 2002 - November 15, 2021
+ June 14, 2002 - January 18, 2022
*/
#include "platform.h"
@@ -1996,6 +1996,7 @@ static void render_brush(void);
static void _xorpixel(SDL_Surface * surf, int x, int y);
static void line_xor(int x1, int y1, int x2, int y2);
static void rect_xor(int x1, int y1, int x2, int y2);
+static void circle_xor(int x, int y, int sz);
static void draw_blinking_cursor(void);
static void hide_blinking_cursor(void);
@@ -5719,7 +5720,16 @@ static void mainloop(void)
eraser_draw(old_x, old_y, new_x, new_y);
sz = calc_eraser_size(cur_eraser);
- rect_xor(new_x - sz / 2, new_y - sz / 2, new_x + sz / 2, new_y + sz / 2);
+ if (cur_eraser >= NUM_ERASERS / 2)
+ {
+ /* Circle eraser */
+ circle_xor(new_x, new_y, sz / 2);
+ }
+ else
+ {
+ /* Square eraser */
+ rect_xor(new_x - sz / 2, new_y - sz / 2, new_x + sz / 2, new_y + sz / 2);
+ }
}
else if (cur_tool == TOOL_FILL && cur_fill == FILL_GRADIENT_LINEAR && fill_drag_started)
{
@@ -5774,7 +5784,6 @@ static void mainloop(void)
/* Moving: Draw XOR where stamp/eraser will apply: */
-
if (cur_tool == TOOL_STAMP)
{
w = active_stamp->w;
@@ -5802,6 +5811,7 @@ static void mainloop(void)
{
if (cur_tool == TOOL_STAMP)
{
+ /* Stamp */
stamp_xor(old_x, old_y);
update_screen(old_x - (CUR_STAMP_W + 1) / 2 + r_canvas.x,
@@ -5809,10 +5819,18 @@ static void mainloop(void)
old_x + (CUR_STAMP_W + 1) / 2 + r_canvas.x,
old_y + (CUR_STAMP_H + 1) / 2 + r_canvas.y);
}
-
else
{
- rect_xor(old_x - w / 2, old_y - h / 2, old_x + w / 2, old_y + h / 2);
+ if (cur_tool == TOOL_ERASER && cur_eraser >= NUM_ERASERS / 2)
+ {
+ /* Circle eraser */
+ circle_xor(old_x, old_y, calc_eraser_size(cur_eraser) / 2);
+ }
+ else
+ {
+ /* Otherwise (square eraser) */
+ rect_xor(old_x - w / 2, old_y - h / 2, old_x + w / 2, old_y + h / 2);
+ }
update_screen(old_x - w / 2 + r_canvas.x,
old_y - h / 2 + r_canvas.y,
@@ -5824,6 +5842,7 @@ static void mainloop(void)
{
if (cur_tool == TOOL_STAMP)
{
+ /* Stamp */
stamp_xor(new_x, new_y);
update_screen(old_x - (CUR_STAMP_W + 1) / 2 + r_canvas.x,
@@ -5833,13 +5852,23 @@ static void mainloop(void)
}
else
{
- rect_xor(new_x - w / 2, new_y - h / 2, new_x + w / 2, new_y + h / 2);
+ if (cur_tool == TOOL_ERASER && cur_eraser >= NUM_ERASERS / 2)
+ {
+ /* Circle eraser */
+ circle_xor(new_x, new_y, calc_eraser_size(cur_eraser) / 2);
+ }
+ else
+ {
+ /* Otherwise (square eraser) */
+ rect_xor(new_x - w / 2, new_y - h / 2, new_x + w / 2, new_y + h / 2);
+ }
update_screen(new_x - w / 2 + r_canvas.x,
new_y - h / 2 + r_canvas.y,
new_x + w / 2 + r_canvas.x, new_y + h / 2 + r_canvas.y);
}
}
+
if (cur_tool == TOOL_STAMP && HIT(r_toolopt) && event.motion.y > r_toolopt.h
&& event.motion.state == SDL_PRESSED && stamp_size_selector_clicked)
{
@@ -10836,9 +10865,12 @@ static void line_xor(int x1, int y1, int x2, int y2)
/**
- * FIXME
+ * Draw a XOR rectangle on the canvas.
+ * @param x1 left edge
+ * @param y1 top edge
+ * @param x2 right edge
+ * @param y2 bottom edge
*/
-/* Draw a XOR rectangle: */
static void rect_xor(int x1, int y1, int x2, int y2)
{
if (x1 < 0)
@@ -10872,6 +10904,33 @@ static void rect_xor(int x1, int y1, int x2, int y2)
}
+/**
+ * Draw a XOR circle on the canvas.
+ * @param x center x position
+ * @param y center y position
+ * @param sz size (radius)
+ */
+static void circle_xor(int x, int y, int sz)
+{
+ int xx, yy, sz2;
+
+ /* h/t http://groups.csail.mit.edu/graphics/classes/6.837/F98/Lecture6/circle.html */
+
+ sz2 = sz * sz;
+
+ xorpixel(x, y + sz);
+ xorpixel(x, y - sz);
+
+ for (xx = 1; xx < sz; xx++) {
+ yy = sqrt(sz2 - (xx * xx) + 0.5);
+ xorpixel(x + xx, y + yy);
+ xorpixel(x + xx, y - yy);
+ xorpixel(x - xx, y + yy);
+ xorpixel(x - xx, y - yy);
+ }
+}
+
+
static int calc_eraser_size(int which_eraser)
{
#define NUM_SIZES (NUM_ERASERS / 2)
@@ -10967,7 +11026,16 @@ static void do_eraser(int x, int y, int update)
{
update_canvas(x - sz / 2, y - sz / 2, x + sz / 2, y + sz / 2);
- rect_xor(x - sz / 2, y - sz / 2, x + sz / 2, y + sz / 2);
+ if (cur_eraser >= NUM_ERASERS / 2)
+ {
+ /* Circle eraser */
+ circle_xor(x, y, sz / 2);
+ }
+ else
+ {
+ /* Square eraser */
+ rect_xor(x - sz / 2, y - sz / 2, x + sz / 2, y + sz / 2);
+ }
#ifdef __APPLE__
/* Prevent ghosted eraser outlines from remaining on the screen in windowed mode */
From 774954f9fc345eeafa4ab9300a3fceb1a6b4ebae Mon Sep 17 00:00:00 2001
From: Bill Kendrick
Date: Wed, 19 Jan 2022 00:00:57 -0800
Subject: [PATCH 09/21] Sync docs & update bash completion re: brushspacing
---
docs/en/OPTIONS.txt | 15 +++++++++++++++
docs/en/html/OPTIONS.html | 13 +++++++++++++
docs/es_ES.UTF-8/OPTIONS.txt | 15 +++++++++++++++
docs/es_ES.UTF-8/html/OPTIONS.html | 13 +++++++++++++
docs/fr_FR.UTF-8/OPTIONS.txt | 16 ++++++++++++++++
docs/fr_FR.UTF-8/html/OPTIONS.html | 13 +++++++++++++
docs/gl_ES.UTF-8/OPTIONS.txt | 15 +++++++++++++++
docs/gl_ES.UTF-8/html/OPTIONS.html | 13 +++++++++++++
docs/ja_JP.UTF-8/OPTIONS.txt | 14 ++++++++++++++
docs/ja_JP.UTF-8/html/OPTIONS.html | 13 +++++++++++++
man/en/tuxpaint.1 | 13 +++++++++++--
man/es_ES.UTF-8/tuxpaint.1 | 13 +++++++++++--
man/fr_FR.UTF-8/tuxpaint.1 | 13 +++++++++++--
man/gl_ES.UTF-8/tuxpaint.1 | 13 +++++++++++--
man/ja_JP.UTF-8/tuxpaint.1 | 13 +++++++++++--
src/tuxpaint-completion.bash | 3 ++-
16 files changed, 197 insertions(+), 11 deletions(-)
diff --git a/docs/en/OPTIONS.txt b/docs/en/OPTIONS.txt
index 4227892d3..5cd43b8d6 100644
--- a/docs/en/OPTIONS.txt
+++ b/docs/en/OPTIONS.txt
@@ -454,6 +454,21 @@ Simplification
"nolabel=no" or "label=yes". In both cases, may be
overridden by the command-line option "--label".
+ nobrushspacing=yes
+
+ Disables the brush spacing option of the Paint and Lines
+ tools. The brushes' default spacings will be used.
+
+ Note: The brush spacing option was added to Tux Paint's user
+ interface in version 0.9.28. For more information on brush
+ spacing, see EXTENDING.html
+
+ Note: If used in a system-wide configuration file, may be
+ overridden by the user's configuration file using
+ "nobrushspacing=no" or "brushspacing=yes". In both cases,
+ may be overridden by the command-line option
+ "--brushspacing".
+
----------------------------------------------------------------------
Languages
diff --git a/docs/en/html/OPTIONS.html b/docs/en/html/OPTIONS.html
index a55cc5f7f..029c8cb51 100644
--- a/docs/en/html/OPTIONS.html
+++ b/docs/en/html/OPTIONS.html
@@ -620,6 +620,19 @@
Note: If used in a system-wide configuration file, may be overridden by the user's configuration file using "nolabel=no" or "label=yes". In both cases, may be overridden by the command-line option "--label".
+
+
+ nobrushspacing=yes
+
+
+
+
+ Disables the brush spacing option of the Paint and Lines tools. The brushes' default spacings will be used.
+
+ Note: The brush spacing option was added to Tux Paint's user interface in version 0.9.28. For more information on brush spacing, see EXTENDING.html
+
+ Note: If used in a system-wide configuration file, may be overridden by the user's configuration file using "nobrushspacing=no" or "brushspacing=yes". In both cases, may be overridden by the command-line option "--brushspacing".
+
diff --git a/docs/es_ES.UTF-8/OPTIONS.txt b/docs/es_ES.UTF-8/OPTIONS.txt
index f01a22296..d3b3f9379 100644
--- a/docs/es_ES.UTF-8/OPTIONS.txt
+++ b/docs/es_ES.UTF-8/OPTIONS.txt
@@ -454,6 +454,21 @@ Simplification
"nolabel=no" or "label=yes". In both cases, may be
overridden by the command-line option "--label".
+ nobrushspacing=yes
+
+ Disables the brush spacing option of the Paint and Lines
+ tools. The brushes' default spacings will be used.
+
+ Note: The brush spacing option was added to Tux Paint's user
+ interface in version 0.9.28. For more information on brush
+ spacing, see EXTENDING.html
+
+ Note: If used in a system-wide configuration file, may be
+ overridden by the user's configuration file using
+ "nobrushspacing=no" or "brushspacing=yes". In both cases,
+ may be overridden by the command-line option
+ "--brushspacing".
+
----------------------------------------------------------------------
Languages
diff --git a/docs/es_ES.UTF-8/html/OPTIONS.html b/docs/es_ES.UTF-8/html/OPTIONS.html
index ba70ad65c..869a94a03 100644
--- a/docs/es_ES.UTF-8/html/OPTIONS.html
+++ b/docs/es_ES.UTF-8/html/OPTIONS.html
@@ -620,6 +620,19 @@
Note: If used in a system-wide configuration file, may be overridden by the user's configuration file using "nolabel=no" or "label=yes". In both cases, may be overridden by the command-line option "--label".
+
+
+ nobrushspacing=yes
+
+
+
+
+ Disables the brush spacing option of the Paint and Lines tools. The brushes' default spacings will be used.
+
+ Note: The brush spacing option was added to Tux Paint's user interface in version 0.9.28. For more information on brush spacing, see EXTENDING.html
+
+ Note: If used in a system-wide configuration file, may be overridden by the user's configuration file using "nobrushspacing=no" or "brushspacing=yes". In both cases, may be overridden by the command-line option "--brushspacing".
+
diff --git a/docs/fr_FR.UTF-8/OPTIONS.txt b/docs/fr_FR.UTF-8/OPTIONS.txt
index a1222370f..c57f2354e 100644
--- a/docs/fr_FR.UTF-8/OPTIONS.txt
+++ b/docs/fr_FR.UTF-8/OPTIONS.txt
@@ -500,6 +500,22 @@ Simplification
"label=yes". Dans les deux cas, il peut être remplacé avec
l'option en ligne de commande "--label".
+ nobrushspacing=yes
+
+ Disables the brush spacing option of the Paint and Lines
+ tools. The brushes' default spacings will be used.
+
+ Note: The brush spacing option was added to Tux Paint's user
+ interface in version 0.9.28. For more information on brush
+ spacing, see EXTENDING.html
+
+ Note : si utilisé dans un fichier de configuration pour tout
+ le monde, il peut être remplacé par le fichier de
+ configuration de l(utilisateur en utilisant
+ "nobrushspacing=no" ou "brushspacing=yes". Dans les deux
+ cas, il peut être remplacé avec l'option en ligne de
+ commande "--brushspacing".
+
----------------------------------------------------------------------
Langues
diff --git a/docs/fr_FR.UTF-8/html/OPTIONS.html b/docs/fr_FR.UTF-8/html/OPTIONS.html
index 04f03ee29..8b5021d24 100644
--- a/docs/fr_FR.UTF-8/html/OPTIONS.html
+++ b/docs/fr_FR.UTF-8/html/OPTIONS.html
@@ -620,6 +620,19 @@
Note : si utilisé dans un fichier de configuration pour tout le monde, il peut être remplacé par le fichier de configuration de l(utilisateur en utilisant "nolabel=no" ou "label=yes". Dans les deux cas, il peut être remplacé avec l'option en ligne de commande "--label".
+
+
+ nobrushspacing=yes
+
+
+
+
+ Disables the brush spacing option of the Paint and Lines tools. The brushes' default spacings will be used.
+
+ Note: The brush spacing option was added to Tux Paint's user interface in version 0.9.28. For more information on brush spacing, see EXTENDING.html
+
+ Note : si utilisé dans un fichier de configuration pour tout le monde, il peut être remplacé par le fichier de configuration de l(utilisateur en utilisant "nobrushspacing=no" ou "brushspacing=yes". Dans les deux cas, il peut être remplacé avec l'option en ligne de commande "--brushspacing".
+
diff --git a/docs/gl_ES.UTF-8/OPTIONS.txt b/docs/gl_ES.UTF-8/OPTIONS.txt
index f6b2bc2e2..1372d8a20 100644
--- a/docs/gl_ES.UTF-8/OPTIONS.txt
+++ b/docs/gl_ES.UTF-8/OPTIONS.txt
@@ -465,6 +465,21 @@ Simplificación
"nolabel=no" or "label=yes". In both cases, may be
overridden by the command-line option "--label".
+ nobrushspacing=yes
+
+ Disables the brush spacing option of the Paint and Lines
+ tools. The brushes' default spacings will be used.
+
+ Note: The brush spacing option was added to Tux Paint's user
+ interface in version 0.9.28. For more information on brush
+ spacing, see EXTENDING.html
+
+ Note: If used in a system-wide configuration file, may be
+ overridden by the user's configuration file using
+ "nobrushspacing=no" or "brushspacing=yes". In both cases,
+ may be overridden by the command-line option
+ "--brushspacing".
+
----------------------------------------------------------------------
Languages
diff --git a/docs/gl_ES.UTF-8/html/OPTIONS.html b/docs/gl_ES.UTF-8/html/OPTIONS.html
index 2aa251354..b13724705 100644
--- a/docs/gl_ES.UTF-8/html/OPTIONS.html
+++ b/docs/gl_ES.UTF-8/html/OPTIONS.html
@@ -620,6 +620,19 @@
Note: If used in a system-wide configuration file, may be overridden by the user's configuration file using "nolabel=no" or "label=yes". In both cases, may be overridden by the command-line option "--label".
+
+
+ nobrushspacing=yes
+
+
+
+
+ Disables the brush spacing option of the Paint and Lines tools. The brushes' default spacings will be used.
+
+ Note: The brush spacing option was added to Tux Paint's user interface in version 0.9.28. For more information on brush spacing, see EXTENDING.html
+
+ Note: If used in a system-wide configuration file, may be overridden by the user's configuration file using "nobrushspacing=no" or "brushspacing=yes". In both cases, may be overridden by the command-line option "--brushspacing".
+
diff --git a/docs/ja_JP.UTF-8/OPTIONS.txt b/docs/ja_JP.UTF-8/OPTIONS.txt
index 552602ff9..a323a3848 100644
--- a/docs/ja_JP.UTF-8/OPTIONS.txt
+++ b/docs/ja_JP.UTF-8/OPTIONS.txt
@@ -366,6 +366,20 @@ Windows のユーザー
"label=yes" を設定すると上書きされることがあります。また、どちらの設定も、コマンドラインオプションの
"--label" で変更できます。
+ nobrushspacing=yes
+
+ Disables the brush spacing option of the Paint and Lines
+ tools. The brushes' default spacings will be used.
+
+ Note: The brush spacing option was added to Tux Paint's user
+ interface in version 0.9.28. For more information on brush
+ spacing, see EXTENDING.html
+
+ 注:システム全体の設定ファイルで設定されている場合は、ユーザーの設定ファイルで "nobrushspacing=no"
+ または "brushspacing=yes"
+ を設定すると上書きされることがあります。また、どちらの設定も、コマンドラインオプションの
+ "--brushspacing" で変更できます。
+
----------------------------------------------------------------------
言語関連
diff --git a/docs/ja_JP.UTF-8/html/OPTIONS.html b/docs/ja_JP.UTF-8/html/OPTIONS.html
index 3227029b6..fd28462f3 100644
--- a/docs/ja_JP.UTF-8/html/OPTIONS.html
+++ b/docs/ja_JP.UTF-8/html/OPTIONS.html
@@ -620,6 +620,19 @@
注:システム全体の設定ファイルで設定されている場合は、ユーザーの設定ファイルで "nolabel=no" または "label=yes" を設定すると上書きされることがあります。また、どちらの設定も、コマンドラインオプションの "--label" で変更できます。
+
+
+ nobrushspacing=yes
+
+
+
+
+ Disables the brush spacing option of the Paint and Lines tools. The brushes' default spacings will be used.
+
+ Note: The brush spacing option was added to Tux Paint's user interface in version 0.9.28. For more information on brush spacing, see EXTENDING.html
+
+ 注:システム全体の設定ファイルで設定されている場合は、ユーザーの設定ファイルで "nobrushspacing=no" または "brushspacing=yes" を設定すると上書きされることがあります。また、どちらの設定も、コマンドラインオプションの "--brushspacing" で変更できます。
+
diff --git a/man/en/tuxpaint.1 b/man/en/tuxpaint.1
index d5b84861c..ca87fc96b 100644
--- a/man/en/tuxpaint.1
+++ b/man/en/tuxpaint.1
@@ -1,5 +1,5 @@
-.\" tuxpaint.1 - 2021.11.25
-.TH TUXPAINT 1 "November 25, 2021" "0.9.28" "Tux Paint"
+.\" tuxpaint.1 - 2022.01.18
+.TH TUXPAINT 1 "January 18, 2022" "0.9.28" "Tux Paint"
.SH NAME
tuxpaint -- "Tux Paint", a drawing program for young children.
@@ -71,6 +71,8 @@ tuxpaint -- "Tux Paint", a drawing program for young children.
.br
[\-\-nolabel]
.br
+[\-\-nobrushspacing]
+.br
[\-\-newcolorslast]
.br
[\-\-mirrorstamps]
@@ -213,6 +215,8 @@ tuxpaint -- "Tux Paint", a drawing program for young children.
.br
[\-\-label]
.br
+[\-\-brushspacing]
+.br
[\-\-newcolorsfirst]
.br
[\-\-dontmirrorstamps]
@@ -419,6 +423,11 @@ initially clicked.
Disable or enable (default) the Label tool, which lets you create text
which can be altered or moved later.
+.TP 8
+.B \-\-nobrushspacing \-\-brushspacing
+Disable or enable (default) the brush spacing option of the Paint and Lines
+tools, which allows you to override the default spacing of a brush.
+
.SH OPTIONS - CONTROLLING TUX PAINT
.l
\fItuxpaint\fP accepts the following options to alter how you control Tux
diff --git a/man/es_ES.UTF-8/tuxpaint.1 b/man/es_ES.UTF-8/tuxpaint.1
index e66d6c105..3607ce86a 100644
--- a/man/es_ES.UTF-8/tuxpaint.1
+++ b/man/es_ES.UTF-8/tuxpaint.1
@@ -1,5 +1,5 @@
-.\" tuxpaint.1 - 2021.11.25
-.TH TUXPAINT 1 "noviembre 25, 2021" "0.9.28" "Tux Paint"
+.\" tuxpaint.1 - 2022.01.18
+.TH TUXPAINT 1 "enero 18, 2022" "0.9.28" "Tux Paint"
.SH NAME
tuxpaint -- "Tux Paint", a drawing program for young children.
@@ -71,6 +71,8 @@ tuxpaint -- "Tux Paint", a drawing program for young children.
.br
[\-\-nolabel]
.br
+[\-\-nobrushspacing]
+.br
[\-\-newcolorslast]
.br
[\-\-mirrorstamps]
@@ -213,6 +215,8 @@ tuxpaint -- "Tux Paint", a drawing program for young children.
.br
[\-\-label]
.br
+[\-\-brushspacing]
+.br
[\-\-newcolorsfirst]
.br
[\-\-dontmirrorstamps]
@@ -419,6 +423,11 @@ initially clicked.
Disable or enable (default) the Label tool, which lets you create text
which can be altered or moved later.
+.TP 8
+.B \-\-nobrushspacing \-\-brushspacing
+Disable or enable (default) the brush spacing option of the Paint and Lines
+tools, which allows you to override the default spacing of a brush.
+
.SH OPTIONS - CONTROLLING TUX PAINT
.l
\fItuxpaint\fP accepts the following options to alter how you control Tux
diff --git a/man/fr_FR.UTF-8/tuxpaint.1 b/man/fr_FR.UTF-8/tuxpaint.1
index faf4c71e7..d3783a5a0 100644
--- a/man/fr_FR.UTF-8/tuxpaint.1
+++ b/man/fr_FR.UTF-8/tuxpaint.1
@@ -1,5 +1,5 @@
-.\" tuxpaint.1 - 2021.11.25
-.TH TUXPAINT 1 "novembre 25, 2021" "0.9.28" "Tux Paint"
+.\" tuxpaint.1 - 2022.01.18
+.TH TUXPAINT 1 "janvier 18, 2022" "0.9.28" "Tux Paint"
.SH NAME
tuxpaint -- "Tux Paint", un programme simple pour les jeunes enfants.
@@ -71,6 +71,8 @@ tuxpaint -- "Tux Paint", un programme simple pour les jeunes enfants.
.br
[\-\-nolabel]
.br
+[\-\-nobrushspacing]
+.br
[\-\-newcolorslast]
.br
[\-\-mirrorstamps]
@@ -213,6 +215,8 @@ tuxpaint -- "Tux Paint", un programme simple pour les jeunes enfants.
.br
[\-\-label]
.br
+[\-\-brushspacing]
+.br
[\-\-newcolorsfirst]
.br
[\-\-dontmirrorstamps]
@@ -429,6 +433,11 @@ partir d'un coin, là où la souris a cliqué en premier.
Désactive (ou active) l'outil Étiquette, ce qui vous permet de créer un
texte qui peut être modifié ou déplacé plus tard.
+.TP 8
+.B \-\-nobrushspacing \-\-brushspacing
+Disable or enable (default) the brush spacing option of the Paint and Lines
+tools, which allows you to override the default spacing of a brush.
+
.SH OPTIONS - CONTROLLING TUX PAINT
.l
\fItuxpaint\fP accepte les options suivantes pour modifier la manière dont
diff --git a/man/gl_ES.UTF-8/tuxpaint.1 b/man/gl_ES.UTF-8/tuxpaint.1
index 0e4f8d4b1..cc8f49fea 100644
--- a/man/gl_ES.UTF-8/tuxpaint.1
+++ b/man/gl_ES.UTF-8/tuxpaint.1
@@ -1,5 +1,5 @@
-.\" tuxpaint.1 - 2021.11.25
-.TH TUXPAINT 1 "25 de Novembro de 2021" "0.9.28" "Tux Paint"
+.\" tuxpaint.1 - 2022.01.18
+.TH TUXPAINT 1 "18 de Xaneiro de 2022" "0.9.28" "Tux Paint"
.SH NAME
tuxpaint -- "Tux Paint", a drawing program for young children.
@@ -71,6 +71,8 @@ tuxpaint -- "Tux Paint", a drawing program for young children.
.br
[\-\-nolabel]
.br
+[\-\-nobrushspacing]
+.br
[\-\-newcolorslast]
.br
[\-\-mirrorstamps]
@@ -213,6 +215,8 @@ tuxpaint -- "Tux Paint", a drawing program for young children.
.br
[\-\-label]
.br
+[\-\-brushspacing]
+.br
[\-\-newcolorsfirst]
.br
[\-\-dontmirrorstamps]
@@ -419,6 +423,11 @@ initially clicked.
Disable or enable (default) the Label tool, which lets you create text
which can be altered or moved later.
+.TP 8
+.B \-\-nobrushspacing \-\-brushspacing
+Disable or enable (default) the brush spacing option of the Paint and Lines
+tools, which allows you to override the default spacing of a brush.
+
.SH OPTIONS - CONTROLLING TUX PAINT
.l
\fItuxpaint\fP accepts the following options to alter how you control Tux
diff --git a/man/ja_JP.UTF-8/tuxpaint.1 b/man/ja_JP.UTF-8/tuxpaint.1
index 5b1b9f4e1..0adc0c5b3 100644
--- a/man/ja_JP.UTF-8/tuxpaint.1
+++ b/man/ja_JP.UTF-8/tuxpaint.1
@@ -1,5 +1,5 @@
-.\" tuxpaint.1 - 2021.11.25
-.TH TUXPAINT 1 "2021年11月25日" "0.9.28" "Tux Paint"
+.\" tuxpaint.1 - 2022.01.18
+.TH TUXPAINT 1 "2022年1月18日" "0.9.28" "Tux Paint"
.SH NAME
tuxpaint -- 小さな子供向けのお絵かきプログラム
@@ -71,6 +71,8 @@ tuxpaint -- 小さな子供向けのお絵かきプログラム
.br
[\-\-nolabel]
.br
+[\-\-nobrushspacing]
+.br
[\-\-newcolorslast]
.br
[\-\-mirrorstamps]
@@ -213,6 +215,8 @@ tuxpaint -- 小さな子供向けのお絵かきプログラム
.br
[\-\-label]
.br
+[\-\-brushspacing]
+.br
[\-\-newcolorsfirst]
.br
[\-\-dontmirrorstamps]
@@ -419,6 +423,11 @@ initially clicked.
Disable or enable (default) the Label tool, which lets you create text
which can be altered or moved later.
+.TP 8
+.B \-\-nobrushspacing \-\-brushspacing
+Disable or enable (default) the brush spacing option of the Paint and Lines
+tools, which allows you to override the default spacing of a brush.
+
.SH OPTIONS - CONTROLLING TUX PAINT
.l
\fItuxpaint\fP accepts the following options to alter how you control Tux
diff --git a/src/tuxpaint-completion.bash b/src/tuxpaint-completion.bash
index c749cdada..4f0acfbcd 100644
--- a/src/tuxpaint-completion.bash
+++ b/src/tuxpaint-completion.bash
@@ -3,7 +3,7 @@
# Bill Kendrick ; http://www.tuxpaint.org/
# Based on inkscape's completion file, by allali@univ-mlv.fr
#
-# Last modified 2021-08-07
+# Last modified 2022-01-18
#
# $Id$
@@ -40,6 +40,7 @@ _tuxpaint()
--complexshapes -s --simpleshapes \
-m --mixedcase -u --uppercase \
--label --nolabel \
+ --brushspacing --nobrushspacing \
--fancycursors --nofancycursors \
--hidecursor --showcursor \
--mouse --keyboard \
From ddd3e737b9ff62908d39f6380e52bf1f5d760ab7 Mon Sep 17 00:00:00 2001
From: Bill Kendrick
Date: Wed, 19 Jan 2022 00:01:52 -0800
Subject: [PATCH 10/21] Sync INSTALL after Mark's macOS updates
---
docs/en/INSTALL.txt | 8 ++++----
docs/en/html/INSTALL.html | 8 ++++----
docs/es_ES.UTF-8/INSTALL.txt | 8 ++++----
docs/es_ES.UTF-8/html/INSTALL.html | 8 ++++----
docs/fr_FR.UTF-8/INSTALL.txt | 8 ++++----
docs/fr_FR.UTF-8/html/INSTALL.html | 8 ++++----
docs/gl_ES.UTF-8/INSTALL.txt | 8 ++++----
docs/gl_ES.UTF-8/html/INSTALL.html | 8 ++++----
docs/ja_JP.UTF-8/INSTALL.txt | 8 ++++----
docs/ja_JP.UTF-8/html/INSTALL.html | 8 ++++----
10 files changed, 40 insertions(+), 40 deletions(-)
diff --git a/docs/en/INSTALL.txt b/docs/en/INSTALL.txt
index 4146acc02..3240a3dc9 100644
--- a/docs/en/INSTALL.txt
+++ b/docs/en/INSTALL.txt
@@ -637,11 +637,11 @@ Compiling and Installation
installed to /opt/local (same as MacPorts) for the library to be
included in TuxPaint.dmg.
+ $ sudo port install rust cargo
$ git clone https://github.com/ImageOptim/libimagequant.git
- $ cd libimagequant
- $ ./configure --prefix=/opt/local
- $ make
- $ sudo make install
+ $ cd libimagequant/imagequant-sys
+ $ cargo build --release
+ $ sudo make PREFIX=/opt/local install
WARNING: Having any UNIX-like toolset installed on your Mac besides
MacPorts and Xcode, such as Fink or Brew, will prevent your app
diff --git a/docs/en/html/INSTALL.html b/docs/en/html/INSTALL.html
index debd9a4ac..833498ae4 100644
--- a/docs/en/html/INSTALL.html
+++ b/docs/en/html/INSTALL.html
@@ -797,11 +797,11 @@
libimagequant is not available from MacPorts as of this writing. It can be installed from the source code as follows. It should be installed to /opt/local (same as MacPorts) for the library to be included in TuxPaint.dmg.
+ $ sudo port install rust cargo
$ git clone https://github.com/ImageOptim/libimagequant.git
- $ cd libimagequant
- $ ./configure --prefix=/opt/local
- $ make
- $ sudo make install
+ $ cd libimagequant/imagequant-sys
+ $ cargo build --release
+ $ sudo make PREFIX=/opt/local install
diff --git a/docs/es_ES.UTF-8/INSTALL.txt b/docs/es_ES.UTF-8/INSTALL.txt
index 8138b9627..16b5d35a1 100644
--- a/docs/es_ES.UTF-8/INSTALL.txt
+++ b/docs/es_ES.UTF-8/INSTALL.txt
@@ -637,11 +637,11 @@ Compiling and Installation
installed to /opt/local (same as MacPorts) for the library to be
included in TuxPaint.dmg.
+ $ sudo port install rust cargo
$ git clone https://github.com/ImageOptim/libimagequant.git
- $ cd libimagequant
- $ ./configure --prefix=/opt/local
- $ make
- $ sudo make install
+ $ cd libimagequant/imagequant-sys
+ $ cargo build --release
+ $ sudo make PREFIX=/opt/local install
WARNING: Having any UNIX-like toolset installed on your Mac besides
MacPorts and Xcode, such as Fink or Brew, will prevent your app
diff --git a/docs/es_ES.UTF-8/html/INSTALL.html b/docs/es_ES.UTF-8/html/INSTALL.html
index 2ee2c1b8c..b23b5a0da 100644
--- a/docs/es_ES.UTF-8/html/INSTALL.html
+++ b/docs/es_ES.UTF-8/html/INSTALL.html
@@ -797,11 +797,11 @@
libimagequant is not available from MacPorts as of this writing. It can be installed from the source code as follows. It should be installed to /opt/local (same as MacPorts) for the library to be included in TuxPaint.dmg.
+ $ sudo port install rust cargo
$ git clone https://github.com/ImageOptim/libimagequant.git
- $ cd libimagequant
- $ ./configure --prefix=/opt/local
- $ make
- $ sudo make install
+ $ cd libimagequant/imagequant-sys
+ $ cargo build --release
+ $ sudo make PREFIX=/opt/local install
diff --git a/docs/fr_FR.UTF-8/INSTALL.txt b/docs/fr_FR.UTF-8/INSTALL.txt
index f08ee4acc..c327a5516 100644
--- a/docs/fr_FR.UTF-8/INSTALL.txt
+++ b/docs/fr_FR.UTF-8/INSTALL.txt
@@ -666,11 +666,11 @@ Compilation et installation
peut être installé sur /opt/local (comme pour MacPorts) pour la
bibliothèque devant être incluse dans TuxPaint.dmg.
+ $ sudo port install rust cargo
$ git clone https://github.com/ImageOptim/libimagequant.git
- $ cd libimagequant
- $ ./configure --prefix=/opt/local
- $ make
- $ sudo make install
+ $ cd libimagequant/imagequant-sys
+ $ cargo build --release
+ $ sudo make PREFIX=/opt/local install
ATTENTION :Posséder des outils Unix à côté de MacPorts et Xcode,
tels que Fink ou Brew, vous empêchera de créer un programme
diff --git a/docs/fr_FR.UTF-8/html/INSTALL.html b/docs/fr_FR.UTF-8/html/INSTALL.html
index d5aa410a1..773fef6d5 100644
--- a/docs/fr_FR.UTF-8/html/INSTALL.html
+++ b/docs/fr_FR.UTF-8/html/INSTALL.html
@@ -797,11 +797,11 @@
libimagequant n'est pas disponible sur MacPorts à cette heure. Il peut être installé sur /opt/local (comme pour MacPorts) pour la bibliothèque devant être incluse dans TuxPaint.dmg.
+ $ sudo port install rust cargo
$ git clone https://github.com/ImageOptim/libimagequant.git
- $ cd libimagequant
- $ ./configure --prefix=/opt/local
- $ make
- $ sudo make install
+ $ cd libimagequant/imagequant-sys
+ $ cargo build --release
+ $ sudo make PREFIX=/opt/local install
diff --git a/docs/gl_ES.UTF-8/INSTALL.txt b/docs/gl_ES.UTF-8/INSTALL.txt
index c07e7cbb0..51cd68597 100644
--- a/docs/gl_ES.UTF-8/INSTALL.txt
+++ b/docs/gl_ES.UTF-8/INSTALL.txt
@@ -647,11 +647,11 @@ Compiling and Installation
installed to /opt/local (same as MacPorts) for the library to be
included in TuxPaint.dmg.
+ $ sudo port install rust cargo
$ git clone https://github.com/ImageOptim/libimagequant.git
- $ cd libimagequant
- $ ./configure --prefix=/opt/local
- $ make
- $ sudo make install
+ $ cd libimagequant/imagequant-sys
+ $ cargo build --release
+ $ sudo make PREFIX=/opt/local install
WARNING: Having any UNIX-like toolset installed on your Mac besides
MacPorts and Xcode, such as Fink or Brew, will prevent your app
diff --git a/docs/gl_ES.UTF-8/html/INSTALL.html b/docs/gl_ES.UTF-8/html/INSTALL.html
index b10005eba..2051062c4 100644
--- a/docs/gl_ES.UTF-8/html/INSTALL.html
+++ b/docs/gl_ES.UTF-8/html/INSTALL.html
@@ -797,11 +797,11 @@
libimagequant is not available from MacPorts as of this writing. It can be installed from the source code as follows. It should be installed to /opt/local (same as MacPorts) for the library to be included in TuxPaint.dmg.
+ $ sudo port install rust cargo
$ git clone https://github.com/ImageOptim/libimagequant.git
- $ cd libimagequant
- $ ./configure --prefix=/opt/local
- $ make
- $ sudo make install
+ $ cd libimagequant/imagequant-sys
+ $ cargo build --release
+ $ sudo make PREFIX=/opt/local install
diff --git a/docs/ja_JP.UTF-8/INSTALL.txt b/docs/ja_JP.UTF-8/INSTALL.txt
index b11e043d0..7ba1e3e32 100644
--- a/docs/ja_JP.UTF-8/INSTALL.txt
+++ b/docs/ja_JP.UTF-8/INSTALL.txt
@@ -637,11 +637,11 @@ Compiling and Installation
installed to /opt/local (same as MacPorts) for the library to be
included in TuxPaint.dmg.
+ $ sudo port install rust cargo
$ git clone https://github.com/ImageOptim/libimagequant.git
- $ cd libimagequant
- $ ./configure --prefix=/opt/local
- $ make
- $ sudo make install
+ $ cd libimagequant/imagequant-sys
+ $ cargo build --release
+ $ sudo make PREFIX=/opt/local install
WARNING: Having any UNIX-like toolset installed on your Mac besides
MacPorts and Xcode, such as Fink or Brew, will prevent your app
diff --git a/docs/ja_JP.UTF-8/html/INSTALL.html b/docs/ja_JP.UTF-8/html/INSTALL.html
index e40dc559a..d6c2fa2c6 100644
--- a/docs/ja_JP.UTF-8/html/INSTALL.html
+++ b/docs/ja_JP.UTF-8/html/INSTALL.html
@@ -797,11 +797,11 @@
libimagequant is not available from MacPorts as of this writing. It can be installed from the source code as follows. It should be installed to /opt/local (same as MacPorts) for the library to be included in TuxPaint.dmg.
+ $ sudo port install rust cargo
$ git clone https://github.com/ImageOptim/libimagequant.git
- $ cd libimagequant
- $ ./configure --prefix=/opt/local
- $ make
- $ sudo make install
+ $ cd libimagequant/imagequant-sys
+ $ cargo build --release
+ $ sudo make PREFIX=/opt/local install
From 09f33f70354156d3537210a5ce7e4c419b708957 Mon Sep 17 00:00:00 2001
From: Bill Kendrick
Date: Wed, 19 Jan 2022 00:07:03 -0800
Subject: [PATCH 11/21] Logging forthcoming brush spacing feature / defaults
(Marked as WIP, because nothing has been done to support it yet!)
Adding one new brush spacing.
---
data/brushes/star.dat | 1 +
docs/CHANGES.txt | 17 +++++++++++++++--
2 files changed, 16 insertions(+), 2 deletions(-)
create mode 100644 data/brushes/star.dat
diff --git a/data/brushes/star.dat b/data/brushes/star.dat
new file mode 100644
index 000000000..582a2f6fb
--- /dev/null
+++ b/data/brushes/star.dat
@@ -0,0 +1 @@
+spacing=45
diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt
index 639b5c691..4b170ff3e 100644
--- a/docs/CHANGES.txt
+++ b/docs/CHANGES.txt
@@ -8,8 +8,21 @@ http://www.tuxpaint.org/
2022.January.18 (0.9.28)
- * Other Improvements:
- -------------------
+ * Improvements to "Paint" and "Lines" tools:
+ ------------------------------------------
+ * WIP: Brush spacing may now be altered within Tux Paint.
+ + Note: A "nobrushspacing" simplifcation option is provided to
+ disable this feature; Tux Paint will continue using the brushes'
+ default spacings.
+
+ * WIP: Many brushes have been given more reasonable default spacing
+ settings (e.g., star brush's new default spacing causes
+ individual stars to appear, rather than a 'smear').
+ Closes https://sourceforge.net/p/tuxpaint/bugs/243/
+ (h/t Areti Tsolakidou for the suggestion)
+
+ * Improvements to "Eraser" tool:
+ ------------------------------
* Outline for circle-shaped erasers is now also circular.
Closes https://sourceforge.net/p/tuxpaint/bugs/244/
(h/t Areti Tsolakidou for the suggestion)
From e217094f7848adbd87a3150f3f58e3ec1f6d710a Mon Sep 17 00:00:00 2001
From: Bill Kendrick
Date: Wed, 19 Jan 2022 00:13:12 -0800
Subject: [PATCH 12/21] Add some more default brush spacings
Closes https://sourceforge.net/p/tuxpaint/bugs/243/
---
data/brushes/flower_5.dat | 1 +
data/brushes/flower_5_small.dat | 1 +
data/brushes/flower_6.dat | 1 +
data/brushes/flower_6_small.dat | 1 +
data/brushes/flower_7.dat | 1 +
data/brushes/heart.dat | 1 +
data/brushes/sphere.dat | 1 +
docs/CHANGES.txt | 2 +-
8 files changed, 8 insertions(+), 1 deletion(-)
create mode 100644 data/brushes/flower_5.dat
create mode 100644 data/brushes/flower_5_small.dat
create mode 100644 data/brushes/flower_6.dat
create mode 100644 data/brushes/flower_6_small.dat
create mode 100644 data/brushes/flower_7.dat
create mode 100644 data/brushes/heart.dat
create mode 100644 data/brushes/sphere.dat
diff --git a/data/brushes/flower_5.dat b/data/brushes/flower_5.dat
new file mode 100644
index 000000000..582a2f6fb
--- /dev/null
+++ b/data/brushes/flower_5.dat
@@ -0,0 +1 @@
+spacing=45
diff --git a/data/brushes/flower_5_small.dat b/data/brushes/flower_5_small.dat
new file mode 100644
index 000000000..3903bcc29
--- /dev/null
+++ b/data/brushes/flower_5_small.dat
@@ -0,0 +1 @@
+spacing=20
diff --git a/data/brushes/flower_6.dat b/data/brushes/flower_6.dat
new file mode 100644
index 000000000..582a2f6fb
--- /dev/null
+++ b/data/brushes/flower_6.dat
@@ -0,0 +1 @@
+spacing=45
diff --git a/data/brushes/flower_6_small.dat b/data/brushes/flower_6_small.dat
new file mode 100644
index 000000000..3903bcc29
--- /dev/null
+++ b/data/brushes/flower_6_small.dat
@@ -0,0 +1 @@
+spacing=20
diff --git a/data/brushes/flower_7.dat b/data/brushes/flower_7.dat
new file mode 100644
index 000000000..582a2f6fb
--- /dev/null
+++ b/data/brushes/flower_7.dat
@@ -0,0 +1 @@
+spacing=45
diff --git a/data/brushes/heart.dat b/data/brushes/heart.dat
new file mode 100644
index 000000000..bffe673c9
--- /dev/null
+++ b/data/brushes/heart.dat
@@ -0,0 +1 @@
+spacing=50
diff --git a/data/brushes/sphere.dat b/data/brushes/sphere.dat
new file mode 100644
index 000000000..297b74997
--- /dev/null
+++ b/data/brushes/sphere.dat
@@ -0,0 +1 @@
+spacing=40
diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt
index 4b170ff3e..18e607189 100644
--- a/docs/CHANGES.txt
+++ b/docs/CHANGES.txt
@@ -15,7 +15,7 @@ http://www.tuxpaint.org/
disable this feature; Tux Paint will continue using the brushes'
default spacings.
- * WIP: Many brushes have been given more reasonable default spacing
+ * Many brushes have been given more reasonable default spacing
settings (e.g., star brush's new default spacing causes
individual stars to appear, rather than a 'smear').
Closes https://sourceforge.net/p/tuxpaint/bugs/243/
From 176749ba9cc51a6dcaad9617903ee6d617e318df Mon Sep 17 00:00:00 2001
From: Bill Kendrick
Date: Wed, 19 Jan 2022 00:29:05 -0800
Subject: [PATCH 13/21] Grok "[no]brushspacing" commandline/config option
For forthcoming feature
---
src/parse.gperf | 1 +
src/parse.h | 1 +
src/tuxpaint.c | 8 +++++++-
3 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/src/parse.gperf b/src/parse.gperf
index 54f18d422..415b9bd12 100644
--- a/src/parse.gperf
+++ b/src/parse.gperf
@@ -120,6 +120,7 @@ help, IMM(help)
hidecursor, POSBOOL(hide_cursor)
keyboard, POSBOOL(keymouse)
label, NEGBOOL(disable_label)
+brushspacing, NEGBOOL(disable_brushspacing)
lang, MULTI(parsertmp_lang)
locale, MULTI(parsertmp_locale)
lockfile, POSBOOL(ok_to_use_lockfile)
diff --git a/src/parse.h b/src/parse.h
index 237337992..308ad7590 100644
--- a/src/parse.h
+++ b/src/parse.h
@@ -14,6 +14,7 @@ struct cfginfo
const char *colorfile;
const char *datadir;
const char *disable_label;
+ const char *disable_brushspacing;
const char *disable_magic_controls;
const char *disable_shape_controls;
const char *disable_print;
diff --git a/src/tuxpaint.c b/src/tuxpaint.c
index b1be4d67f..fa102c3db 100644
--- a/src/tuxpaint.c
+++ b/src/tuxpaint.c
@@ -22,7 +22,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
(See COPYING.txt)
- June 14, 2002 - January 18, 2022
+ June 14, 2002 - January 19, 2022
*/
#include "platform.h"
@@ -1299,6 +1299,8 @@ static int starter_personal;
static int template_personal;
static int starter_modified;
+static int disable_brushspacing;
+
static Uint8 canvas_color_r, canvas_color_g, canvas_color_b;
static Uint8 *touched;
static Uint8 *sim_flood_touched;
@@ -7036,6 +7038,7 @@ void show_usage(int exitcode)
" [--nomagiccontrols | --magiccontrols]\n"
" [--noshapecontrols | --shapecontrols]\n"
" [--nolabel | --label]\n"
+ " [--nobrushspacing | --brushspacing]\n"
" [--newcolorsfirst | --newcolorslast]\n"
"\n"
" Languages:\n"
@@ -9077,6 +9080,8 @@ static void draw_brushes(void)
SDL_Rect src, dest;
int most;
+printf("Disable brush spacing: %d\n", disable_brushspacing);
+
/* Draw the title: */
draw_image_title(TITLE_BRUSHES, r_ttoolopt);
@@ -23992,6 +23997,7 @@ static void setup_config(char *argv[])
SETBOOL(all_locale_fonts);
SETBOOL(autosave_on_quit);
SETBOOL(disable_label);
+ SETBOOL(disable_brushspacing);
SETBOOL(disable_magic_controls);
SETBOOL(disable_shape_controls);
SETBOOL(disable_print);
From ce9e2647137c9b6f183953604b4ff367725c4090 Mon Sep 17 00:00:00 2001
From: Bill Kendrick
Date: Wed, 19 Jan 2022 00:38:03 -0800
Subject: [PATCH 14/21] Initial work to render brush spacing widget
Doesn't do anything yet, and click-detecting code is unaware of it
(so scrollbar click happens in the old location). WIP! :-)
---
src/tuxpaint.c | 46 ++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 44 insertions(+), 2 deletions(-)
diff --git a/src/tuxpaint.c b/src/tuxpaint.c
index fa102c3db..01ea9baf3 100644
--- a/src/tuxpaint.c
+++ b/src/tuxpaint.c
@@ -9079,14 +9079,21 @@ static void draw_brushes(void)
int i, off_y, max, brush;
SDL_Rect src, dest;
int most;
-
-printf("Disable brush spacing: %d\n", disable_brushspacing);
+ int sizes, size_at;
+ float x_per, y_per;
+ int xx, yy;
+ SDL_Surface *btn, *blnk;
/* Draw the title: */
draw_image_title(TITLE_BRUSHES, r_ttoolopt);
/* Space for buttons, was 14 */
most = (buttons_tall * gd_toolopt.cols) - TOOLOFFSET;
+ if (!disable_brushspacing)
+ {
+ /* Make room for spacing controls */
+ most -= 2;
+ }
/* Do we need scrollbars? */
@@ -9186,6 +9193,41 @@ printf("Disable brush spacing: %d\n", disable_brushspacing);
}
}
}
+
+ if (!disable_brushspacing)
+ {
+ sizes = 12;
+ size_at = 5; /* FIXME (stamp_data[stamp_group][cur_stamp[stamp_group]]->size - MIN_STAMP_SIZE); */
+
+ x_per = (float)r_ttoolopt.w / sizes;
+ y_per = (float)button_h / sizes;
+
+ for (i = 0; i < sizes; i++)
+ {
+ xx = ceil(x_per);
+ yy = ceil(y_per * i);
+
+ if (i <= size_at)
+ btn = thumbnail(img_btn_down, xx, yy, 0);
+ else
+ btn = thumbnail(img_btn_up, xx, yy, 0);
+
+ blnk = thumbnail(img_btn_off, xx, button_h - yy, 0);
+
+ /* FIXME: Check for NULL! */
+
+ dest.x = (WINDOW_WIDTH - r_ttoolopt.w) + (i * x_per);
+ dest.y = (((most + gd_toolopt.cols + gd_toolopt.cols + TOOLOFFSET) / gd_toolopt.cols * button_h)) - 8 * button_scale;
+ SDL_BlitSurface(blnk, NULL, screen, &dest);
+
+ dest.x = (WINDOW_WIDTH - r_ttoolopt.w) + (i * x_per);
+ dest.y = (((most + gd_toolopt.cols + gd_toolopt.cols + gd_toolopt.cols + TOOLOFFSET) / gd_toolopt.cols * button_h)) - 8 * button_scale - (y_per * i);
+ SDL_BlitSurface(btn, NULL, screen, &dest);
+
+ SDL_FreeSurface(btn);
+ SDL_FreeSurface(blnk);
+ }
+ }
}
From 0b18aac9853f73b68a77b69450860a05cd102507 Mon Sep 17 00:00:00 2001
From: Bill Kendrick
Date: Wed, 19 Jan 2022 01:30:08 -0800
Subject: [PATCH 15/21] Decided how brush spacing choice relates to spacing
Max option in the spacing widget will correspond to 2x the maximum
dimension of the brush.
---
src/tuxpaint.c | 20 ++++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/src/tuxpaint.c b/src/tuxpaint.c
index 01ea9baf3..5e8668a46 100644
--- a/src/tuxpaint.c
+++ b/src/tuxpaint.c
@@ -1897,6 +1897,9 @@ static int brush_counter, brush_frame;
#define ERASER_MIN 5 /* Smaller than 5 will not render as a circle! */
#define ERASER_MAX 128
+#define BRUSH_SPACING_SIZES 12 /* How many brush spacing options to provide
+ (max will represent ~2x the max dimension of the brush;
+ min will represent 1 pixel) */
static unsigned cur_color;
static int cur_tool, cur_brush, old_tool;
@@ -9079,7 +9082,7 @@ static void draw_brushes(void)
int i, off_y, max, brush;
SDL_Rect src, dest;
int most;
- int sizes, size_at;
+ int frame_w, w, h, size_at;
float x_per, y_per;
int xx, yy;
SDL_Surface *btn, *blnk;
@@ -9196,13 +9199,18 @@ static void draw_brushes(void)
if (!disable_brushspacing)
{
- sizes = 12;
- size_at = 5; /* FIXME (stamp_data[stamp_group][cur_stamp[stamp_group]]->size - MIN_STAMP_SIZE); */
+ frame_w = img_brushes[cur_brush]->w / abs(brushes_frames[cur_brush]);
+ w = frame_w / (brushes_directional[cur_brush] ? 3 : 1);
+ h = img_brushes[cur_brush]->h / (brushes_directional[cur_brush] ? 3 : 1);
- x_per = (float)r_ttoolopt.w / sizes;
- y_per = (float)button_h / sizes;
+ /* Spacing ranges from 0px to "2x the max dimension of the brush"
+ (so a 48x48 brush would have a spacing of 48 if the center option is chosen) */
+ size_at = (BRUSH_SPACING_SIZES * brushes_spacing[cur_brush]) / (max(w, h) * 2);
- for (i = 0; i < sizes; i++)
+ x_per = (float)r_ttoolopt.w / BRUSH_SPACING_SIZES;
+ y_per = (float)button_h / BRUSH_SPACING_SIZES;
+
+ for (i = 0; i < BRUSH_SPACING_SIZES; i++)
{
xx = ceil(x_per);
yy = ceil(y_per * i);
From 145c35a95d2be2bb4edb0dfe1229b1cf63ac2b89 Mon Sep 17 00:00:00 2001
From: Bill Kendrick
Date: Wed, 19 Jan 2022 01:46:44 -0800
Subject: [PATCH 16/21] Get brush selector down-scroll to grok brush spacing
---
src/tuxpaint.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/src/tuxpaint.c b/src/tuxpaint.c
index 5e8668a46..44dbe705f 100644
--- a/src/tuxpaint.c
+++ b/src/tuxpaint.c
@@ -3667,6 +3667,15 @@ static void mainloop(void)
}
}
+ else if (cur_tool == TOOL_BRUSH || cur_tool == TOOL_LINES)
+ {
+ if (!disable_brushspacing)
+ {
+ gd_controls.rows = 1;
+ gd_controls.cols = 2;
+ }
+ }
+
/* number of whole or partial rows that will be needed
(can make this per-tool if variable columns needed) */
num_rows_needed = (num_things + gd_items.cols - 1) / gd_items.cols;
@@ -5061,6 +5070,14 @@ static void mainloop(void)
gd_controls.cols = 2;
}
}
+ else if (cur_tool == TOOL_BRUSH || cur_tool == TOOL_LINES)
+ {
+ if (!disable_brushspacing)
+ {
+ gd_controls.rows = 1;
+ gd_controls.cols = 2;
+ }
+ }
/* number of whole or partial rows that will be needed
(can make this per-tool if variable columns needed) */
@@ -5504,6 +5521,7 @@ static void mainloop(void)
{
}
+ /* This if/if/if block is awful -bjk 2022.01.19 */
int control_rows = 0;
if (cur_tool == TOOL_STAMP && !disable_stamp_controls)
control_rows = 3;
@@ -5524,6 +5542,9 @@ static void mainloop(void)
}
if (cur_tool == TOOL_SHAPES && !disable_shape_controls)
control_rows = 1;
+ if ((cur_tool == TOOL_BRUSH || cur_tool == TOOL_LINES) && !disable_brushspacing)
+ control_rows = 1;
+
int num_places = buttons_tall * gd_toolopt.cols - control_rows * gd_toolopt.cols;
if (num_things > num_places)
From 29eec0dcb760a2eb8f3b8e130eaed087201901a7 Mon Sep 17 00:00:00 2001
From: Bill Kendrick
Date: Wed, 19 Jan 2022 02:04:47 -0800
Subject: [PATCH 17/21] Brush spacing ctrl proper position when no scrollbar
(e.g., when running in ~860px tall window with 32px buttonsize)
---
src/tuxpaint.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/tuxpaint.c b/src/tuxpaint.c
index 44dbe705f..a2fed9b0d 100644
--- a/src/tuxpaint.c
+++ b/src/tuxpaint.c
@@ -9245,12 +9245,13 @@ static void draw_brushes(void)
/* FIXME: Check for NULL! */
+
dest.x = (WINDOW_WIDTH - r_ttoolopt.w) + (i * x_per);
- dest.y = (((most + gd_toolopt.cols + gd_toolopt.cols + TOOLOFFSET) / gd_toolopt.cols * button_h)) - 8 * button_scale;
+ dest.y = (button_h * buttons_tall + r_ttools.h) - button_h;
SDL_BlitSurface(blnk, NULL, screen, &dest);
dest.x = (WINDOW_WIDTH - r_ttoolopt.w) + (i * x_per);
- dest.y = (((most + gd_toolopt.cols + gd_toolopt.cols + gd_toolopt.cols + TOOLOFFSET) / gd_toolopt.cols * button_h)) - 8 * button_scale - (y_per * i);
+ dest.y = (button_h * buttons_tall + r_ttools.h) - (y_per * i);
SDL_BlitSurface(btn, NULL, screen, &dest);
SDL_FreeSurface(btn);
From ccfe3bc074905507e58a5cf3b45027bfdc2caebf Mon Sep 17 00:00:00 2001
From: Bill Kendrick
Date: Wed, 19 Jan 2022 02:12:59 -0800
Subject: [PATCH 18/21] FIXME about hand cursor over selector controls
---
src/tuxpaint.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/tuxpaint.c b/src/tuxpaint.c
index a2fed9b0d..ca3f7bcd4 100644
--- a/src/tuxpaint.c
+++ b/src/tuxpaint.c
@@ -5575,6 +5575,8 @@ static void mainloop(void)
{
/* One of the selectors: */
+ /* FIXME: Also show "cursor_hand" when touching controls (stamp size, brush spacing, etc.!) (See below) -bjk 2022.01.19 */
+
which = ((event.button.y - r_ttoolopt.h - img_scroll_up->h) / button_h) * 2 + (event.button.x - (WINDOW_WIDTH - r_ttoolopt.w)) / button_w;
if (which < num_things)
@@ -5587,6 +5589,8 @@ static void mainloop(void)
{
/* No scroll buttons - must be a selector: */
+ /* FIXME: Also show "cursor_hand" when touching controls (stamp size, brush spacing, etc.!) (See above) -bjk 2022.01.19 */
+
which = ((event.button.y - r_ttoolopt.h) / button_h) * 2 + (event.button.x - (WINDOW_WIDTH - r_ttoolopt.w)) / button_w;
if (which < num_things)
From e8446d2902638253410fb7cd47228e8f9b00add8 Mon Sep 17 00:00:00 2001
From: Bill Kendrick
Date: Thu, 20 Jan 2022 00:09:03 -0800
Subject: [PATCH 19/21] Brush spacing controls work
---
docs/CHANGES.txt | 4 +-
src/tuxpaint.c | 153 +++++++++++++++++++++++++++++++----------------
2 files changed, 105 insertions(+), 52 deletions(-)
diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt
index 18e607189..a7968b1dd 100644
--- a/docs/CHANGES.txt
+++ b/docs/CHANGES.txt
@@ -7,10 +7,10 @@ Various contributors (see below, and AUTHORS.txt)
http://www.tuxpaint.org/
-2022.January.18 (0.9.28)
+2022.January.20 (0.9.28)
* Improvements to "Paint" and "Lines" tools:
------------------------------------------
- * WIP: Brush spacing may now be altered within Tux Paint.
+ * Brush spacing may now be altered within Tux Paint.
+ Note: A "nobrushspacing" simplifcation option is provided to
disable this feature; Tux Paint will continue using the brushes'
default spacings.
diff --git a/src/tuxpaint.c b/src/tuxpaint.c
index ca3f7bcd4..d2497387d 100644
--- a/src/tuxpaint.c
+++ b/src/tuxpaint.c
@@ -1898,8 +1898,11 @@ static int brush_counter, brush_frame;
#define ERASER_MAX 128
#define BRUSH_SPACING_SIZES 12 /* How many brush spacing options to provide
- (max will represent ~2x the max dimension of the brush;
- min will represent 1 pixel) */
+ (max will represent BRUSH_SPACING_MAX_MULTIPLIER times the
+ max dimension of the brush; min will represent 1 pixel) */
+#define BRUSH_SPACING_MAX_MULTIPLIER 5 /* How far apart (in terms of a multiplier of a
+ brush's dimensions) the max brush spacing setting
+ represents */
static unsigned cur_color;
static int cur_tool, cur_brush, old_tool;
@@ -1988,6 +1991,7 @@ static SDL_Surface *do_loadimage(const char *const fname, int abort_on_error);
static void draw_toolbar(void);
static void draw_magic(void);
static void draw_brushes(void);
+static void draw_brushes_spacing(void);
static void draw_stamps(void);
static void draw_shapes(void);
static void draw_erasers(void);
@@ -3559,6 +3563,7 @@ static void mainloop(void)
}
else if ((event.button.y < r_tools.y + button_h / 2) && tool_scroll > 0)
{
+ /* Tool up scroll button */
tool_scroll -= gd_tools.cols;
playsound(screen, 1, SND_SCROLL, 1, SNDPOS_CENTER, SNDDIST_NEAR);
@@ -3569,6 +3574,7 @@ static void mainloop(void)
else if ((event.button.y > real_r_tools.y + real_r_tools.h)
&& (tool_scroll < NUM_TOOLS - buttons_tall * gd_tools.cols + gd_tools.cols))
{
+ /* Tool down scroll button */
tool_scroll += gd_tools.cols;
draw_toolbar();
playsound(screen, 1, SND_SCROLL, 1, SNDPOS_CENTER, SNDDIST_NEAR);
@@ -3611,13 +3617,13 @@ static void mainloop(void)
{
if (!disable_stamp_controls)
{
- /* was 2,2 before adding left/right stamp group buttons -bjk 2007.05.15 */
+ /* Account for stamp controls and group changing (left/right) buttons */
gd_controls.rows = 3;
gd_controls.cols = 2;
}
else
{
- /* was left 0,0 before adding left/right stamp group buttons -bjk 2007.05.03 */
+ /* Stamp controls are disabled; account for group changing (left/right) buttons */
gd_controls.rows = 1;
gd_controls.cols = 2;
}
@@ -3626,6 +3632,7 @@ static void mainloop(void)
{
if (!disable_stamp_controls)
{
+ /* Account for text controls */
gd_controls.rows = 2;
gd_controls.cols = 2;
}
@@ -3634,11 +3641,13 @@ static void mainloop(void)
{
if (!disable_stamp_controls)
{
+ /* Account for text controls and label selection button */
gd_controls.rows = 3;
gd_controls.cols = 2;
}
else
{
+ /* Text controls disabled; only account for label selection button */
gd_controls.rows = 1;
gd_controls.cols = 2;
}
@@ -3648,11 +3657,13 @@ static void mainloop(void)
{
if (!disable_magic_controls)
{
+ /* Account for magic controls and group changing (left/right) buttons */
gd_controls.rows = 2;
gd_controls.cols = 2;
}
else
{
+ /* Magic controls are disabled; account for group changing (left/right) buttons */
gd_controls.rows = 1;
gd_controls.cols = 2;
}
@@ -3662,6 +3673,7 @@ static void mainloop(void)
{
if (!disable_shape_controls)
{
+ /* Account for shape controls (corner- vs center-based expansion) */
gd_controls.rows = 1;
gd_controls.cols = 2;
}
@@ -3671,6 +3683,7 @@ static void mainloop(void)
{
if (!disable_brushspacing)
{
+ /* Account for brush spacing */
gd_controls.rows = 1;
gd_controls.cols = 2;
}
@@ -3709,10 +3722,12 @@ static void mainloop(void)
if (HIT(r_items))
{
+ /* A selection button was clicked... */
which = GRIDHIT_GD(r_items, gd_items) + *thing_scroll;
if (which < num_things)
{
+ /* ...and there was something there to click */
toolopt_changed = 1;
#ifndef NOSOUND
if (cur_tool != TOOL_STAMP || stamp_data[stamp_group][which]->ssnd == NULL)
@@ -3726,7 +3741,10 @@ static void mainloop(void)
}
else if (HIT(r_controls))
{
+ /* Controls were clicked */
+
which = GRIDHIT_GD(r_controls, gd_controls);
+
if (cur_tool == TOOL_STAMP)
{
/* Stamp controls! */
@@ -3847,6 +3865,8 @@ static void mainloop(void)
}
else if (cur_tool == TOOL_MAGIC)
{
+ /* Magic controls */
+
int grp;
int cur;
@@ -4035,10 +4055,9 @@ static void mainloop(void)
}
}
}
-
- /* Label controls! */
else if (cur_tool == TOOL_LABEL)
{
+ /* Label controls! */
int control_sound = -1;
if (which & 4)
@@ -4175,12 +4194,42 @@ static void mainloop(void)
}
draw_fonts();
update_screen_rect(&r_toolopt);
+ }
+ else if (cur_tool == TOOL_BRUSH || cur_tool == TOOL_LINES)
+ {
+ /* Brush spacing */
+ int prev_size, chosen, new_size, frame_w, w, h, control_sound;
+
+ prev_size = brushes_spacing[cur_brush];
+ chosen = ((BRUSH_SPACING_SIZES + 1) * (event.button.x - r_ttoolopt.x)) / r_ttoolopt.w;
+
+ frame_w = img_brushes[cur_brush]->w / abs(brushes_frames[cur_brush]);
+ w = frame_w / (brushes_directional[cur_brush] ? 3 : 1);
+ h = img_brushes[cur_brush]->h / (brushes_directional[cur_brush] ? 3 : 1);
+
+ /* Spacing ranges from 0px to "N x the max dimension of the brush"
+ (so a 48x48 brush would have a spacing of 48 if the center option is chosen) */
+ new_size = (chosen * max(w, h) * BRUSH_SPACING_MAX_MULTIPLIER) / BRUSH_SPACING_SIZES;
+
+ if (new_size != prev_size)
+ {
+ brushes_spacing[cur_brush] = new_size;
+ draw_brushes_spacing();
+ update_screen_rect(&r_toolopt);
+
+ if (new_size < prev_size)
+ control_sound = SND_SHRINK;
+ else
+ control_sound = SND_GROW;
+
+ playsound(screen, 0, control_sound, 0, SNDPOS_CENTER, SNDDIST_NEAR);
+ }
}
}
else
{
- /* scroll button */
+ /* Scroll buttons */
int is_upper = event.button.y < r_toolopt.y + button_h / 2;
if ((is_upper && *thing_scroll > 0) /* upper arrow */
@@ -9107,10 +9156,6 @@ static void draw_brushes(void)
int i, off_y, max, brush;
SDL_Rect src, dest;
int most;
- int frame_w, w, h, size_at;
- float x_per, y_per;
- int xx, yy;
- SDL_Surface *btn, *blnk;
/* Draw the title: */
draw_image_title(TITLE_BRUSHES, r_ttoolopt);
@@ -9223,47 +9268,55 @@ static void draw_brushes(void)
}
if (!disable_brushspacing)
- {
- frame_w = img_brushes[cur_brush]->w / abs(brushes_frames[cur_brush]);
- w = frame_w / (brushes_directional[cur_brush] ? 3 : 1);
- h = img_brushes[cur_brush]->h / (brushes_directional[cur_brush] ? 3 : 1);
-
- /* Spacing ranges from 0px to "2x the max dimension of the brush"
- (so a 48x48 brush would have a spacing of 48 if the center option is chosen) */
- size_at = (BRUSH_SPACING_SIZES * brushes_spacing[cur_brush]) / (max(w, h) * 2);
-
- x_per = (float)r_ttoolopt.w / BRUSH_SPACING_SIZES;
- y_per = (float)button_h / BRUSH_SPACING_SIZES;
-
- for (i = 0; i < BRUSH_SPACING_SIZES; i++)
- {
- xx = ceil(x_per);
- yy = ceil(y_per * i);
-
- if (i <= size_at)
- btn = thumbnail(img_btn_down, xx, yy, 0);
- else
- btn = thumbnail(img_btn_up, xx, yy, 0);
-
- blnk = thumbnail(img_btn_off, xx, button_h - yy, 0);
-
- /* FIXME: Check for NULL! */
-
-
- dest.x = (WINDOW_WIDTH - r_ttoolopt.w) + (i * x_per);
- dest.y = (button_h * buttons_tall + r_ttools.h) - button_h;
- SDL_BlitSurface(blnk, NULL, screen, &dest);
-
- dest.x = (WINDOW_WIDTH - r_ttoolopt.w) + (i * x_per);
- dest.y = (button_h * buttons_tall + r_ttools.h) - (y_per * i);
- SDL_BlitSurface(btn, NULL, screen, &dest);
-
- SDL_FreeSurface(btn);
- SDL_FreeSurface(blnk);
- }
- }
+ draw_brushes_spacing();
}
+static void draw_brushes_spacing(void)
+{
+ int i, frame_w, w, h, size_at;
+ float x_per, y_per;
+ int xx, yy;
+ SDL_Surface *btn, *blnk;
+ SDL_Rect dest;
+
+ frame_w = img_brushes[cur_brush]->w / abs(brushes_frames[cur_brush]);
+ w = frame_w / (brushes_directional[cur_brush] ? 3 : 1);
+ h = img_brushes[cur_brush]->h / (brushes_directional[cur_brush] ? 3 : 1);
+
+ /* Spacing ranges from 0px to "N x the max dimension of the brush"
+ (so a 48x48 brush would have a spacing of 48 if the center option is chosen) */
+ size_at = (BRUSH_SPACING_SIZES * brushes_spacing[cur_brush]) / (max(w, h) * BRUSH_SPACING_MAX_MULTIPLIER);
+
+ x_per = (float)r_ttoolopt.w / BRUSH_SPACING_SIZES;
+ y_per = (float)button_h / BRUSH_SPACING_SIZES;
+
+ for (i = 0; i < BRUSH_SPACING_SIZES; i++)
+ {
+ xx = ceil(x_per);
+ yy = ceil(y_per * i);
+
+ if (i <= size_at)
+ btn = thumbnail(img_btn_down, xx, yy, 0);
+ else
+ btn = thumbnail(img_btn_up, xx, yy, 0);
+
+ blnk = thumbnail(img_btn_off, xx, button_h - yy, 0);
+
+ /* FIXME: Check for NULL! */
+
+
+ dest.x = (WINDOW_WIDTH - r_ttoolopt.w) + (i * x_per);
+ dest.y = (button_h * buttons_tall + r_ttools.h) - button_h;
+ SDL_BlitSurface(blnk, NULL, screen, &dest);
+
+ dest.x = (WINDOW_WIDTH - r_ttoolopt.w) + (i * x_per);
+ dest.y = (button_h * buttons_tall + r_ttools.h) - (y_per * i);
+ SDL_BlitSurface(btn, NULL, screen, &dest);
+
+ SDL_FreeSurface(btn);
+ SDL_FreeSurface(blnk);
+ }
+}
/**
* FIXME
From 32bcba3a9262fd0e9f3d00fdb618ccbdfd72e0a1 Mon Sep 17 00:00:00 2001
From: Bill Kendrick
Date: Thu, 20 Jan 2022 00:26:50 -0800
Subject: [PATCH 20/21] Syncing docs to capture Brush Spacing info in README
---
docs/en/README.txt | 28 ++++++++++++++++++++++++--
docs/en/html/README.html | 32 ++++++++++++++++++++++++++++--
docs/es_ES.UTF-8/README.txt | 28 ++++++++++++++++++++++++--
docs/es_ES.UTF-8/html/README.html | 32 ++++++++++++++++++++++++++++--
docs/fr_FR.UTF-8/README.txt | 28 ++++++++++++++++++++++++--
docs/fr_FR.UTF-8/html/README.html | 32 ++++++++++++++++++++++++++++--
docs/gl_ES.UTF-8/README.txt | 28 ++++++++++++++++++++++++--
docs/gl_ES.UTF-8/html/README.html | 32 ++++++++++++++++++++++++++++--
docs/html/images/tool_slider.png | Bin 0 -> 12372 bytes
docs/ja_JP.UTF-8/README.txt | 28 ++++++++++++++++++++++++--
docs/ja_JP.UTF-8/html/README.html | 32 ++++++++++++++++++++++++++++--
11 files changed, 280 insertions(+), 20 deletions(-)
create mode 100644 docs/html/images/tool_slider.png
diff --git a/docs/en/README.txt b/docs/en/README.txt
index 27048e369..719e23602 100644
--- a/docs/en/README.txt
+++ b/docs/en/README.txt
@@ -3,11 +3,11 @@
A simple drawing program for children
- Copyright © 2002-2021 by various contributors; see AUTHORS.
+ Copyright © 2002-2022 by various contributors; see AUTHORS.
http://www.tuxpaint.org/
@TuxPaintTweets on Twitter
- November 25, 2021
+ January 20, 2022
----------------------------------------------------------------------
@@ -239,6 +239,25 @@ Available Tools
As you draw, a sound is played. The bigger the brush, the
lower the pitch.
+ Brush Spacing
+
+ The space between each position where a brush is applied
+ to the canvas can vary. Some brushes (such as the
+ footprints and flower) are spaced, by default, far enough
+ apart that they don't overlap. Other brushes (such as the
+ basic circular ones) are spaced closely, so they make a
+ continuous stroke.
+
+ The default spacing of brushes may be overridden using by
+ clicking within the triangular-shaped series of bars at
+ the bottom right; the larger the bar, the wider the
+ spacing. Brush spacing affects both tools that use the
+ brushes: the "Paint" tool and the "Lines" tool.
+
+ (Note: If the "nobrushspacing" option is set, Tux Paint
+ won't display the brush spacing controls. See the
+ "Options" documentation.)
+
----------------------------------------------------------------------
"Stamp" Tool (Rubber Stamps)
@@ -305,6 +324,11 @@ Available Tools
finally some are both animated and directional. See "Paint",
above, to learn more.
+ Different brushes have different spacing, leaving either a
+ series of individual shapes, or a continuous stroke of the
+ brush shape. Brush spacing may be adjusted. See "Paint",
+ above, to learn more.
+
----------------------------------------------------------------------
"Shapes" Tool
diff --git a/docs/en/html/README.html b/docs/en/html/README.html
index 9f365a060..0e1ee6ce9 100644
--- a/docs/en/html/README.html
+++ b/docs/en/html/README.html
@@ -23,13 +23,13 @@
A simple drawing program for children
- Copyright © 2002-2021 by various contributors; see AUTHORS.
+ Copyright © 2002-2022 by various contributors; see AUTHORS.
http://www.tuxpaint.org/
@TuxPaintTweets on Twitter
- November 25, 2021
+ January 20, 2022
+ Brush Spacing
+
+
+ The space between each position where a brush is applied to the canvas can vary. Some brushes (such as the footprints and flower) are spaced, by default, far enough apart that they don't overlap. Other brushes (such as the basic circular ones) are spaced closely, so they make a continuous stroke.
+
+ The default spacing of brushes may be overridden using by clicking within the triangular-shaped series of bars at the bottom right; the larger the bar, the wider the spacing. Brush spacing affects both tools that use the brushes: the "Paint" tool and the "Lines" tool.
+
+
+
+
+ (Note: If the "nobrushspacing" option is set, Tux Paint won't display the brush spacing controls. See the "Options" documentation.)
+
+
@@ -516,6 +533,9 @@
Some brushes are animated, and will show a pattern of shapes along the line. Others are directional, and will show a different shape depending on the angle of the brush. And finally some are both animated and directional. See "Paint", above, to learn more.
+
+
+ Different brushes have different spacing, leaving either a series of individual shapes, or a continuous stroke of the brush shape. Brush spacing may be adjusted. See "Paint", above, to learn more.
@@ -1151,6 +1171,14 @@
Note: The slowest setting does not automatically advance through the slides. Use it for when you want to step through them manually. (This does not apply to an exported animated GIF.)
+
+
+
+
diff --git a/docs/es_ES.UTF-8/README.txt b/docs/es_ES.UTF-8/README.txt
index 451fe1fad..d18d46b27 100644
--- a/docs/es_ES.UTF-8/README.txt
+++ b/docs/es_ES.UTF-8/README.txt
@@ -3,11 +3,11 @@
A simple drawing program for children
- Copyright © 2002-2021 by various contributors; see AUTHORS.
+ Copyright © 2002-2022 by various contributors; see AUTHORS.
http://www.tuxpaint.org/
@TuxPaintTweets on Twitter
- noviembre 25, 2021
+ enero 20, 2022
----------------------------------------------------------------------
@@ -239,6 +239,25 @@ Available Tools
As you draw, a sound is played. The bigger the brush, the
lower the pitch.
+ Brush Spacing
+
+ The space between each position where a brush is applied
+ to the canvas can vary. Some brushes (such as the
+ footprints and flower) are spaced, by default, far enough
+ apart that they don't overlap. Other brushes (such as the
+ basic circular ones) are spaced closely, so they make a
+ continuous stroke.
+
+ The default spacing of brushes may be overridden using by
+ clicking within the triangular-shaped series of bars at
+ the bottom right; the larger the bar, the wider the
+ spacing. Brush spacing affects both tools that use the
+ brushes: the "Paint" tool and the "Lines" tool.
+
+ (Note: If the "nobrushspacing" option is set, Tux Paint
+ won't display the brush spacing controls. See the
+ "Options" documentation.)
+
----------------------------------------------------------------------
"Stamp" Tool (Rubber Stamps)
@@ -305,6 +324,11 @@ Available Tools
finally some are both animated and directional. See "Paint",
above, to learn more.
+ Different brushes have different spacing, leaving either a
+ series of individual shapes, or a continuous stroke of the
+ brush shape. Brush spacing may be adjusted. See "Paint",
+ above, to learn more.
+
----------------------------------------------------------------------
"Shapes" Tool
diff --git a/docs/es_ES.UTF-8/html/README.html b/docs/es_ES.UTF-8/html/README.html
index 8194c205a..f80d2a121 100644
--- a/docs/es_ES.UTF-8/html/README.html
+++ b/docs/es_ES.UTF-8/html/README.html
@@ -23,13 +23,13 @@
A simple drawing program for children
- Copyright © 2002-2021 by various contributors; see AUTHORS.
+ Copyright © 2002-2022 by various contributors; see AUTHORS.
http://www.tuxpaint.org/
@TuxPaintTweets on Twitter
- noviembre 25, 2021
+ enero 20, 2022
+ Brush Spacing
+
+
+ The space between each position where a brush is applied to the canvas can vary. Some brushes (such as the footprints and flower) are spaced, by default, far enough apart that they don't overlap. Other brushes (such as the basic circular ones) are spaced closely, so they make a continuous stroke.
+
+ The default spacing of brushes may be overridden using by clicking within the triangular-shaped series of bars at the bottom right; the larger the bar, the wider the spacing. Brush spacing affects both tools that use the brushes: the "Paint" tool and the "Lines" tool.
+
+
+
+
+ (Note: If the "nobrushspacing" option is set, Tux Paint won't display the brush spacing controls. See the "Options" documentation.)
+
+
@@ -516,6 +533,9 @@
Some brushes are animated, and will show a pattern of shapes along the line. Others are directional, and will show a different shape depending on the angle of the brush. And finally some are both animated and directional. See "Paint", above, to learn more.
+
+
+ Different brushes have different spacing, leaving either a series of individual shapes, or a continuous stroke of the brush shape. Brush spacing may be adjusted. See "Paint", above, to learn more.
@@ -1151,6 +1171,14 @@
Note: The slowest setting does not automatically advance through the slides. Use it for when you want to step through them manually. (This does not apply to an exported animated GIF.)
+
+
+
+
diff --git a/docs/fr_FR.UTF-8/README.txt b/docs/fr_FR.UTF-8/README.txt
index 79017028c..c51ce8343 100644
--- a/docs/fr_FR.UTF-8/README.txt
+++ b/docs/fr_FR.UTF-8/README.txt
@@ -3,11 +3,11 @@
Un programme simple pour les enfants
- Copyright &copie; 2002-2021 par divers contributeurs; voir AUTHORS.
+ Copyright &copie; 2002-2022 par divers contributeurs; voir AUTHORS.
http://www.tuxpaint.org/
@TuxPaintTweets on Twitter
- novembre 25, 2021
+ janvier 20, 2022
----------------------------------------------------------------------
@@ -256,6 +256,25 @@ Outils disponibles
Pendant que vous dessinez, un son est joué. Plus la brosse
est grosse, plus le son est grave.
+ Espacement des pinceaux
+
+ The space between each position where a brush is applied
+ to the canvas can vary. Some brushes (such as the
+ footprints and flower) are spaced, by default, far enough
+ apart that they don't overlap. Other brushes (such as the
+ basic circular ones) are spaced closely, so they make a
+ continuous stroke.
+
+ The default spacing of brushes may be overridden using by
+ clicking within the triangular-shaped series of bars at
+ the bottom right; the larger the bar, the wider the
+ spacing. Brush spacing affects both tools that use the
+ brushes: the "Paint" tool and the "Lines" tool.
+
+ (Note: If the "nobrushspacing" option is set, Tux Paint
+ won't display the brush spacing controls. See the
+ "Options" documentation.)
+
----------------------------------------------------------------------
Outil "Tampon" (tampon de caoutchouc)
@@ -328,6 +347,11 @@ Outils disponibles
certains sont à la fois animés et directionnels. Voir
"Paint", au-dessus, pour en savoir plus.
+ Different brushes have different spacing, leaving either a
+ series of individual shapes, or a continuous stroke of the
+ brush shape. Brush spacing may be adjusted. See "Paint",
+ above, to learn more.
+
----------------------------------------------------------------------
Outil "Formes"
diff --git a/docs/fr_FR.UTF-8/html/README.html b/docs/fr_FR.UTF-8/html/README.html
index 21e2d5e31..5391c9856 100644
--- a/docs/fr_FR.UTF-8/html/README.html
+++ b/docs/fr_FR.UTF-8/html/README.html
@@ -23,13 +23,13 @@
Un programme simple pour les enfants
- Copyright &copie; 2002-2021 par divers contributeurs; voir AUTHORS.
+ Copyright &copie; 2002-2022 par divers contributeurs; voir AUTHORS.
http://www.tuxpaint.org/
@TuxPaintTweets on Twitter
- novembre 25, 2021
+ janvier 20, 2022
+ Espacement des pinceaux
+
+
+ The space between each position where a brush is applied to the canvas can vary. Some brushes (such as the footprints and flower) are spaced, by default, far enough apart that they don't overlap. Other brushes (such as the basic circular ones) are spaced closely, so they make a continuous stroke.
+
+ The default spacing of brushes may be overridden using by clicking within the triangular-shaped series of bars at the bottom right; the larger the bar, the wider the spacing. Brush spacing affects both tools that use the brushes: the "Paint" tool and the "Lines" tool.
+
+
+
+
+ (Note: If the "nobrushspacing" option is set, Tux Paint won't display the brush spacing controls. See the "Options" documentation.)
+
+
@@ -516,6 +533,9 @@
Certains pinceaux sont animés, et montre un ensemble formes le long d'une ligne. D'autres sont directionnels et montre des formes différentes suivant l'angle du pinceau. Et enfin certains sont à la fois animés et directionnels. Voir "Paint", au-dessus, pour en savoir plus.
+
+
+ Different brushes have different spacing, leaving either a series of individual shapes, or a continuous stroke of the brush shape. Brush spacing may be adjusted. See "Paint", above, to learn more.
@@ -1151,6 +1171,14 @@
Remarque : le paramètre le plus lent ne fait pas automatiquement avancer les diapositives. Utilisez-le lorsque vous souhaitez les parcourir manuellement. (Cela ne s'applique pas à un GIF animé exporté.)
+
+
+
+
diff --git a/docs/gl_ES.UTF-8/README.txt b/docs/gl_ES.UTF-8/README.txt
index 6340b2205..b85aad2bc 100644
--- a/docs/gl_ES.UTF-8/README.txt
+++ b/docs/gl_ES.UTF-8/README.txt
@@ -3,11 +3,11 @@
Un sinxelo programa de debuxo para cativos
- Copyright © 2002-2021 por varios colaboradores; vexa AUTHORS (AUTORES).
+ Copyright © 2002-2022 por varios colaboradores; vexa AUTHORS (AUTORES).
http://www.tuxpaint.org/
@TuxPaintTweets on Twitter
- 25 de Novembro de 2021
+ 20 de Xaneiro de 2022
----------------------------------------------------------------------
@@ -246,6 +246,25 @@ Ferramentas dispoñíbeis
Mentres debuxa, soa un son. Canto maior sexa o pincel, menor
será o ton.
+ Espazado do pincel
+
+ The space between each position where a brush is applied
+ to the canvas can vary. Some brushes (such as the
+ footprints and flower) are spaced, by default, far enough
+ apart that they don't overlap. Other brushes (such as the
+ basic circular ones) are spaced closely, so they make a
+ continuous stroke.
+
+ The default spacing of brushes may be overridden using by
+ clicking within the triangular-shaped series of bars at
+ the bottom right; the larger the bar, the wider the
+ spacing. Brush spacing affects both tools that use the
+ brushes: the "Paint" tool and the "Lines" tool.
+
+ (Note: If the "nobrushspacing" option is set, Tux Paint
+ won't display the brush spacing controls. See the
+ "Options" documentation.)
+
----------------------------------------------------------------------
Ferramenta «Selo» (selos de caucho)
@@ -314,6 +333,11 @@ Ferramentas dispoñíbeis
finally some are both animated and directional. See "Paint",
above, to learn more.
+ Different brushes have different spacing, leaving either a
+ series of individual shapes, or a continuous stroke of the
+ brush shape. Brush spacing may be adjusted. See "Paint",
+ above, to learn more.
+
----------------------------------------------------------------------
Ferramenta «Formas»
diff --git a/docs/gl_ES.UTF-8/html/README.html b/docs/gl_ES.UTF-8/html/README.html
index d2f6d6bfa..29cf06e79 100644
--- a/docs/gl_ES.UTF-8/html/README.html
+++ b/docs/gl_ES.UTF-8/html/README.html
@@ -23,13 +23,13 @@
Un sinxelo programa de debuxo para cativos
- Copyright © 2002-2021 por varios colaboradores; vexa AUTHORS (AUTORES).
+ Copyright © 2002-2022 por varios colaboradores; vexa AUTHORS (AUTORES).
http://www.tuxpaint.org/
@TuxPaintTweets on Twitter
- 25 de Novembro de 2021
+ 20 de Xaneiro de 2022
+ Espazado do pincel
+
+
+ The space between each position where a brush is applied to the canvas can vary. Some brushes (such as the footprints and flower) are spaced, by default, far enough apart that they don't overlap. Other brushes (such as the basic circular ones) are spaced closely, so they make a continuous stroke.
+
+ The default spacing of brushes may be overridden using by clicking within the triangular-shaped series of bars at the bottom right; the larger the bar, the wider the spacing. Brush spacing affects both tools that use the brushes: the "Paint" tool and the "Lines" tool.
+
+
+
+
+ (Note: If the "nobrushspacing" option is set, Tux Paint won't display the brush spacing controls. See the "Options" documentation.)
+
+
@@ -516,6 +533,9 @@
Some brushes are animated, and will show a pattern of shapes along the line. Others are directional, and will show a different shape depending on the angle of the brush. And finally some are both animated and directional. See "Paint", above, to learn more.
+
+
+ Different brushes have different spacing, leaving either a series of individual shapes, or a continuous stroke of the brush shape. Brush spacing may be adjusted. See "Paint", above, to learn more.
@@ -1151,6 +1171,14 @@
Nota: O axuste máis lento non avanza automaticamente entre as diapositivas. Úseo para cando queira percorrelas manualmente. (Isto non se aplica a un GIF animado exportado).
+
+
+
+
diff --git a/docs/html/images/tool_slider.png b/docs/html/images/tool_slider.png
new file mode 100644
index 0000000000000000000000000000000000000000..2cfd61ec2687998149d955a22dfecfc25c3b2a40
GIT binary patch
literal 12372
zcmeIYbyQSc8#a!#bV>;fVE_U%)WFc)NGXj>(F_PfgLFzaNFzu{OGuXp(hY)uN_VL=
z-{|wawSM0}?^?g_zjxM}nRE8O?(4qqYu|gHIcHCVww5v}5hD>678a?hih?fY+XC|j
z65?P!=lWu=u(0Tuz4Q&yx=?q3le43xjXe^8_H;r5kRCRcSXdsP3p0$InZ=wGZ>ov-
zZwXQjbkcui_BfNGQ|$lZeDjVsl%*e>i-lOct>}KeEnRs*ew}POxH|s!r?KRX^N1wb
z3*gNa(?00*l4Ys={Fti!X4f>bfgtL$$35@T<;mjo&FZJQ7cV0H{1(?MC5CURFV6k;
z>o2AUxs@vHU9XHLEAO@Ccq}0}%|74ND{DJ!2P$|!%i=F6qnr8s;;es$NK(PpNuEqR
z%BkCP$-qzp^zl3FdluPTDNaS>8Cg-MWdwH;V
z7AgC>w)&U}mU1Ai5oex9?fA&&W|`{qHG@pZx~|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#K})&Rgdnj!qMg0R{HEKTyY&nf7a6onRIhbH&6`Rn$_bkh2K
- Copyright © 2002-2021 by various contributors; "AUTHORS" 参照.
+ Copyright © 2002-2022 by various contributors; "AUTHORS" 参照.
http://www.tuxpaint.org/
@TuxPaintTweets on Twitter
- 2021年11月25日
+ 2022年1月20日
+ Brush Spacing
+
+
+ The space between each position where a brush is applied to the canvas can vary. Some brushes (such as the footprints and flower) are spaced, by default, far enough apart that they don't overlap. Other brushes (such as the basic circular ones) are spaced closely, so they make a continuous stroke.
+
+ The default spacing of brushes may be overridden using by clicking within the triangular-shaped series of bars at the bottom right; the larger the bar, the wider the spacing. Brush spacing affects both tools that use the brushes: the "Paint" tool and the "Lines" tool.
+
+
+
+
+ (Note: If the "nobrushspacing" option is set, Tux Paint won't display the brush spacing controls. See the "Options" documentation.)
+
+
@@ -516,6 +533,9 @@
アニメーション対応のブラシでは、線に沿って形が変化します。 指向性のブラシでは、線の角度に応じて異なる形状を表示します。 さらに、アニメーションと指向性の両方を備えたブラシもあります。 詳しくは、上記の「ふで」の項をご覧ください。
+
+
+ Different brushes have different spacing, leaving either a series of individual shapes, or a continuous stroke of the brush shape. Brush spacing may be adjusted. See "Paint", above, to learn more.
@@ -1151,6 +1171,14 @@
注: 最も遅いスピードに設定するとスライドの自動進行が無効になります。1枚ずつ手動でスライドを進めたい場合に、この設定を用いてください。(この動作はアニメーションGIFには適用されません)
+
+
+
+
From f0781201089b5c4152df88f2f423f881f75a8d81 Mon Sep 17 00:00:00 2001
From: Bill Kendrick
Date: Thu, 20 Jan 2022 00:36:40 -0800
Subject: [PATCH 21/21] Regen all docs after updating website URL
---
docs/en/ADVANCED-STAMPS-HOWTO.txt | 6 +++---
docs/en/ENVVARS.txt | 6 +++---
docs/en/EXTENDING.txt | 12 ++++++------
docs/en/FAQ.txt | 10 +++++-----
docs/en/INSTALL.txt | 6 +++---
docs/en/OPTIONS.txt | 8 ++++----
docs/en/PNG.txt | 6 +++---
docs/en/README.txt | 6 +++---
docs/en/SIGNALS.txt | 6 +++---
docs/en/SVG.txt | 6 +++---
docs/en/html/ADVANCED-STAMPS-HOWTO.html | 6 +++---
docs/en/html/ENVVARS.html | 6 +++---
docs/en/html/EXTENDING.html | 10 +++++-----
docs/en/html/FAQ.html | 10 +++++-----
docs/en/html/INSTALL.html | 6 +++---
docs/en/html/OPTIONS.html | 8 ++++----
docs/en/html/PNG.html | 6 +++---
docs/en/html/README.html | 6 +++---
docs/en/html/SIGNALS.html | 6 +++---
docs/en/html/SVG.html | 6 +++---
docs/es_ES.UTF-8/ADVANCED-STAMPS-HOWTO.txt | 6 +++---
docs/es_ES.UTF-8/ENVVARS.txt | 6 +++---
docs/es_ES.UTF-8/EXTENDING.txt | 12 ++++++------
docs/es_ES.UTF-8/FAQ.txt | 10 +++++-----
docs/es_ES.UTF-8/INSTALL.txt | 6 +++---
docs/es_ES.UTF-8/OPTIONS.txt | 8 ++++----
docs/es_ES.UTF-8/PNG.txt | 6 +++---
docs/es_ES.UTF-8/README.txt | 6 +++---
docs/es_ES.UTF-8/SIGNALS.txt | 6 +++---
docs/es_ES.UTF-8/SVG.txt | 6 +++---
docs/es_ES.UTF-8/html/ADVANCED-STAMPS-HOWTO.html | 6 +++---
docs/es_ES.UTF-8/html/ENVVARS.html | 6 +++---
docs/es_ES.UTF-8/html/EXTENDING.html | 10 +++++-----
docs/es_ES.UTF-8/html/FAQ.html | 10 +++++-----
docs/es_ES.UTF-8/html/INSTALL.html | 6 +++---
docs/es_ES.UTF-8/html/OPTIONS.html | 8 ++++----
docs/es_ES.UTF-8/html/PNG.html | 6 +++---
docs/es_ES.UTF-8/html/README.html | 6 +++---
docs/es_ES.UTF-8/html/SIGNALS.html | 6 +++---
docs/es_ES.UTF-8/html/SVG.html | 6 +++---
docs/fr_FR.UTF-8/ADVANCED-STAMPS-HOWTO.txt | 6 +++---
docs/fr_FR.UTF-8/ENVVARS.txt | 6 +++---
docs/fr_FR.UTF-8/EXTENDING.txt | 12 ++++++------
docs/fr_FR.UTF-8/FAQ.txt | 10 +++++-----
docs/fr_FR.UTF-8/INSTALL.txt | 6 +++---
docs/fr_FR.UTF-8/OPTIONS.txt | 12 ++++++------
docs/fr_FR.UTF-8/PNG.txt | 6 +++---
docs/fr_FR.UTF-8/README.txt | 6 +++---
docs/fr_FR.UTF-8/SIGNALS.txt | 6 +++---
docs/fr_FR.UTF-8/SVG.txt | 6 +++---
docs/fr_FR.UTF-8/html/ADVANCED-STAMPS-HOWTO.html | 6 +++---
docs/fr_FR.UTF-8/html/ENVVARS.html | 6 +++---
docs/fr_FR.UTF-8/html/EXTENDING.html | 10 +++++-----
docs/fr_FR.UTF-8/html/FAQ.html | 10 +++++-----
docs/fr_FR.UTF-8/html/INSTALL.html | 6 +++---
docs/fr_FR.UTF-8/html/OPTIONS.html | 8 ++++----
docs/fr_FR.UTF-8/html/PNG.html | 6 +++---
docs/fr_FR.UTF-8/html/README.html | 6 +++---
docs/fr_FR.UTF-8/html/SIGNALS.html | 6 +++---
docs/fr_FR.UTF-8/html/SVG.html | 6 +++---
docs/gl_ES.UTF-8/ADVANCED-STAMPS-HOWTO.txt | 6 +++---
docs/gl_ES.UTF-8/ENVVARS.txt | 6 +++---
docs/gl_ES.UTF-8/EXTENDING.txt | 12 ++++++------
docs/gl_ES.UTF-8/FAQ.txt | 10 +++++-----
docs/gl_ES.UTF-8/INSTALL.txt | 6 +++---
docs/gl_ES.UTF-8/OPTIONS.txt | 12 ++++++------
docs/gl_ES.UTF-8/PNG.txt | 6 +++---
docs/gl_ES.UTF-8/README.txt | 6 +++---
docs/gl_ES.UTF-8/SIGNALS.txt | 6 +++---
docs/gl_ES.UTF-8/SVG.txt | 6 +++---
docs/gl_ES.UTF-8/html/ADVANCED-STAMPS-HOWTO.html | 6 +++---
docs/gl_ES.UTF-8/html/ENVVARS.html | 6 +++---
docs/gl_ES.UTF-8/html/EXTENDING.html | 10 +++++-----
docs/gl_ES.UTF-8/html/FAQ.html | 10 +++++-----
docs/gl_ES.UTF-8/html/INSTALL.html | 6 +++---
docs/gl_ES.UTF-8/html/OPTIONS.html | 8 ++++----
docs/gl_ES.UTF-8/html/PNG.html | 6 +++---
docs/gl_ES.UTF-8/html/README.html | 6 +++---
docs/gl_ES.UTF-8/html/SIGNALS.html | 6 +++---
docs/gl_ES.UTF-8/html/SVG.html | 6 +++---
docs/ja_JP.UTF-8/ADVANCED-STAMPS-HOWTO.txt | 6 +++---
docs/ja_JP.UTF-8/ENVVARS.txt | 6 +++---
docs/ja_JP.UTF-8/EXTENDING.txt | 12 ++++++------
docs/ja_JP.UTF-8/FAQ.txt | 10 +++++-----
docs/ja_JP.UTF-8/INSTALL.txt | 6 +++---
docs/ja_JP.UTF-8/OPTIONS.txt | 11 ++++++-----
docs/ja_JP.UTF-8/PNG.txt | 6 +++---
docs/ja_JP.UTF-8/README.txt | 6 +++---
docs/ja_JP.UTF-8/SIGNALS.txt | 6 +++---
docs/ja_JP.UTF-8/SVG.txt | 6 +++---
docs/ja_JP.UTF-8/html/ADVANCED-STAMPS-HOWTO.html | 6 +++---
docs/ja_JP.UTF-8/html/ENVVARS.html | 6 +++---
docs/ja_JP.UTF-8/html/EXTENDING.html | 10 +++++-----
docs/ja_JP.UTF-8/html/FAQ.html | 10 +++++-----
docs/ja_JP.UTF-8/html/INSTALL.html | 6 +++---
docs/ja_JP.UTF-8/html/OPTIONS.html | 8 ++++----
docs/ja_JP.UTF-8/html/PNG.html | 6 +++---
docs/ja_JP.UTF-8/html/README.html | 6 +++---
docs/ja_JP.UTF-8/html/SIGNALS.html | 6 +++---
docs/ja_JP.UTF-8/html/SVG.html | 6 +++---
magic/docs/en/README.txt | 12 ++++++------
magic/docs/en/html/README.html | 12 +++++++-----
man/en/tuxpaint.1 | 6 +++---
man/es_ES.UTF-8/tuxpaint.1 | 6 +++---
man/fr_FR.UTF-8/tuxpaint.1 | 6 +++---
man/gl_ES.UTF-8/tuxpaint.1 | 6 +++---
man/ja_JP.UTF-8/tuxpaint.1 | 6 +++---
107 files changed, 389 insertions(+), 386 deletions(-)
diff --git a/docs/en/ADVANCED-STAMPS-HOWTO.txt b/docs/en/ADVANCED-STAMPS-HOWTO.txt
index 110a148c0..19365fab5 100644
--- a/docs/en/ADVANCED-STAMPS-HOWTO.txt
+++ b/docs/en/ADVANCED-STAMPS-HOWTO.txt
@@ -1,10 +1,10 @@
Tux Paint
version 0.9.28 Advanced Stamps 'How-To'
- Copyright © 2006-2021 by Albert Cahalan and others; see AUTHORS.
- http://www.tuxpaint.org/
+ Copyright © 2006-2022 by Albert Cahalan and others; see AUTHORS.
+ https://tuxpaint.org/
- August 29, 2021
+ January 20, 2022
----------------------------------------------------------------------
diff --git a/docs/en/ENVVARS.txt b/docs/en/ENVVARS.txt
index e8c42193f..1ce84385c 100644
--- a/docs/en/ENVVARS.txt
+++ b/docs/en/ENVVARS.txt
@@ -2,10 +2,10 @@
version 0.9.28
Environment Variables Documentation
- Copyright © 2021-2021 by various contributors; see AUTHORS.
- http://www.tuxpaint.org/
+ Copyright © 2021-2022 by various contributors; see AUTHORS.
+ https://tuxpaint.org/
- August 8, 2021
+ January 20, 2022
----------------------------------------------------------------------
diff --git a/docs/en/EXTENDING.txt b/docs/en/EXTENDING.txt
index 045e2f5f0..561b77a63 100644
--- a/docs/en/EXTENDING.txt
+++ b/docs/en/EXTENDING.txt
@@ -2,10 +2,10 @@
Tux Paint
version 0.9.28
- Copyright © 2002-2021 by various contributors; see AUTHORS.
- http://www.tuxpaint.org/
+ Copyright © 2002-2022 by various contributors; see AUTHORS.
+ https://tuxpaint.org/
- September 19, 2021
+ January 20, 2022
----------------------------------------------------------------------
@@ -679,15 +679,15 @@ Translations
template ("tuxpaint.pot"), since new text is added, and old text is
occasionally changed. The text catalog for the upcoming, unreleased
version of Tux Paint can be found in Tux Paint's Git repository (see:
- http://www.tuxpaint.org/download/source/git/), and on the Tux Paint
- website at http://www.tuxpaint.org/help/po/.
+ https://tuxpaint.org/download/source/git/), and on the Tux Paint website
+ at https://tuxpaint.org/help/po/.
To edit an existing translation, download the latest ".po" file for that
language, and edit it as described above.
You may send new or edited translation files to Bill Kendrick, lead
developer of Tux Paint, at: bill@newbreedsoftware.com, or post them to
- the "tuxpaint-i18n" mailing list (see: http://www.tuxpaint.org/lists/).
+ the "tuxpaint-i18n" mailing list (see: https://tuxpaint.org/lists/).
Alternatively, if you have an account with SourceForge.net, you can
request to be added to the "tuxpaint" project and receive write-access
diff --git a/docs/en/FAQ.txt b/docs/en/FAQ.txt
index 82ef3612b..71f9a90b6 100644
--- a/docs/en/FAQ.txt
+++ b/docs/en/FAQ.txt
@@ -1,10 +1,10 @@
Tux Paint
version 0.9.28 Frequently Asked Questions
- Copyright © 2002-2021 by various contributors; see AUTHORS.
- http://www.tuxpaint.org/
+ Copyright © 2002-2022 by various contributors; see AUTHORS.
+ https://tuxpaint.org/
- August 29, 2021
+ January 20, 2022
----------------------------------------------------------------------
@@ -170,7 +170,7 @@ Interface Problems
The appropriate fonts for such locales can be downloaded from
the Tux Paint website:
- http://www.tuxpaint.org/download/fonts/
+ https://tuxpaint.org/download/fonts/
----------------------------------------------------------------------
@@ -637,7 +637,7 @@ Help / Contact
Any questions you don't see answered? Please let us know! You can
subscribe and post to our "tuxpaint-users" mailing list:
- http://www.tuxpaint.org/lists/
+ https://tuxpaint.org/lists/
Or, contact lead developer Bill Kendrick directly:
diff --git a/docs/en/INSTALL.txt b/docs/en/INSTALL.txt
index 3240a3dc9..f790319cf 100644
--- a/docs/en/INSTALL.txt
+++ b/docs/en/INSTALL.txt
@@ -2,10 +2,10 @@
version 0.9.28
Installation Documentation
- Copyright © 2002-2021 by various contributors; see AUTHORS.
- http://www.tuxpaint.org/
+ Copyright © 2002-2022 by various contributors; see AUTHORS.
+ https://tuxpaint.org/
- September 17, 2021
+ January 20, 2022
----------------------------------------------------------------------
diff --git a/docs/en/OPTIONS.txt b/docs/en/OPTIONS.txt
index 5cd43b8d6..f179f87af 100644
--- a/docs/en/OPTIONS.txt
+++ b/docs/en/OPTIONS.txt
@@ -3,10 +3,10 @@
Options Documentation
- Copyright © 2002-2021 by various contributors; see AUTHORS.
- http://www.tuxpaint.org/
+ Copyright © 2002-2022 by various contributors; see AUTHORS.
+ https://tuxpaint.org/
- August 29, 2021
+ January 20, 2022
----------------------------------------------------------------------
@@ -1975,7 +1975,7 @@ Special Fonts
/usr/share/tuxpaint/fonts/locale/ko.ttf
You can download fonts for supported languages from Tux Paint's
- website, http://www.tuxpaint.org/. (Look in the 'Fonts' section under
+ website, https://tuxpaint.org/. (Look in the 'Fonts' section under
'Download.')
Under Unix and Linux, you can use the Makefile that comes with the
diff --git a/docs/en/PNG.txt b/docs/en/PNG.txt
index bfbaefe50..c1fdeb975 100644
--- a/docs/en/PNG.txt
+++ b/docs/en/PNG.txt
@@ -2,10 +2,10 @@
version 0.9.28
PNG Documentation
- Copyright © 2007-2021 by various contributors; see AUTHORS.
- http://www.tuxpaint.org/
+ Copyright © 2007-2022 by various contributors; see AUTHORS.
+ https://tuxpaint.org/
- March 9, 2021
+ January 20, 2022
----------------------------------------------------------------------
diff --git a/docs/en/README.txt b/docs/en/README.txt
index 719e23602..283ad8318 100644
--- a/docs/en/README.txt
+++ b/docs/en/README.txt
@@ -4,7 +4,7 @@
A simple drawing program for children
Copyright © 2002-2022 by various contributors; see AUTHORS.
- http://www.tuxpaint.org/
+ https://tuxpaint.org/
@TuxPaintTweets on Twitter
January 20, 2022
@@ -1048,7 +1048,7 @@ Importing Pictures Manually
* Contact the developers directly
To learn more, visit the "Contact" page of the official Tux Paint
- website: http://tuxpaint.org/contact/
+ website: https://tuxpaint.org/contact/
----------------------------------------------------------------------
@@ -1065,4 +1065,4 @@ Importing Pictures Manually
* Promote or help support others using Tux Paint
To learn more, visit the "Help Us" page of the official Tux Paint
- website: http://tuxpaint.org/help/
+ website: https://tuxpaint.org/help/
diff --git a/docs/en/SIGNALS.txt b/docs/en/SIGNALS.txt
index aeaf00926..27aba3e40 100644
--- a/docs/en/SIGNALS.txt
+++ b/docs/en/SIGNALS.txt
@@ -2,10 +2,10 @@
version 0.9.28
Signals Documentation
- Copyright © 2019-2021 by various contributors; see AUTHORS.
- http://www.tuxpaint.org/
+ Copyright © 2019-2022 by various contributors; see AUTHORS.
+ https://tuxpaint.org/
- March 9, 2021
+ January 20, 2022
----------------------------------------------------------------------
diff --git a/docs/en/SVG.txt b/docs/en/SVG.txt
index 5ea785423..0e13af5a8 100644
--- a/docs/en/SVG.txt
+++ b/docs/en/SVG.txt
@@ -2,10 +2,10 @@
version 0.9.28
SVG Documentation
- Copyright © 2007-2021 by various contributors; see AUTHORS.
- http://www.tuxpaint.org/
+ Copyright © 2007-2022 by various contributors; see AUTHORS.
+ https://tuxpaint.org/
- March 9, 2021
+ January 20, 2022
----------------------------------------------------------------------
diff --git a/docs/en/html/ADVANCED-STAMPS-HOWTO.html b/docs/en/html/ADVANCED-STAMPS-HOWTO.html
index 3ef9d8d1d..7419ab71e 100644
--- a/docs/en/html/ADVANCED-STAMPS-HOWTO.html
+++ b/docs/en/html/ADVANCED-STAMPS-HOWTO.html
@@ -20,12 +20,12 @@
version 0.9.28 Advanced Stamps 'How-To'
- Copyright © 2006-2021 by Albert Cahalan and others; see AUTHORS.
- http://www.tuxpaint.org/
+ Copyright © 2006-2022 by Albert Cahalan and others; see AUTHORS.
+ https://tuxpaint.org/
- August 29, 2021
+ January 20, 2022
- Copyright © 2021-2021 by various contributors; see AUTHORS.
- http://www.tuxpaint.org/
+ Copyright © 2021-2022 by various contributors; see AUTHORS.
+ https://tuxpaint.org/
- August 8, 2021
+ January 20, 2022
diff --git a/docs/en/html/EXTENDING.html b/docs/en/html/EXTENDING.html
index e2b714220..a38b35b9a 100644
--- a/docs/en/html/EXTENDING.html
+++ b/docs/en/html/EXTENDING.html
@@ -21,12 +21,12 @@
version 0.9.28
- Copyright © 2002-2021 by various contributors; see AUTHORS.
- http://www.tuxpaint.org/
+ Copyright © 2002-2022 by various contributors; see AUTHORS.
+ https://tuxpaint.org/
- September 19, 2021
+ January 20, 2022
- Note: It is best to always work off of the latest Tux Paint text catalog template ("tuxpaint.pot"), since new text is added, and old text is occasionally changed. The text catalog for the upcoming, unreleased version of Tux Paint can be found in Tux Paint's Git repository (see: http://www.tuxpaint.org/download/source/git/), and on the Tux Paint website at http://www.tuxpaint.org/help/po/.
+ Note: It is best to always work off of the latest Tux Paint text catalog template ("tuxpaint.pot"), since new text is added, and old text is occasionally changed. The text catalog for the upcoming, unreleased version of Tux Paint can be found in Tux Paint's Git repository (see: https://tuxpaint.org/download/source/git/), and on the Tux Paint website at https://tuxpaint.org/help/po/.
To edit an existing translation, download the latest ".po" file for that language, and edit it as described above.
- You may send new or edited translation files to Bill Kendrick, lead developer of Tux Paint, at: bill@newbreedsoftware.com, or post them to the "tuxpaint-i18n" mailing list (see: http://www.tuxpaint.org/lists/).
+ You may send new or edited translation files to Bill Kendrick, lead developer of Tux Paint, at: bill@newbreedsoftware.com, or post them to the "tuxpaint-i18n" mailing list (see: https://tuxpaint.org/lists/).
Alternatively, if you have an account with SourceForge.net, you can request to be added to the "tuxpaint" project and receive write-access to the Git source code repository so that you may commit your changes directly.
diff --git a/docs/en/html/FAQ.html b/docs/en/html/FAQ.html
index eaef6a4b7..88da139d6 100644
--- a/docs/en/html/FAQ.html
+++ b/docs/en/html/FAQ.html
@@ -20,12 +20,12 @@
version 0.9.28 Frequently Asked Questions
- Copyright © 2002-2021 by various contributors; see AUTHORS.
- http://www.tuxpaint.org/
+ Copyright © 2002-2022 by various contributors; see AUTHORS.
+ https://tuxpaint.org/
- August 29, 2021
+ January 20, 2022
http://www.tuxpaint.org/download/fonts/
+ "https://tuxpaint.org/download/fonts/">https://tuxpaint.org/download/fonts/
@@ -822,7 +822,7 @@
- http://www.tuxpaint.org/lists/
+ https://tuxpaint.org/lists/
diff --git a/docs/en/html/INSTALL.html b/docs/en/html/INSTALL.html
index 833498ae4..6f95bdfc8 100644
--- a/docs/en/html/INSTALL.html
+++ b/docs/en/html/INSTALL.html
@@ -21,12 +21,12 @@
Installation Documentation
- Copyright © 2002-2021 by various contributors; see AUTHORS.
- http://www.tuxpaint.org/
+ Copyright © 2002-2022 by various contributors; see AUTHORS.
+ https://tuxpaint.org/
- September 17, 2021
+ January 20, 2022
diff --git a/docs/en/html/OPTIONS.html b/docs/en/html/OPTIONS.html
index 029c8cb51..cb9bb0cfb 100644
--- a/docs/en/html/OPTIONS.html
+++ b/docs/en/html/OPTIONS.html
@@ -20,12 +20,12 @@
Options Documentation
- Copyright © 2002-2021 by various contributors; see AUTHORS.
- http://www.tuxpaint.org/
+ Copyright © 2002-2022 by various contributors; see AUTHORS.
+ https://tuxpaint.org/
- August 29, 2021
+ January 20, 2022
- You can download fonts for supported languages from Tux Paint's website, http://www.tuxpaint.org/. (Look in the 'Fonts' section under 'Download.')
+ You can download fonts for supported languages from Tux Paint's website, https://tuxpaint.org/. (Look in the 'Fonts' section under 'Download.')
Under Unix and Linux, you can use the Makefile that comes with the font to install the font in the appropriate location.
diff --git a/docs/en/html/PNG.html b/docs/en/html/PNG.html
index d5303ebc2..07283bee5 100644
--- a/docs/en/html/PNG.html
+++ b/docs/en/html/PNG.html
@@ -21,12 +21,12 @@
PNG Documentation
- Copyright © 2007-2021 by various contributors; see AUTHORS.
- http://www.tuxpaint.org/
+ Copyright © 2007-2022 by various contributors; see AUTHORS.
+ https://tuxpaint.org/
- March 9, 2021
+ January 20, 2022
diff --git a/docs/en/html/README.html b/docs/en/html/README.html
index 0e1ee6ce9..8c410cc99 100644
--- a/docs/en/html/README.html
+++ b/docs/en/html/README.html
@@ -24,7 +24,7 @@
Copyright © 2002-2022 by various contributors; see AUTHORS.
- http://www.tuxpaint.org/
+ https://tuxpaint.org/
@TuxPaintTweets on Twitter
@@ -1495,7 +1495,7 @@
- To learn more, visit the "Contact" page of the official Tux Paint website: http://tuxpaint.org/contact/
+ To learn more, visit the "Contact" page of the official Tux Paint website: https://tuxpaint.org/contact/
- To learn more, visit the "Help Us" page of the official Tux Paint website: http://tuxpaint.org/help/
+ To learn more, visit the "Help Us" page of the official Tux Paint website: https://tuxpaint.org/help/