Commit graph

4811 commits

Author SHA1 Message Date
Shinichi TOYAMA
ce0300766b Create metainfo directory beforehand 2023-07-08 20:49:21 +09:00
Shin-ichi TOYAMA
3c26c19709 Use PACKAGE_ONLY condition in .spec file 2023-07-08 19:04:18 +09:00
Bill Kendrick
038350e3da Sync README to grab Japanese updates
h/t Shin-ichi
2023-07-07 21:24:37 -07:00
Bill Kendrick
0cabea5edf Doc'ing Catalog l10n updates
h/t Pere
2023-07-07 16:08:34 -07:00
Pere Pujal i Carabantes
584ab8fb66 Updating Catalan, first step... 2023-07-08 01:03:58 +02:00
Bill Kendrick
1d17ee6b0d Sync Japanese doc updates (& credit Shin-ichi) 2023-07-05 14:12:03 -07:00
Jacques Chion
1417e79701 updating translation 2023-07-05 20:32:14 +02:00
Bill Kendrick
0c3b7b283f Updating changelog re: uifont
Shin-ichi has been instrumental in getting it to work right :D
2023-07-02 12:20:19 -07:00
dolphin6k
5081340f2e Trial to make listing locale fonts shipped with Tux Paint by --listfonts 2023-07-02 18:07:58 +09:00
dolphin6k
17a0a59a50 Trial to make ui font fallback enable when no config option specified. 2023-07-02 18:05:42 +09:00
dolphin6k
d271c5ba42 Default locale font for Japanese 2023-07-02 16:56:03 +09:00
Bill Kendrick
84fe9cb533 Sync docs for updated Calligraphy magic docs
(it supports sizes now)
2023-07-01 02:03:40 -07:00
Bill Kendrick
78c0305b23 Calligraphy offers sizes now
h/t abruh for the idea
2023-07-01 02:02:16 -07:00
Bill Kendrick
e98daa5a62 Fill -> Linear Gradient: Show angle while dragging
When using the Linear Gradient fill tool, the angle of the
gradient is now is shown (in the instructions at the bottom).

h/t Miyagi Andel for the idea
2023-07-01 01:21:10 -07:00
dolphin6k
89a164df3d Updated Japanese 2023-06-30 17:47:26 +09:00
Bill Kendrick
85718df7cf Update POT/PO to grab some appdata text changes
h/t Karl for pointing out that I had forgotten to run
update-po.sh after making changes, so the POT & POs were
out-of-date!
2023-06-30 00:00:47 -07:00
Bill Kendrick
323ba42f9d Add _POSIX_PRIORITY_SCHEDULING to fonts.c for Haiku
h/t Luc
2023-06-29 21:51:53 -07:00
Bill Kendrick
ab8b36d820 Dumb whitespace due to a new PHP comment 2023-06-29 17:50:14 -07:00
Bill Kendrick
9e4cf81f5c Translate 'size' more places in Icelandic example C 2023-06-29 17:48:44 -07:00
Bill Kendrick
81cf486d4d Resync docs to get is_IS tp_magic_example.c 2023-06-29 17:35:23 -07:00
Bill Kendrick
9ca2bcb8e5 Getting Icelandic docs translated for real this time 2023-06-29 16:34:00 -07:00
Pere Pujal i Carabantes
580572892f Typo? 2023-06-29 23:49:41 +02:00
Karl Ove Hufthammer
d4f91e8728 Update Norwegian Nynorsk translation 2023-06-29 21:05:39 +02:00
Pere Pujal i Carabantes
a303908aa9 Redirecting stdout to a more appropiate place for newer Androids. 2023-06-29 20:10:49 +02:00
Bill Kendrick
c7f83e4167 Initial commit of Icelandic translated docs
h/t Sveinn
2023-06-29 00:50:02 -07:00
Bill Kendrick
78e9461c7c Icelandic update
h/t Svienn
2023-06-29 00:08:31 -07:00
Bill Kendrick
4c71c00e0f Doc'ing French l10n update
h/t Jacques
2023-06-28 11:10:30 -07:00
Jacques Chion
fcb9d50895 updating translation 2023-06-28 10:58:05 +02:00
Bill Kendrick
d7be1e9edb More changes from 0.9.31 added to appdata file 2023-06-26 16:27:27 -07:00
Bill Kendrick
bae09c15bd install-pkgxdg; install icons in .../apps/
h/t Tim
2023-06-22 23:31:31 -07:00
Mark Kim
22fe08f77a fix grep warning in macOS build script
Newer version of grep throws a warning "grep: warning: stray \ before /"
during macOS app bundle build.  Fixed.
2023-06-22 22:32:33 -04:00
Bill Kendrick
342630cb9d family_info.filename is an array; index into it!
h/t Shin-ichi for reporting the warning

  warning: the comparison will always evaluate as 'true' for the address
  of 'filename' will never be NULL [-Waddress]
