Closed jclin closed 7 years ago
From what we discussed in https://github.com/sharpdx/SharpDX/issues/896.
There are DirectWrite structs, such as FontFallback1, that have ancestor structs, but the latter's fields were not written out for the former so we were seeing AccessViolationExceptions. https://github.com/sharpdx/SharpDX/commit/1ab7aa929e2e57c3b543f8b8d0ad790d5d3e607d should fix that.
AccessViolationException
https://github.com/sharpdx/SharpDX/commit/18cb55ae57df46adf84a1bf22548220f24493f96 provides a public wrapper for a method on DirectWrite's FontFallback.
FontFallback
Thanks a lot for this update and the work on the codegen to support struct inheritance!
From what we discussed in https://github.com/sharpdx/SharpDX/issues/896.
There are DirectWrite structs, such as FontFallback1, that have ancestor structs, but the latter's fields were not written out for the former so we were seeing
AccessViolationException
s. https://github.com/sharpdx/SharpDX/commit/1ab7aa929e2e57c3b543f8b8d0ad790d5d3e607d should fix that.https://github.com/sharpdx/SharpDX/commit/18cb55ae57df46adf84a1bf22548220f24493f96 provides a public wrapper for a method on DirectWrite's
FontFallback
.