Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.

Conversation

@lindexi
Copy link
Member

@lindexi lindexi commented Jul 6, 2022

When the _font is null that it will never set the value to the _font field.

It always return false when the _font is null:

_font != value && _font != null

This bug is a cause of #473 . We can not set any Font name to SkiaCanvas and the default Font do not support Chinese text.

When the `_font` is null that it will never set the value to the `_font` field.

It always return false when the `_font` is null:

```
_font != value && _font != null
```
@lindexi
Copy link
Member Author

lindexi commented Jul 22, 2022

Thank you. @jsuarezruiz

@mattleibow
Copy link
Member

@lindexi Thanks for this PR.

We just merged dotnet/maui#8739 and was wondering if you were interested in recreating this PR in the main maui repo? We are going to be moving the issues there soon as well, so you don't need to do that.

@lindexi
Copy link
Member Author

lindexi commented Jul 27, 2022

@mattleibow Thank you. And I will recreate it.

@lindexi
Copy link
Member Author

lindexi commented Aug 2, 2022

@mattleibow Thank you and I recreated this in dotnet/maui#9124

@lindexi lindexi closed this Aug 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants