sharpdx / SharpDX

SharpDX GitHub Repository
http://sharpdx.org
MIT License
1.7k stars 638 forks source link

DirectWrite enhancements #898

Closed jclin closed 7 years ago

jclin commented 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.

https://github.com/sharpdx/SharpDX/commit/18cb55ae57df46adf84a1bf22548220f24493f96 provides a public wrapper for a method on DirectWrite's FontFallback.

xoofx commented 7 years ago

Thanks a lot for this update and the work on the codegen to support struct inheritance!