Commit Graph

4276 Commits (ba81166a2be1a61ce54c3ae631b8c6b8445e071e)

Author SHA1 Message Date
Oskar Linde ba81166a2b Add tests for issue #883 2014-07-22 11:11:23 +02:00
Marius Kintel 0852e707a6 Don't crash on infinite dimensions. Fixes #859 2014-07-17 17:59:42 -04:00
Marius Kintel 2790b4987f Merge branch 'master' of github.com:openscad/openscad 2014-07-17 17:36:14 -04:00
Marius Kintel f87ee92755 bugfix: don't crash on empty resize(). refactoring: added virtual copy() to geometry, moved resize() to CGAL_Nef_polyhedron. Fixes #862 2014-07-17 17:03:03 -04:00
Torsten Paul d4ef0823d3 Add Coverity Status badge. 2014-07-17 22:27:34 +02:00
Torsten Paul 2e63a3ac86 Skip unit test run after coverity scan. 2014-07-17 21:32:06 +02:00
Torsten Paul e84e6bb09c Activate scan.coverity.com integration. 2014-07-17 20:34:22 +02:00
Marius Kintel aadb85d86e Less verbose irc output from travis 2014-07-17 11:37:12 -04:00
Marius Kintel c7aa75c558 Merge pull request #856 from openscad/fix-viewport-scoping
Fix viewport variable scoping
2014-07-17 11:14:01 -04:00
Marius Kintel bfc182c290 Merge pull request #876 from openscad/issue875-testcase
Test case for UTF-8 include / use (issue #875).
2014-07-17 11:12:44 -04:00
Torsten Paul 37686582d9 Test case for UTF-8 include / use (issue #875). 2014-07-17 00:54:12 +02:00
Torsten Paul 247479ca67 Merge pull request #871 from openscad/text-fixes-3
Text fixes (part 3)
2014-07-12 23:01:24 +02:00
Torsten Paul f47edd1bfe Accept Macintosh/Roman charmap and always dump charmaps (as debug output). 2014-07-12 21:36:56 +02:00
Torsten Paul ca51057485 Read font index from fontconfig and check result from FcPatternGet(). 2014-07-12 21:36:56 +02:00
Torsten Paul d0ba2903b3 Enable text for most test cases and update reference images. 2014-07-12 21:36:56 +02:00
Torsten Paul 2b37c39861 Add filter for font table. 2014-07-12 21:36:56 +02:00
Torsten Paul f01afd7252 Add paste button to font list dialog. 2014-07-12 21:36:56 +02:00
Torsten Paul d86e9d43ee Fix text() CSG output and cleanup test cases.
- enable text feature in import-export test cases
- drop ParaType font as Liberation is needed for the composition regression
  test, so use this for other tests too
- drop Amiri bold font, which is not adding anything to coverage
2014-07-12 21:36:50 +02:00
Torsten Paul 7847fd0dad Update camera settings for camortho test and update reference image. 2014-07-08 00:55:01 +02:00
Torsten Paul 6cb5e9218f Setup camera distance for both perspective and orthogonal mode. 2014-07-08 00:55:01 +02:00
Torsten Paul 3709fc30b2 Match gimbal camera orientation with values shown in GUI. 2014-07-08 00:55:01 +02:00
Torsten Paul ae1adbe785 Fix scoping issues when evaluating $vpt, $vpr, $vpd. 2014-07-08 00:55:01 +02:00
Torsten Paul d8c325846d Enable IRC notification for travis builds. 2014-07-08 00:46:59 +02:00
Torsten Paul 444ae5d705 Fix FreeType include handling. 2014-07-08 00:44:16 +02:00
Marius Kintel 8a2734da40 Merge pull request #868 from openscad/text-fixes2
Text fixes (part 2)
2014-07-08 00:30:12 +02:00
Torsten Paul e8fac2ef97 Add example files for text() usage.
The test case images are currently not including the text as the example
test run does not include experimental features. This will need to be
updated once the text() feature is not experimental anymore.
2014-07-07 23:28:03 +02:00
Torsten Paul 0a5acbde25 Add test cases for composition and symbol font handling. 2014-07-07 23:28:03 +02:00
Torsten Paul d413e4695b Use special handling for Windows/Symbol charmap only with charcodes >= 0xf000.
Some fonts with symbol encoding still have the charcodes in the ASCII
area instead of Unicode page 0xf000. To make those work too, the special
handling is only enabled in case the first charcode is >= 0xf000.
2014-07-07 23:28:03 +02:00
Torsten Paul f29d10a49f Select charmap when loading fonts and add workaround for windows symbol fonts. 2014-07-07 23:28:03 +02:00
Marius Kintel c47ba7c8ba Merge pull request #865 from openscad/feature/cam_center
Camera handling: Double click on a point of an object to set the camera center
2014-07-07 23:12:38 +02:00
Marius Kintel b9f20780a8 Merge pull request #866 from openscad/text-fixes
Text fixes
2014-07-06 19:43:33 +02:00
Torsten Paul 90ef6c95a3 Fix render issue with combining chars intersecting with the base char.
Example: text("A\u030A", font = "Arial");

The fix relies on the winding order of the polygons reported by FreeType
to be correct, so the Clipper union operation keeps that information.
2014-07-06 18:41:41 +02:00
Oskar Linde b257891391 Camera handling: Double click on a point of an object to set the camera center 2014-07-06 07:40:46 +02:00
Torsten Paul ea21e0fbd5 Show font path in Library Info window. 2014-07-06 04:28:16 +02:00
Torsten Paul f820727fe8 Remove unused path lookup and move OPENSCAD_FONT_PATH to fontconfig. 2014-07-06 03:57:25 +02:00
Torsten Paul 29b22c49fe Add /Library/Fonts for MacOS. 2014-07-06 03:37:54 +02:00
Torsten Paul ffeae16728 Set default font and add loading of additional fontconfig config file. 2014-07-06 03:24:46 +02:00
Torsten Paul cac3de5461 Use const for std::string arguments. 2014-07-05 23:54:19 +02:00
Marius Kintel 57c52e9351 Merge pull request #864 from openscad/bugfix/cmd_save
Bugfix: Cmd-S on an unmodified document inserted an 's'
2014-07-05 22:45:26 +02:00
Oskar Linde f9ac5053a1 Bugfix: Cmd-S on an unmodified document inserted an 's' 2014-07-05 22:13:51 +02:00
Marius Kintel 9fdc44b00f Merge branch 'master' of github.com:openscad/openscad 2014-06-26 19:42:20 -04:00
Torsten Paul bc17acf8fe Fix handling of multi-line comments.
If not eaten by the lexer, the comment content will be dumped to stdout
as default action.
2014-06-26 23:05:05 +02:00
Marius Kintel 328fbb9000 Allow slices to be specified independently of twist. Fixes #850 2014-06-26 16:43:12 -04:00
Marius Kintel 4bed4902e9 Bugfix: Zoom was broken for orthographic cameras. Fixes #853 2014-06-26 15:34:15 -04:00
Marius Kintel 7e5ad73c66 Removed unused code 2014-06-26 15:33:40 -04:00
Marius Kintel 0a566b3d83 Removed unused code 2014-06-26 15:33:22 -04:00
Marius Kintel 1085d3507a Set fixed point to 2^16 2014-06-26 15:32:52 -04:00
Marius Kintel f108798c00 Output debug info only in debug mode 2014-06-26 15:31:22 -04:00
Marius Kintel 705b913c18 Use transparency from color name. Fixes #852 2014-06-26 11:36:02 -04:00
Marius Kintel 8733b875f2 Output debug info only in debug mode 2014-06-25 23:54:10 -04:00