Commit graph

3219 commits

Author SHA1 Message Date
Pere Pujal i Carabantes
db09aacf4b Elefant, fish-icon and frame_hearts SVGs touched the edges and got ugly strips at some Tux Paint's window sizes. Remade them in inkscape and put a margin of 3 units on each side. 2020-10-22 03:14:26 +02:00
dolphin6k
4b909ffee9 Updated for new setup translations and missing definition for localized COPYING 2020-10-21 23:28:49 +09:00
dolphin6k
ade754a24a COPYING-ja.txt was broken 2020-10-21 23:28:26 +09:00
dolphin6k
522e9ee5bb Edited for up-to-date translation fies and directory structure 2020-10-20 23:25:52 +09:00
dolphin6k
b7c312ed5e Re-enable scripted dll install (Sorry, pushed wrong file before) 2020-10-18 21:50:20 +09:00
dolphin6k
e260456270 Re-enabled scripted dll install 2020-10-18 21:22:52 +09:00
dolphin6k
68bd1f6861 Reverting hard conded dll install because ldd does not solve dependencies on 32bit environment. 2020-10-18 16:59:38 +09:00
Bill Kendrick
b936bbc4ba make install robust to missing thumbnails
Sometimes thumbnails of starters or templates fail to generate
(ImageMagick bug; see
https://sourceforge.net/p/tuxpaint/tuxpaint/ci/9781a4723cbe5bd4d6bd7b5048d830821dda23ef/)

Avoid failing "make install" step when they are missing.
2020-10-15 22:41:17 -07:00
Bill Kendrick
f024a95a96 Avoid bogusly trying to mkdir sysdir in savedir
While we weren't attempting to save thumbnail PNG files of the
starter and templates that are scanned in the system-wide Tux Paint
directory, we WERE trying to incorrectly `mkdir` such directories
within the user's personal directory.
(e.g., "/home/kendrick/.tuxpaint//usr/local/share/tuxpaint/templates")

Mended.
2020-10-15 22:33:03 -07:00
dolphin6k
2bde61ae46 No need to distinguish libgcc_s dll for 64/32bit. 2020-10-15 22:31:46 +09:00
Bill Kendrick
9781a4723c Ignore & clean up failed SVG thumbnails
When building Tux Paint, ImageMagick's `convert` might fail to generate
thumbnail PNGs for some Starter SVG images (e.g., "manatee.svg"),
with a "too many bezier coordinates" error.

This did not happen before, and does not happen with newer versions
of ImageMagick; there was a regression fixed in 2018:
https://github.com/ImageMagick/ImageMagick/issues/1069

However, it's occurring in Ubuntu 20.04 'focal' (I've got
version "6.9.10-23 Q16 x86_64 20190101").  Therefore, as a quick-fix,
simply ignoring errors from `convert`, and removing the (bogus)
PNG thumbmail image, and allowing the `make` process to proceed.

Tux Paint will simply open the SVG and generate a thumbnail to
display on the screen when the "New" dialog is brought up.
2020-10-14 23:44:14 -07:00
Bill Kendrick
d3212c6632 Doc'ing Shin-Ichi's Mingw64 and install-dlls.sh
Doc'ing Shin-Ichi TOYAMA's recent commits.
2020-10-14 23:27:57 -07:00
dolphin6k
18912ee8ea Find required dlls from .exe files. 2020-10-15 10:53:59 +09:00
dolphin6k
8d8405daab For new build environment including 64bit version. 2020-10-14 21:03:20 +09:00
Bill Kendrick
860f43ff97 Galician translation updates
From Miguel Bouzada.
2020-09-16 22:29:20 -07:00
Bill Kendrick
40033c7632 Shapes rotation improvement with centered too
Avoid shapes flipping upside-down during rotation step,
when stretching from right-to-left -- also when using the
original, center-based shape stretching mode.
2020-08-30 00:03:32 -07:00
Bill Kendrick
0376ed8543 Wrapped up EXTENDING re: on-screen keyboard
I did my best. :)
2020-08-29 23:54:33 -07:00
Bill Kendrick
763550bd6d Update Japanese README.txt based on HTML 2020-08-29 22:36:48 -07:00
dolphin6k
cb84051be3 Update Japanese translation for README.html including indantation for text conversion. 2020-08-30 13:08:40 +09:00
Bill Kendrick
69faf22bb4 WIP: EXTENDING: On-screen keyboard creation
Fleshing out what on-screen keyboard files are and do...
Work-in-progress.
2020-08-29 18:36:20 -07:00
Bill Kendrick
4bbb17f0c4 EXTENDING: Misc improvements; stub of OSK section
Stub of on-screen keyboard section.  More misc. improvements
to the doc (e.g., replace "+/- 180 degrees" with "±180°")
2020-08-29 17:20:49 -07:00
Bill Kendrick
3381f46f8f EXTENDING: link to Git, not CVS
Git is the new hotness.
2020-08-29 17:00:42 -07:00
Bill Kendrick
552c148817 EXTENDING docs clean-up; adding TOC
* Add linked table of contents
 * <cite> some terms
 * <code> some paths
 * Replace &nbsp; with CSS
 * Brushes no longer limited to max 40x40 pixels in size
 * Mac OS X is now macOS
 * Other misc improvements
