Commit graph

8 commits

Author SHA1 Message Date
Mark K. Kim
93c1ad5dc3 Fix crash when there are 0 font families.
Running Tux Paint under macOS in Korean mode (and some other languages) causes
it to crash, unless "load system fonts" option is also enabled. Some
investigation showed the issue occurs when num_font_families is 0 in fonts.c.
This change removes the assumption from the code that assumes num_font_families
has at least one record.
2018-06-26 01:28:43 -04:00
Mark K. Kim
21813ad860 macOS distribution package tweak.
Previously, the DMG's default window is slightly larger than the
background, exposing some whitespace. This fixes the window size to be
identical to the background image, so no whitespace is exposed.
2018-05-25 23:01:25 -04:00
Mark K. Kim
9a186cb2d8 Minor documentation corrections 2018-05-25 07:57:56 -04:00
Mark K. Kim
b80393c11b Proper DMG support on macOS.
Previously `make install` on macOS created TuxPaint.dmg, but it was a
simple disk image.

Now TuxPaint.dmg is formatted as one would expect from any other macOS app,
with a Tux folder icon, symlink to the /Applications folder, and a
background image with an arrow.
2018-05-25 00:24:46 -04:00
Mark K. Kim
2aa7f4d2ae macOS clean up and documentation update. Describe how to build macOS 10.13 High Sierra binary without the mouse cursor bug. Instruct git to ignore mac-specific build files, Makefile to clean up mac-specific build files. 2018-05-21 17:02:28 -04:00
Mark K. Kim
d18eaf839b Update build process for macOS. 2018-04-01 15:35:07 -04:00
Mark K. Kim
472bf79bb9 Trying again... 2017-11-27 01:02:41 -05:00
Mark K. Kim
ea7f013d0d Rework Mac port to be more Linux-like without needing to launch XCode. See
macos/README.txt for information.
2017-11-27 00:56:41 -05:00