-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SVG Font-family does not apply after convert to png(Splash screen) #16399
Comments
@denhaandrei did this work in 6.0 ? |
Hi @denhaandrei. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
Previously not tested. Miss question "Last version that worked well" After the test, it does not work at 6.0 too. |
This is not directly maui issue. namely managed libraries used by Workaround would be to convert SVG to PNG using reliable converters.
Online ConvertersI work on collecting reported issues in MAUI repo, so I can open issues on GitHub in relevant repositories. |
Hello, @moljac I understand that the issue is not dotnet/maui, but MAUI uses some packages to convert .svg automatically. Unfortunately, we can`t use the converter on the splash screen, because the application can have different resolutions on different devices. So we continue to use .svg without font applying. Please note, only "Chrome browser - screenshot MacOSX"(windows the same) is expected. Thanks, |
I understand you completely. There are expectations which are not fulfilled. My suggestion is: please open issue in Svg.Net repo too (with svg that has issue and expected png output).
You re welcome. This is the reason we are here.
I understand. This must be fixed. Only the problem is where and how fast. Rewriting everything could cause more issues.
Thanks for the info. It was quite confusing when I saw several online converters having issues (similar incorrect output) |
Issue created in Svg.Net repo Closing this issue. |
Description
Font 'Poppins' after conversion does not apply to the result PNG files: obj\Debug\net7.0-android\resizetizer\r\drawable (any folders)
I'm using the following SVG file:
Steps to Reproduce
to
Please note
font-family: 'PoppinsBoldBase64';
src: url('data:font/truetype;base64,AAEAA...... and font-family="PoppinsBoldBase64"
Link to public reproduction project repository
https://github.com/denhaandrei/BadSvgConverter.App
Version with bug
7.0.49
Last version that worked well
NOT work
Affected platforms
iOS, Android
Affected platform versions
I think all Android/IOS, because issue with convert svg
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: