Assigned
Status Update
Comments
al...@google.com <al...@google.com> #3
Thanks for the report!
js...@google.com <js...@google.com>
se...@google.com <se...@google.com> #4
The release notes documentation has been edited to clarify this change in behavior for line height.
To support non-standard text sizes, we encourage users to follow the Material design system and use a different style = LocalTextStyle.current.copy(lineHeight = TextUnit.Unspecified)
, or create a custom Typography
entirely.
se...@google.com <se...@google.com>
ap...@google.com <ap...@google.com> #6
In my case, I have multiple font sizes in the same Text
(using SpanStyle
in AnnotatedString
). There are legitimate reasons for this. For example, when combining Chinese and English (phonetic) together (for language-learning purposes).
Description
The following lint check is baseline suppressed in your project. Please remove all instances of this suppression from
compose/ui/ui-text-google-fonts/lint-baseline.xml
and address the associated issues before your next stable release.1 instance(s) of
RestrictedApiAndroidX
FontsContractCompat.requestFont can only be called from within the same library (androidx.core:core)
Found in
src/main/java/androidx/compose/ui/text/googlefonts/GoogleFont.kt
at line 0: