Skip to content

Commit 84135a5

Browse files
committed
Fix -space [i]pf png plots
We now enforce antialiasing to get smooth images.
1 parent 3a4641a commit 84135a5

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

VERSIONS

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
New in 4.6.1-13 (11 Sep 2023):
1+
New in 4.6.1-14 (11 Sep 2023):
22
- module -T: fixed -domain cylinder and circle, fixed tesr reading, made minor
33
fixes.
44
- module -M: fixed -elset, fixed -statelset group -elt hex, fixed -statnode
55
col_stdtriangle, fixed -statelt part in 2D, added -faset for -format inp.
6-
- module -V: fixed -datacellcolscheme ipf for -crysym hexagonal.
6+
- module -V: fixed -datacellcolscheme ipf for -crysym hexagonal, fixed
7+
-space [i]pf png output.
78
- general: updated tests to pass on Ubuntu 22, made minor compilation fix.
89

910
New in 4.6.0 (06 Apr 2023):

doc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
import sphinx_rtd_theme
1212

1313
project = u'Neper'
14-
version = u'4.6.1-13'
15-
release = u'4.6.1-13'
14+
version = u'4.6.1-14'
15+
release = u'4.6.1-14'
1616
author = u'Romain Quey'
1717
copyright = u'Romain Quey'
1818
language = 'en'

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if(POLICY CMP0077)
77
cmake_policy(SET CMP0077 NEW)
88
endif()
99

10-
set(NEPER_VERSION \"4.6.1-13\")
10+
set(NEPER_VERSION \"4.6.1-14\")
1111
project(neper)
1212

1313
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8.1)

src/neut/neut_asy/neut_asy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ neut_asy_convert (char *asymptote, char *filename, int imagewidth, int imageheig
6464
!strcmp (formats[i], "png") ? pixels: "");
6565

6666
ut_file_openmessage (filename2, "w");
67-
sprintf (command, "%s -f %s -render %f %s -o %s", asymptote, formats[i],
67+
sprintf (command, "%s -f %s -antialias=4 -render %f %s -o %s", asymptote, formats[i],
6868
imageheight * .00492046785641154627, filename, filename2);
6969

7070
if (system (command) == -1)

tests/V/asymptote/ref.png

98.1 KB
Loading

0 commit comments

Comments
 (0)