Move main text test cases to the heavy set and introduce a simple test.

text-module
Torsten Paul 2013-11-19 00:29:39 +01:00 committed by Marius Kintel
parent dc16918beb
commit 1c2cb2dde9
6 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,2 @@
use <../../ttf/paratype-serif/PTF55F.ttf>
text(t = "T-X-U", font = "PT Serif:style=Regular", size = 40, $fn = 2);

View File

@ -379,6 +379,11 @@ set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/parser_yacc.c PROPERTIES
# CGAL
# Disable rounding math check to allow usage of Valgrind
# This is needed as Valgrind currently does not correctly
# handle rounding modes used by CGAL.
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DCGAL_DISABLE_ROUNDING_MATH_CHECK=ON")
if (NOT $ENV{CGALDIR} STREQUAL "")
set(CGAL_DIR "$ENV{CGALDIR}")
elseif (NOT $ENV{OPENSCAD_LIBRARIES} STREQUAL "")
@ -941,7 +946,18 @@ disable_tests(cgalpngtest_child-background
set_test_config(Heavy cgalpngtest_rotate_extrude-tests
cgalpngtest_sphere-tests
cgalpngtest_for-nested-tests
cgalpngtest_resize-tests)
cgalpngtest_resize-tests
cgalpngtest_intersection-tests
cgalpngtest_text-search-test
cgalpngtest_text-font-direction-tests
cgalpngtest_text-font-tests
cgalpngtest_text-font-alignment-tests
opencsgtest_text-font-direction-tests
opencsgtest_text-font-tests
opencsgtest_text-font-alignment-tests
throwntogethertest_text-font-direction-tests
throwntogethertest_text-font-tests
throwntogethertest_text-font-alignment-tests)
# Bugs

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@ -0,0 +1,3 @@
group() {
($fn = 2, text = 'T-X-U', size = 40, spacing = 1, font = 'PT Serif:style=Regular', direction = 'ltr', language = 'en', script = 'latin', halign = 'left', valign = 'baseline');
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB