With DualDialogue the lines were ignored by the overall line count in the PDF compiler. I believe this came from an oversight where the number of left and right lines that were written in DualDialogue were not being kept track of. I have attempted to remedy this with a simple +1 to the appropriate left or right line counts whenever a line is added with styleLine.
Benefits
The bottom margin on pages with DualDialogue should now maintain their proper 1-inch margin.
Possible drawbacks
I am not sure if line.leading() should also be added to this account, I have not studied the code base enough to know what that variable does.
Description of the change
With DualDialogue the lines were ignored by the overall line count in the PDF compiler. I believe this came from an oversight where the number of left and right lines that were written in DualDialogue were not being kept track of. I have attempted to remedy this with a simple +1 to the appropriate left or right line counts whenever a line is added with styleLine.
Benefits
The bottom margin on pages with DualDialogue should now maintain their proper 1-inch margin.
Possible drawbacks
I am not sure if line.leading() should also be added to this account, I have not studied the code base enough to know what that variable does.
Applicable issues