-
Notifications
You must be signed in to change notification settings - Fork 38
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
Set a fixed font for the accessibility labels #487
Comments
Thank you for your feedback. roborazzi/roborazzi-painter/src/commonJvmMain/kotlin/com/github/takahirom/roborazzi/AwtRoboCanvas.kt Lines 592 to 593 in 0b0143e
roborazzi/roborazzi-painter/src/commonJvmMain/kotlin/com/github/takahirom/roborazzi/AwtRoboCanvas.kt Line 182 in 0b0143e
|
Yes, it is a linux image :) Using a font installed in both systems would definitely work! |
@takahirom |
@sergio-sastre While Java provides some fonts, they are actually mapped to specific fonts by the JDK implementation. However, we prefer not to bundle a font. Could we perhaps use Android fonts or something similar in Robolectric? 💭
|
But if it works and we don't have to bundle font files, I don't have any particular opinion. |
I'll take a look at it in a couple of weeks, I'm afraid it is not gonna be possible before |
Currently, the accessibility labels are generated using system fonts.
Since our local environment is on a mac and the CI pipeline runs on a linux container, the accessibility labels have different fonts.
Suggestions: Maybe make the font custimizable
The text was updated successfully, but these errors were encountered: