use the system font for text to speech

This gives a better layout for Tamil and Hindi languages than
Inter which seemed to have issues calculating line height.
This commit is contained in:
Jackson Harper
2022-11-30 21:31:52 +08:00
parent 1b57d879ed
commit b285ce94f1

View File

@ -23,7 +23,7 @@ public extension Font {
}
static var textToSpeechRead: Font {
Font.custom(InterFont.bold.rawValue, size: 24, relativeTo: .title2)
Font.system(size: 24, weight: .bold)
}
static var appNavbarIcon: Font {