Skip to content
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

Can NOT DrawText ASCII and unicode togther #435

Closed
mailfcly opened this issue Jan 26, 2018 · 1 comment
Closed

Can NOT DrawText ASCII and unicode togther #435

mailfcly opened this issue Jan 26, 2018 · 1 comment

Comments

@mailfcly
Copy link

mailfcly commented Jan 26, 2018

test with xamarin forms, SkiaSharp.Views.Forms, android

                var fontManager = SKFontManager.Default;
                var emojiTypeface = fontManager.MatchCharacter('年');
                paint.Typeface = emojiTypeface;

                canvas.DrawText("123年 月456", 20, 80, paint);

result in Android:
image

@yinyue200
Copy link

yinyue200 commented Jan 27, 2018

I think

The real issue is that Skia does not support character fallbacks. If the typeface does not contain the character, it will print a block.

see #232

I think you should also fix your typos in your issue's title and content

@mailfcly mailfcly changed the title Can NOT DrawText asiic and unicode togther Can NOT DrawText ASCII and unicode togther Jan 27, 2018
@ghost ghost locked as resolved and limited conversation to collaborators Aug 19, 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

No branches or pull requests

2 participants