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

Text sometimes has strange artifacts #440

Open
felixjunghans opened this issue Aug 22, 2024 · 3 comments
Open

Text sometimes has strange artifacts #440

felixjunghans opened this issue Aug 22, 2024 · 3 comments

Comments

@felixjunghans
Copy link

felixjunghans commented Aug 22, 2024

Bildschirmfoto 2024-08-23 um 00 46 34

When I use an FFSubtitle with black font and white background, the text has strange sharp artifacts for some words. Can this be avoided?

@drawcall
Copy link
Member

Oh, I think it's caused by Freetype rendering some fonts. Maybe we can set ctx.textDrawingMode = 'glyph' or it would be better to change the font.

@tanxianjun2016
Copy link

遇到同样的问题,ctx.textDrawingMode = 'glyph' 这个在哪设置?

@tanxianjun2016
Copy link

@drawcall

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants