maui
maui copied to clipboard
.Net MAUI conversion of SVG text into PNG is incorrect.
Description
When an SVG graphic contains more complicated text elements the conversion into an PNG is not correct. The following is an example of and SVG
Steps to Reproduce
- Create a new .Net MAUI Android project using the standard "Hello World" template.
- Create a new SVG graphic that contains a complex text - for example a single text element with multiple colors.
- Include the SVG in the project as appropriate.
- Compile and execute the application.
- Note that the results are incorrect.
Sample project referenced in public repo.
Link to public reproduction project repository
https://github.com/vr4guid/MauiDefect-SVG-1
Version with bug
6.0.486 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 12.0, Android 13.0
Did you find any workaround?
At present the only known workaround is to create PNG graphics outside of the .Net MAUI toolchain - which is counter to a core objective of .Net MAUI.
Relevant log output
No response