ColorGlyphRun has missing marshalling code
Gillibald opened this issue · 0 comments
Gillibald commented
I am trying to use ColorGlyphRunEnumerator in our text rendering code to support color fonts but it looks like it has some missing bits.
Every time I try to get the current run I get an NullReferenceException at ColorGlyphRunEnumerator.get_CurrentRun(). So I checked the existing code for the normal GlyphRun and it seems it has some custom marshalling wheras ColorGlyphRun has none. I have a feeling thats the reason we get that exception.
Any help getting this to work is appreciated.