Merge branch 'develop' into feature/JAL-3364splitFrameImage
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 29 Jul 2019 14:52:25 +0000 (15:52 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 29 Jul 2019 14:52:25 +0000 (15:52 +0100)
1  2 
src/jalview/gui/AlignmentPanel.java
src/jalview/gui/SeqCanvas.java

@@@ -1058,15 -1042,18 +1058,17 @@@ public class AlignmentPanel extends GAl
     * @param pageWidth
     * @param pageHeight
     * @param pageNumber
 -   *          (0, 1, ...)
 +   *                     (0, 1, ...)
     * @param g
 +   * @param clipToPage
     * 
     * @return
 -   * 
 -   * @throws PrinterException
     */
    public int printWrappedAlignment(int pageWidth, int pageHeight, int pageNumber,
 -          Graphics g) throws PrinterException
 +          Graphics g, boolean clipToPage)
    {
+     getSeqPanel().seqCanvas.calculateWrappedGeometry(getWidth(),
+             getHeight());
      int annotationHeight = 0;
      if (av.isShowAnnotation())
      {
Simple merge