setFont(new Font(fontName, style, Integer.parseInt(fontSize)), true);
AlignmentI al = getAlignment();
- al.setGapCharacter(Cache.getDefault("GAP_SYMBOL", "-").charAt(0));
+
+ if (Cache.getDefault("NORMALISE_GAPS", true))
+ {
+ al.setGapCharacter(Cache.getDefault("GAP_SYMBOL", "-").charAt(0));
+ }
// We must set conservation and consensus before setting colour,
// as Blosum and Clustal require this to be done