2023-06-21 22:52:32 -07:00
Bill Kendrick
fc2e7d1302 Another cast TTF_FontFaceFamilyName from ...
... const char * to char *

Trying to avoid warning Shin-ichi reported

warning: assignment discards 'const' qualifier from pointer target type
2023-06-21 22:48:51 -07:00
Bill Kendrick
d073d41eed Avoid a pair of double free()'s!
h/t Shin-ichi for reporting two of these

  warning: pointer 'unc_buff' used after 'free' [-Wuse-after-free]
2023-06-21 22:47:52 -07:00
Bill Kendrick
9199174dca Cast TTF_FontFaceFamilyName from const char * ...
...to char *

Trying to avoid warning Shin-ichi reported

  warning: assignment discards 'const' qualifier from pointer target type
2023-06-21 22:43:52 -07:00
Bill Kendrick
04d0116ae5 Mend magic .sizes treated as a bool, instead of array
h/t Shin-ichi for reporting seeing warnings about

  warning: the comparison will always evaluate as 'true' for the address of 'sizes' will never be NULL

Magic tool ".sizes" was recently turned into an array (per-mode of the
Magic tool), but a few references forgot to account for that.

Corrected like so

e.g., from
  if (magics[magic_group][cur_thing].sizes)
to
  if (magics[magic_group][cur_thing].sizes[magic_modeint(magics[magic_group][cur_thing].mode)])
2023-06-21 22:39:21 -07:00
Bill Kendrick
a094ec850d Use rsvg_handle_get_dimensions() again, sometimes
If RSVG is < 2.52.x, go back to using rsvg_handle_get_dimensions()
(which is deprecated these days) instead of the newer
rsvg_handle_get_intrinsic_size_in_pixels() that replaced it.
(Shin-ichi reports that function is not available on Rocky Linux 9.)

Note - I also recently replaced rsvg_handle_render_cairo() with
rsvg_handle_render_document(), but Shin-ichi didn't report problems
with that; it's been available since 2.46.

See https://sourceforge.net/p/tuxpaint/bugs/278/
2023-06-21 22:26:01 -07:00
Bill Kendrick
408414a9a1 Updated screenshot of special color buttons
Color mixer button background no longer solid black, and
color picker (HSV palette) uses normal button background, and now
has an icon.
2023-06-19 12:32:11 -07:00
Bill Kendrick
23976aa651 New style for color picker (HSV palette) button
Also mend a rendering issue with paint wells on the three
dynamic color buttons.
2023-06-19 12:28:48 -07:00
Bill Kendrick
d4869ac062 Mend color picker on label change; drop LOW_QUALITY_COLOR_SELECTOR
When selecting a label that has a color not found in the built-ins,
we change to the color picker; however, when rendering its button,
it looked wrong and would not fit to the right size (had 48x48
hard-coder in there, still!)  Instead, using `render_color_button()`
to just re-render it.

Also, dropping LOW_QUALITY_COLOR_SELECTOR which had been used by
some embedded platforms we don't seem to support any more (Nokia Maemo
and OLPC XO-1).
2023-06-19 12:05:17 -07:00
Bill Kendrick
20d45409ce Stop using rsvg_handle_render_cairo
It is deprecated.  Using rsvg_handle_render_document() instead.
2023-06-18 13:31:19 -07:00
Bill Kendrick
e59686f942 Stop using rsvg_handle_get_dimensions
It is deprecated.  Using rsvg_handle_get_intrinsic_size_in_pixels()
now instead.
2023-06-18 13:20:43 -07:00
dolphin6k
76a2c5f3fd Set executable flag to the fake inkscape 2023-06-18 13:21:32 +09:00
Bill Kendrick
8e9b33b22e Wrapper around convert to avoid Inkscape use
See comments in the script
2023-06-17 11:42:39 -07:00
Bill Kendrick
c7f1e0a257 Mend a minor compiler warning 2023-06-15 16:52:11 -07:00
Bill Kendrick
7febf719d0 Thumbnail Makefile targets quotes around paths
Wrap new $PATH stuff done (to get dummy 'inkscape' used,
for rsvgconvert purposes) in quotes to try and help with
build problems Shin-ichi had with the Windows version.
2023-06-13 22:18:08 -07:00
Bill Kendrick
38b9dc657f More info in fonts.c re: locale fonts (fallbacks) 2023-06-13 22:08:33 -07:00
Bill Kendrick
71120af4aa Rebuild zh_TW.ttf (Chinese Traditional) subset font
...that ships with Tux Paint.
2023-06-13 21:46:07 -07:00
Bill Kendrick
104c27086b Bump some file update dates! 2023-06-13 00:27:50 -07:00
Bill Kendrick
0437b898ca Allow primary & fallback locale fonts to be specified
e.g., for Chinese Traditional, try to use the full font (that
we supply as an optional download), then try the 'subset' font
that we ship with Tux Paint.
2023-06-13 00:25:49 -07:00