B2017-132 added a check for null reference. When processing PDF chunks during sup info printing we were trying to process a vlnmacro that was set to null
This commit is contained in:
parent
68cee53957
commit
e1e1bbb38a
@ -1964,6 +1964,7 @@ namespace Volian.Print.Library
|
||||
/// <param name="scaler">Multiplier</param>
|
||||
private void NewSupInfoFixParts(vlnPrintObject po, float scaler)
|
||||
{
|
||||
if (po.IParagraph == null) return; // B2017-132 check for NULL reference (happend printing Bryon SAMGS with sup info pages)
|
||||
// Adjust the font size by the multiplier
|
||||
foreach (Chunk chk in po.IParagraph.Chunks)
|
||||
chk.Font.Size = scaler * chk.Font.Size;
|
||||
|
Loading…
x
Reference in New Issue
Block a user