Closed jclin closed 7 years ago
This is usually fixed in the mapping.xml file by adding a line like:
<map param="IDWriteFontFallback::MapCharacters::mappedLength" attribute="out" />
The mappedLength
must match exactly what is in the dwrite header file (sometimes the msdn doc might be off or not accurate).
Also, the parameter analysisSource
is a special interface (callback from c++ to C#), so you will have to handle it differently - it should be used elsewhere in the code so you can have a look at it)
👍, thanks!
I was going to write a public wrapper for
MapCharacters_
but noticed one paramter is incorrect. The method signature generated is:However,
mappedLength
should be an out parameter per the docs. Is there a way for me to fix this on my end without having to tamper with the C# code generation?