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

Bug: unicode emojis in the text annotation don't respect box width and are drawn with the text color #71

Open
germanocaumo opened this issue Jan 17, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@germanocaumo
Copy link
Contributor

Live/playback:
image

Exported:
image

@danielpetri1 danielpetri1 added the bug Something isn't working label Jan 18, 2022
@danielpetri1
Copy link
Owner

Hi Germano, thanks for pointing this out.
I've been playing around with that and the only possible solution I see is to first export the text as HTML, rasterize it as an image, and then overlay it onto the video.
This can be achieved with wkhtmltoimage and could also be used to make the chat look better.
It's also faster and more precise than the measure string function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants