Open Obbay2 opened 6 years ago
We might be able to do this by using explicit glyph drawing: https://docs.microsoft.com/en-us/dotnet/api/system.windows.media.drawingcontext.drawglyphrun?view=netframework-4.7.2 since it doesn't require a String object so there isn't as much memory overhead.
Using DrawingVisual: https://docs.microsoft.com/en-us/dotnet/framework/wpf/graphics-multimedia/using-drawingvisual-objects
GlyphRun: https://docs.microsoft.com/en-us/dotnet/api/system.windows.media.glyphrun?view=netframework-4.7.2
Title