X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fext%2Farchaeopteryx%2FAptxInit.java;fp=src%2Fjalview%2Fext%2Farchaeopteryx%2FAptxInit.java;h=f06deb3f3eac34a15ce294b5c8fed9114d0f4b88;hb=346ea75d3b81118f3b724c732eff9b2fbc706f1e;hp=6bc8497a44d105db3d925f2e50097b88bf8ef432;hpb=2605483ebb517c8b31e821f192c95557145f9c2d;p=jalview.git diff --git a/src/jalview/ext/archaeopteryx/AptxInit.java b/src/jalview/ext/archaeopteryx/AptxInit.java index 6bc8497..f06deb3 100644 --- a/src/jalview/ext/archaeopteryx/AptxInit.java +++ b/src/jalview/ext/archaeopteryx/AptxInit.java @@ -50,12 +50,12 @@ public final class AptxInit public final static Configuration APTX_CONFIG = new Configuration( CONFIG_LOC, false, false); - // static - // { - // APTX_CONFIG.setBaseFontFamilyName( - // Desktop.instance.getFont().getFamily().replaceAll(" ", "_")); - // APTX_CONFIG.setBaseFontSize(Desktop.instance.getFont().getSize()); - // } + static + { + APTX_CONFIG.setBaseFontSize(Desktop.instance.getFont().getSize()); + APTX_CONFIG + .setBaseFontFamilyName(Desktop.instance.getFont().getFamily()); + } private final static boolean VALIDATE_PHYLOXML_XSD = APTX_CONFIG .isValidatePhyloXmlAgainstSchema(); @@ -82,6 +82,7 @@ public final class AptxInit Desktop.instance.startLoading(treeTitle); } + Phylogeny aptxPhylogeny = Phylogeny .createInstanceFromNhxString(nhxString); aptxPhylogeny.setName(treeTitle);