Skip to content

Font Changes in iOS 13.0 and Flutter 1.9 #41101

@bcurley2314

Description

@bcurley2314

I've noticed quite a big change in the default font output while running Flutter 1.9 on iOS 13.0 both on a device debug, a profile and release build, as well as the iOS 13.0 simulator on the most upgraded xCode.

See before/after screenshots below (before is the top/after is the below):
text-bug-1
text-bug-2

From what I can tell with just crude eye-balling and rough photoshop overlays is that the underlying letterSpacing has definitely changed or is being executed in a different manner. This is happening throughout my testing while turning off all internal app themeing as well. This is happening on the default Roboto font with no changes, just a normal ListTile() with a Text() title, but can also be seen in almost all other font renderings throughout the app.

I also can't confirm, but I'm trying to test older versions, that the font size has changed as well. It seems like the dp conversion might be off with iOS 13? All the fonts seem to be smaller across the board, like I'm looking at my app through a much higher resolution screen.

Flutter Doctor just in case:

[✓] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.14.6 18G95, locale en-US)
    • Flutter version 1.9.1+hotfix.2 at /Users/briancurley/Documents/Rydr/flutter
    • Framework revision 2d2a1ffec9 (2 weeks ago), 2019-09-06 18:39:49 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

 
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/briancurley/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.0, Build version 11A420a
    • CocoaPods version 1.6.1

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 39.0.3
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.38.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.4.1

[✓] Connected device (2 available)
    • iPhone 8          • 5A26C06D-929B-42BE-8BDE-7E2EAEB524F5 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-0 (simulator)
    • iPhone 11 Pro Max • D3C8AFA8-56B3-4857-AC07-45BAFD63E13B • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-0 (simulator)

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: typographyText rendering, possibly libtxtc: regressionIt was better in the past than it is nowe: device-specificOnly manifests on certain devicesengineflutter/engine related. See also e: labels.f: cupertinoflutter/packages/flutter/cupertino repositoryf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.platform-iosiOS applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions