-
Notifications
You must be signed in to change notification settings - Fork 40
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
Selecting a range of specific emoji and dragging them raises an exception #51
Comments
Due to how the RTB internals perform the operation, all emoji inlines were converted to space characters. The workaround is a bit experimental, but it seems to work. As a side effect, this may also address issue #51.
Hello! Unfortunately, I have been unable to reproduce the issue so far. Could you maybe answer a few questions?
Thanks in advance! |
I discovered that Windows 10 display settings are also involved.
Also, the target emoji had a return width of less than 1 for Emoji.Wpf.Image.RenderEmoji method. Probably, the exception would occur when the result of multiplying the width of the target emoji by DPI scale is less than 1 for System.Windows.Documents.WpfPayload.GetBitmapSourceFromImage method. |
Environment
Operation
Expected result.
An exception was not cause.
Actual result.
An exception was cause.
Stacktrace (Sorry for the partial Japanese.)
Specific emoji
etc...
The text was updated successfully, but these errors were encountered: