• Gertjan van Heertum's avatar
    Fixed problems when running in multiple threads. The use of a static matrix... · 3838e721
    Gertjan van Heertum authored
    Fixed problems when running in multiple threads. The use of a static matrix and the use of StringFormat.GenericTypographic seemed to cause problems when used in multi-threading. This is resolved by making the matrix non static and use a copy of the StringFormat.
    
    Also created a new exception for memory overflows. When using multithreading to render a large amount of big images the bitmap creation can fail (due to memory allocation) throwing an error. This is now caught and a specific exception is thrown.
    3838e721