Torsten Paul
b0fce56fad
Select charmap when loading fonts and add workaround for windows symbol fonts.
2014-07-06 22:19:53 +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
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
Marius Kintel
446c569703
Forgot some files for the #837 testcase
2014-06-25 23:37:18 -04:00
Marius Kintel
d9fda460cc
Popped path_stack once too many. Should fix #837
2014-06-24 19:23:06 -04:00
Marius Kintel
c8b4d82d96
Added testcase for #837
2014-06-24 19:22:33 -04:00
Marius Kintel
b81ab0530d
Output debug info only in debug mode
2014-06-24 19:22:15 -04:00
Marius Kintel
ccb9495354
Merge branch 'master' into text-escape-sequences
...
Conflicts:
tests/CMakeLists.txt
2014-06-24 18:32:14 -04:00
Torsten Paul
544de72c80
Add test cases for the escape sequences.
2014-06-24 20:09:04 +02:00
Torsten Paul
581928a8fd
Fix no-break space handling.
2014-06-24 19:17:50 +02:00
Marius Kintel
bbdfe9b706
Make concat() a primary feature (not experimental)
2014-06-23 22:42:11 -04:00
Torsten Paul
d46b8a8465
Handle UTF-8 multi-byte characters in the lexer.
2014-06-23 23:21:16 +02:00
Torsten Paul
1a2fcc0559
Add support for \x \u and \U escape sequences.
...
For all escape sequences the 0 byte is illegal and converted to a space.
\x supports only the range from 0x01 to 0x7F as the values greater or
equal to 0x80 could produce illegal UTF-8 sequences.
\u allows to specify unicode codepoints with exactly 4 hex digits.
\U allows to specify unicode codepoints with exactly 6 hex digits.
2014-06-23 23:21:16 +02:00
Torsten Paul
62aebbbb37
Add encoding of \r.
2014-06-23 23:21:16 +02:00
Torsten Paul
86e87e45f9
Use toString() when generating echo() messages ( fixes #838 ).
...
When using the Value << operator, strings are encoded (e.g. a newline
character is encoded as \n), but echo() should output the text as given.
2014-06-23 23:21:16 +02:00
Oskar Linde
681f03a2a7
Resolve #835
2014-06-23 10:15:39 +02:00
Oskar Linde
38c7a24240
Add test case for issue 835
2014-06-23 10:15:39 +02:00
Marius Kintel
0dd3ac272b
Handle cwd as outputdir
2014-06-21 19:05:50 -04:00
Marius Kintel
d066648390
Added View->View All menu entry
2014-06-21 16:12:55 -04:00
Marius Kintel
4097aa887d
Merge pull request #841 from openscad/viewport-variables
...
Add $vpd and make the viewport variables writeable
2014-06-21 15:35:56 -04:00
Marius Kintel
1ed3e4c4ad
#840 bugfix: Set the up vector to Y axis in the case where we're looking down the Z axis
2014-06-21 14:53:31 -04:00
Marius Kintel
01e70046fb
#810 removed unused code
2014-06-21 14:33:11 -04:00
Marius Kintel
de3dc8461c
#840 bugfix: Small axes had wrong rotation, adjusted size of the big axes after changing FOV to 45 degrees
2014-06-21 14:14:06 -04:00
Marius Kintel
49ff368c78
#840 Adjust default camera distance after changing FOV to 45 degrees
2014-06-21 14:12:52 -04:00
Marius Kintel
e097508472
Link with the correct C++ library on Mac. Added a fix for allowing folder names with regex special characters
2014-06-21 13:34:41 -04:00
Marius Kintel
81d92f2254
Some cleanup of old eigen2 workarounds. Added fix to support cameras looking down the Z axis
2014-06-21 12:44:38 -04:00
Marius Kintel
96d17bd6e2
Updated Clipper to 6.1.3a
2014-06-21 12:43:19 -04:00
Torsten Paul
b88564b9b2
Allow setting $vpt/$vpr/$vpd at top-level to set the viewport camera.
2014-06-21 18:29:51 +02:00
Torsten Paul
fafcf1dbfa
Add variable $vpd containing the viewport camera distance ( Fixes #839 ).
2014-06-21 18:29:49 +02:00
Marius Kintel
458d60faa6
Refactored the camera handling a bit, added --viewall cmd-line parameter
2014-06-19 17:47:38 -04:00
Marius Kintel
c6e21a6027
Report boost version, don't add BOOST_FILESYSTEM_VERION for recent boost versions
2014-06-19 17:43:35 -04:00
Marius Kintel
48e1d6a5a9
Allow other files than .scad as input
2014-06-16 21:13:18 -04:00
Marius Kintel
4ef994ac3e
Pass full path to python script
2014-06-16 15:56:36 -04:00