From 4d54d4e6fa9eed6e38d793f9a314eac8ac2b1290 Mon Sep 17 00:00:00 2001 From: Chris Bobbe Date: Wed, 22 May 2024 14:24:37 -0700 Subject: [PATCH] content: Remove TextBaseline.alphabetic from plain-paragraph style I'm not sure if this actually improves how we show non-alphabetic text in any cases at all (so I'm not sure if it's NFC), but anyway, hard-coding this attribute here or anywhere has a smell of being counterproductive for i18n; remove it. --- lib/widgets/content.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/widgets/content.dart b/lib/widgets/content.dart index ad6633bd46..55ac6e2f88 100644 --- a/lib/widgets/content.dart +++ b/lib/widgets/content.dart @@ -46,7 +46,6 @@ class ContentTheme extends ThemeExtension { color: const HSLColor.fromAHSL(1, 0, 0, 0.15).toColor(), fontSize: kBaseFontSize, letterSpacing: 0, - textBaseline: TextBaseline.alphabetic, height: (22 / kBaseFontSize), leadingDistribution: TextLeadingDistribution.even, decoration: TextDecoration.none,