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

fontFamily for Text doesn't work. #6

Open
Gabsys opened this issue Apr 29, 2022 · 1 comment
Open

fontFamily for Text doesn't work. #6

Gabsys opened this issue Apr 29, 2022 · 1 comment

Comments

@Gabsys
Copy link

Gabsys commented Apr 29, 2022

No matter what fontFamily I use, the generated text looks pixelated like this:
Screenshot_20220429_164614

react-Native: 0.66.4
react-native-image-generator: 0.3.0
Platform: Android

@Gabsys
Copy link
Author

Gabsys commented Apr 29, 2022

I see that fontFamily wasn't used in ImageGeneratorModule.kt. I believe we need to setTypeface for the Paint element, but Im not familar with native Android, can't contribute to submit a PR 😬

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

1 participant