2020-08-29 16:58:31 -07:00
Bill Kendrick
93f05af10d Ensure easy rotation of corner-stretched shapes
If corner-stretched shape is pulled to the left, make sure the
rotation step works properly.
2020-08-28 21:51:51 -07:00
Bill Kendrick
b88c8a9030 Refresh full canvas after drawing shape
Ensure that shape gets completely drawn and XOR outline gets
removed.
2020-08-28 21:27:04 -07:00
Bill Kendrick
8ef759a9a7 Keyboard max size didn't account for UI buttons
Keyboard's goal is to not be > 90% of the width of the drawing
canvas.  Was misinterpreting the incoming argument ('canvas'),
so have to account for the toolbar (left) and selector (right)
buttons in the UI.

So e.g., `tuxpaint --900x768 --onscreen-keyboard` will use the
small keyboard buttons, while `... --1024x768 ...` will use the large.
2020-08-25 22:09:02 -07:00
Bill Kendrick
61998e4d00 Larger OSK on larger windows; larger OSK font
On-screen keyboard (visible when the feature is enabled, while
using the "Text" and "Label" tools) now appears with larger
(48x48 pixel, vs 24x24 pixel) buttons, when Tux Paint's window
(or fullscreen) size is large enough to fit them with the
chosen layout.
(h/t Anat & Aviv, who suggested it to help with users of
eye-tracking systems)

Also, on-screen keyboard buttons use a slightly larger font
(16pt vs 12pt, previously seen on the small keyboard;
32pt on the large keyboard).
2020-08-25 22:00:43 -07:00
Bill Kendrick
1a21e1d56d README didn't mention Templates
It only mentioned Starters!
2020-08-25 19:55:54 -07:00
Bill Kendrick
6f0b71b5c3 Japanese README HTML->TXT & doc'ing Win32 chgs
Documenting some recent commits from Shin-Ichi.
2020-08-25 15:07:57 -07:00
dolphin6k
83da333f56 Updated ja/html/README.html for version 0.9.25 2020-08-21 22:18:33 +09:00
dolphin6
0d553af8e6 Corrected behaviour of win32 installer 2020-08-20 11:56:00 +09:00
dolphin6
fef97c4a9f Updated Japanese translation 2020-08-19 21:40:52 +09:00
Bill Kendrick
98b5be3e3b Doc'ing Pere's Catalan l10n update 2020-08-17 19:58:31 -07:00
Bill Kendrick
b60b2ff819 Doc'ing Shin-ichi's recent contribs
libimagequant < 2.8.0 support, and Japanese l10n update
2020-08-17 19:57:26 -07:00
Pere Pujal i Carabantes
726a6a8254 Updating catalan. 2020-08-17 22:46:55 +02:00
dolphin6k
921839cec4 Updated Japanese translation 2020-08-17 20:29:59 +09:00
dolphin6k
a2822142e6 Ooops! Mistook the logic for using result from liq_quantize_image() 2020-08-17 17:29:00 +09:00
dolphin6k
bfaca2c2cf Compile on libimagequant older than version 2.8.0 2020-08-17 17:20:05 +09:00
Bill Kendrick
d248c61498 Galician & Icelandic updates
After new corner vs center Shapes feature.
2020-08-16 13:54:52 -07:00
Bill Kendrick
0a853b280c "Eraser" tool now draws smoothly connected strokes 2020-08-16 12:31:53 -07:00
Bill Kendrick
a79a76f4c3 New, smaller sizes available in "Eraser" tool
(h/t Jackson Bray for the suggestion)

Also, slight improvements to how circular eraser size calculations
are handled, to allow for radius down to ERASER_MIN of 5.
2020-08-16 12:15:55 -07:00
dolphin6k
31fa1af9a5 Get export directory for Windows 2020-08-16 17:00:58 +09:00
Bill Kendrick
bbf795209d POT/PO update after shape-from-corner feature 2020-08-15 16:43:02 -07:00
Bill Kendrick
d2d9b98291 Wrapping up "shapes from corner" option
Works well, or at least well enough, for our current batch of
shapes.
2020-08-15 16:20:51 -07:00
Bill Kendrick
f734d21fa4 Shapes from corner getting closer
Circle & ellipse working well.  Square and rectangle not, yet.
2020-08-15 15:08:19 -07:00
Bill Kendrick
c89daa1b37 Starting work to sort out corner-based shapes
Need to sleep on it and figure out the math.
2020-08-15 01:25:00 -07:00
Bill Kendrick
1bf15f2d27 Rename shape_*_x/y variables
Variables for pointer positions while drawing a shape were
center-centric ("shape_ctr_x/y" and "shape_outer_x/y").
Renamed them to be more general.
2020-08-15 00:58:44 -07:00
Bill Kendrick
2159f8616b WIP: Shape controls -- center vs corner
Adding control buttons to the Shapes tool, allowing for shapes
to be drawn from the center (as before) or from a corner
(more like other paint packages).  The controls do nothing
at this time, but are visible and can be clicked.  This is a
work in progress.

The controls may be removed using a configuration option.
2020-08-15 00:55:31 -07:00
Bill Kendrick
d5b020520d Shoe print brush 2020-08-14 23:51:49 -07:00
Bill Kendrick
59b358ff2f Paw prints brush 2020-08-14 22:45:32 -07:00