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))
+ {
- alignment.setGapCharacter(Cache.getDefault("GAP_SYMBOL", "-").charAt(
- 0));
++ 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
- if (hconsensus == null && !isDataset)
+ if (consensusProfiles == null && !isDataset)
{
- if (!alignment.isNucleotide())
+ if (!al.isNucleotide())
{
showConservation = Cache.getDefault("SHOW_CONSERVATION", true);
showQuality = Cache.getDefault("SHOW_QUALITY", true);