simply calling the following code:
var doc = new Document("test.one");
produces the following exception on ubuntu linux.
I have followed the recommendation in this post and installed mono, libgdi and libc6 but the exception still occurs.
For your reference, here are the commands I am running in the container prior to trying the code:
                      # install fontconfig
                      - apt-get update; apt-get install -y fontconfig
                      # install mono
                      - apt install -y ca-certificates gnupg
                      - gpg --homedir /tmp --no-default-keyring --keyring /usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
                      - echo "deb [signed-by=/usr/share/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/ubuntu stable-focal main" | tee /etc/apt/sources.list.d/mono-official-stable.list
                      - apt update
                      - apt install -y mono-complete
                      # install libgdiplus & libc6
                      - apt-get install -y libgdiplus
                      - pushd /usr/lib && ln -s libgdiplus.so gdiplus.dll && popd
                      - apt-get install -y --no-install-recommends libc6-dev
and here is the exception:
System.PlatformNotSupportedException: System.Drawing.Common is not supported on this platform.
   at System.Drawing.SystemFonts.get_DefaultFont()
   at .()
   at .()
   at .( ,  , e& )
   at .()
   at .()
   at .( ,  ,  )
   at .( , & ,  , [] )
   at .(Queue`1 ,  , UInt32 , [] )
   at .()
   at .()
   at .( ,  ,  )
   at .( , & ,  , [] )
   at .(Queue`1 ,  , UInt32 , [] )
   at .()
   at .()
   at .( ,  ,  )
   at .( , & ,  , [] )
   at .(Queue`1 ,  , UInt32 , [] )
   at .()
   at .()
   at .( ,  ,  )
   at .[T](IEnumerable`1 , T& ,  )
   at .[T]( , T& ,  )
   at .( )
   at .(e ,  )
   at .()
   at .( , Boolean )
   at .(Stream , String , Boolean )
   at .(Stream , Document , LoadOptions )
   at Aspose.Note.Document.(Stream , LoadOptions )
   at Aspose.Note.Document.(String , LoadOptions )
   at Aspose.Note.Document..ctor(String filePath, LoadOptions loadOptions)
   at Aspose.Note.Document..ctor(String filePath)