From 21305fb6c98eeb751b2f8d4b84c774dd4af83820 Mon Sep 17 00:00:00 2001 From: Kathy Date: Wed, 19 Jan 2011 16:27:24 +0000 Subject: [PATCH] --- PROMS/Volian.Svg.Library/iTextSharp.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/PROMS/Volian.Svg.Library/iTextSharp.cs b/PROMS/Volian.Svg.Library/iTextSharp.cs index b35a66ed..5e8ca7e5 100644 --- a/PROMS/Volian.Svg.Library/iTextSharp.cs +++ b/PROMS/Volian.Svg.Library/iTextSharp.cs @@ -97,6 +97,7 @@ namespace Volian.Svg.Library _MyContentByte = cb; SvgMeasurement X = new SvgMeasurement(x-6, E_MeasurementUnits.PT); // Not sure why this is? seems to be a character too far to the right? SvgMeasurement Y = new SvgMeasurement(Height.GetSizeInPoints(72) - y, E_MeasurementUnits.PT); + if (!this.LookUp.ContainsKey(macroDef)) return; // AEP - DU1 (missing C22 macro for AEP) SvgGroup macro = this[macroDef] as SvgGroup; macro.SvgParts.Draw(cb, MyScale.AdjustOrigin(X, Y), this,this); }