Bug: a88/492
ID : | 492a7a96-2421-4fa7-98d2-d475c8db015c |
Short name : | a88/492 |
Status : | open |
Severity : | minor |
Assigned : | |
Reporter : | Pontus Lurcock <pont@talvi.net> |
Creator : | Pontus Lurcock <pont@talvi.net> |
Created : | Wed, 19 Nov 2014 09:34:22 +0000 |
Target : | 1.5 |
Summary : | Evaluate new libraries for graphics export |
Comment: |
--------- Comment --------- ID: a6d84a2a-a7c5-4c3b-b9e4-07683b2995b3 Short name: a88/492/a6d From: Pontus Lurcock <pont@talvi.net> Date: Thu, 22 Oct 2015 11:01:03 +0000 I've performed some tests with jfreesvg, vectorgraphics2d, and orsonpdf, as well as the three existing libraries. The biggest problem appears to be superscripts in attributed text objects. Only FreeHEP handles them correctly; other libraries either ignore them or render every attributed text object as a path. The evaluation suggests to me that I should keep FreeHEP and drop the other two existing libraries (which seem to have inferior performance). I should also add the EPS and EMF backends for FreeHEP export, since these formats might be more tractable than PDF and SVG for many users, and with the main FreeHEP library already included the extra backends are relatively lightweight. The most compelling feature of JFreeSVG is the ability to explicitly control grouping via hints. This would be very convenient for grouping the elements of each plot, and none of the other libraries can do it. Batik puts everything in one group, which isn't too inconvenient. Batik creates bizarre subgroups of seemingly unrelated elements, which necessitates full ungrouping before any useful editing can be done. Despite this, I still think the best choice is to standardize on FreeHEP for now: the correct attributed string handling and multiple backend support are heavily in its favour. |
Comment: |
--------- Comment --------- ID: 8c43f174-0ed0-45b2-9bf7-f7c3a87a179d Short name: a88/492/8c4 From: Pontus Lurcock <pont@talvi.net> Date: Tue, 04 Oct 2016 19:42:50 +0000 Last comment should have read: *FreeHEP* puts everything in one group (and Batik creates bizarre subgroups). Also, on latest test, Batik SVG export seems to produce an incorrect page size. Another note: FreeHEP SVG seems about three times the size of equivalent Batik SVG. Looking at source, this may be due to much larger (excessive?) number of decimal places used for positions in FreeHEP output. |
ID: b1c6c534-c4ea-4efd-9c99-ad101c85b1ba
Short name: a88/492/b1c
From: Pontus Lurcock <pont@talvi.net>
Date: Wed, 19 Nov 2014 10:01:17 +0000