From b285ce94f14be9f1311f3ce238c17534b458b83d Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Wed, 30 Nov 2022 21:31:52 +0800 Subject: [PATCH] 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. --- apple/OmnivoreKit/Sources/Views/Fonts.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apple/OmnivoreKit/Sources/Views/Fonts.swift b/apple/OmnivoreKit/Sources/Views/Fonts.swift index 816391f40..c15d025d9 100644 --- a/apple/OmnivoreKit/Sources/Views/Fonts.swift +++ b/apple/OmnivoreKit/Sources/Views/Fonts.swift @@ -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 {