Closed ascott18 closed 1 year ago
@ascott18: Could you please replace all occurences of Debug.Assert in your code with throwing an exception ? Debug.Assert is not good - it causes the entire application to exit, which is particularly bad in a web-application.
@ststeiger Done,
@ascott18: Sorry for the delay. Merged.
This omission seems accidental (it was entirely wrapped in an
#if gdi
in the original version, but only two lines of it were GDI-only).The absence of an implementation here was breaking #243. Taken directly from the upstream implementation https://github.com/empira/PDFsharp/blob/3205bd933b464d150c0f42e8bcdff3314b6c6164/src/PdfSharp/Drawing/XForm.cs#L231-L262.