Skip to content

adjustsFontSizeToFit do not work correctly on Android #54356

@gkueny

Description

@gkueny

Description

On Android, when we show a Text with adjustsFontSizeToFit={true} and numberOfLines={1}, most of the time, text is too small and do not fill available space

Steps to reproduce

run https://snack.expo.dev/@gkuenyme/android-adjustsfontsizetofit-issue on Android device

React Native Version

0.81.4

Affected Platforms

Runtime - Android

Output of npx @react-native-community/cli info

I reproduce in a snack. But experience issue without our project

System:
  OS: macOS 26.0.1
  CPU: (10) arm64 Apple M1 Max
  Memory: 373.81 MB / 32.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 22.14.0
  Yarn:
    version: 1.22.22
  npm:
    version: 10.9.2
  Watchman:
    version: 2025.03.10.00
Managers:
  CocoaPods:
    version: 1.14.2
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 25.0
      - iOS 26.0
      - macOS 26.0
      - tvOS 26.0
      - visionOS 26.0
      - watchOS 26.0
  Android SDK: Not Found
IDEs:
  Android Studio: 2024.2 AI-242.23726.103.2422.12816248
  Xcode:
    version: 26.0.1/17A400
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.13
  Ruby:
    version: 3.3.8
npmPackages:
  "@react-native-community/cli":
    installed: 20.0.2
    wanted: 20.0.2
  react:
    installed: 19.1.0
    wanted: 19.1.0
  react-native:
    installed: 0.81.4
    wanted: 0.81.4
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true

Stacktrace or Logs

No logs or StackTrace

MANDATORY Reproducer

https://snack.expo.dev/@gkuenyme/android-adjustsfontsizetofit-issue

Screenshots and Videos

Here is iOS screenshot (no issue) and same on Android SM-G996B

ios no issue android  issue

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions