Commit 3c8a7db1 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Merge branch '1108-cannot-open-map-exported-as-gpml-in-pathvisio' into 'master'

Resolve "Cannot open map exported as GPML in PathVisio"

Closes #1108

See merge request minerva/core!1060
parents de7028c3 3b603722
......@@ -18,6 +18,8 @@ minerva (15.0.0~beta.0) stable; urgency=medium
dimension of the species for multimers bigger than 2 (#1091)
* Bug fix: drawing of structural state in SBGN-like style uses
RoundedRectangle insetad of Ellipse which was not SBGN-compliant (#1095)
* Bug fix: export to GPML provided invalid font size and pathviosio could not
open it (#1108)
-- Piotr Gawron <piotr.gawron@uni.lu> Tue, 28 Jan 2020 13:00:00 +0200
......
......@@ -301,7 +301,7 @@ public class ModelToGPML {
+ "Width=\"" + w + "\" "
+ "Height=\"" + h + "\" "
+ "ZOrder=\"" + ca.getZ() + "\" "
+ "FontSize=\"" + ca.getFontSize() + "\" "
+ "FontSize=\"" + ca.getFontSize().intValue() + "\" "
+ "Valign=\"Bottom\" "
+ "ShapeType=\"" + shape + "\" "
+ "LineThickness=\"3.0\" "
......@@ -438,7 +438,7 @@ public class ModelToGPML {
"Width=\"" + rec.getWidth() + "\" " +
"Height=\"" + rec.getHeight() + "\" " +
"ZOrder=\"" + species.getZ() + "\" " +
"FontSize=\"" + species.getFontSize() + "\" " +
"FontSize=\"" + species.getFontSize().intValue() + "\" " +
"Valign=\"Middle\" " +
"Color=\"" + colorToString(species.getFontColor()) + "\" " +
"FillColor=\"" + colorToString(species.getFillColor()) + "\"/>\n");
......@@ -467,7 +467,7 @@ public class ModelToGPML {
"Width=\"" + rec.getWidth() + "\" " +
"Height=\"" + rec.getHeight() + "\" " +
"ZOrder=\"" + ca.getZ() + "\" " +
"FontSize=\"" + ca.getFontSize() + "\" " +
"FontSize=\"" + ca.getFontSize().intValue() + "\" " +
"Valign=\"Middle\" " +
"Color=\"" + colorToString(ca.getFontColor()) + "\" " +
"FillColor=\"" + colorToString(ca.getFillColor()) + "\" " +
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment