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

font size must be integer

parent b7d20ba3
Pipeline #20637 passed with stage
in 14 minutes and 52 seconds
......@@ -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()) + "\" " +
......
Supports Markdown
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