Repository navigation
Internationalized words in text widgets are not centered vertically. #42925
Copy link
Copy link
Open
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: internationalizationSupporting other languages or locales. (aka i18n)Supporting other languages or locales. (aka i18n)a: typographyText rendering, possibly libtxtText rendering, possibly libtxtengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.found in release: 1.22Found to occur in 1.22Found to occur in 1.22found in release: 2.0Found to occur in 2.0Found to occur in 2.0frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onteam-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
Description
Having a problem regarding displaying Kannada language words using the Text widget. The text is not aligned vertically center.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: Column(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.center,
children: [
FlatButton(
child: Text(
'Follow',
style: TextStyle(fontSize: 20, color: Colors.white),
),
onPressed: () {
print("Button pressed");
},
color: Colors.blue,
),
FlatButton(
child: Text(
'ಫಾಲೋ',
style: TextStyle(fontSize: 20, color: Colors.white),
),
onPressed: () {
print("Button pressed");
},
color: Colors.blue,
),
],
),
);
}
}flutter doctor -v
[✓] Flutter (Channel stable, v1.9.1+hotfix.4, on Mac OS X 10.15 19A583, locale en-IN)
• Flutter version 1.9.1+hotfix.4 at /Users/vinothini/Documents/flutter
• Framework revision cc949a8e8b (3 weeks ago), 2019-09-27 15:04:59 -0700
• Engine revision b863200c37
• Dart version 2.5.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/vinothini/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• 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.8.3
[✓] 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.39.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.5.1
[✓] Connected device (1 available)
• iPhone 11 • 4BE1A3E5-2E98-4539-B98C-672848CA2098 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-0 (simulator)
• No issues found!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: internationalizationSupporting other languages or locales. (aka i18n)Supporting other languages or locales. (aka i18n)a: typographyText rendering, possibly libtxtText rendering, possibly libtxtengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.found in release: 1.22Found to occur in 1.22Found to occur in 1.22found in release: 2.0Found to occur in 2.0Found to occur in 2.0frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onteam-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team

Activity
GaryQian commentedon Apr 29, 2020
Related, for Hebrew: #27033
darshankawar commentedon Sep 21, 2020
flutter doctor -v
ShiinaManatsu commentedon Oct 21, 2020
Also this will happen to English words with Chinese words, Flutter 1.20.0

This is really ugly and I don't want to fix that myself, so any progress with this?
yaostyle commentedon May 13, 2021
flutter doctor -v
Issue persists with 2.0.6. Reproduced the issue and found Chinese characters display fine but not the other.
Preview
TahaTesser commentedon May 13, 2021
flutter doctor -v
ondev commentedon Sep 13, 2021
You can use TextField to instead of
1 remaining item
justinmc commentedon Mar 18, 2022
CC @GaryQian
violinday commentedon May 21, 2022
Is there any progress on this issue?
fzyzcjy commentedon Aug 2, 2022
Is there any updates...?
WingCH commentedon Oct 8, 2022
Still happening in 3.3.4
any update? thanks
fzyzcjy commentedon Oct 8, 2022
Possibly related: #96713
flutting commentedon Jan 29, 2023
As a UI toolkit, Flutter should solve this display exception. It has brought great negative effects!
iDevOrz commentedon Apr 18, 2024
darshankawar commentedon Apr 18, 2024
@iDevOrz Please read https://github.com/flutter/flutter/wiki/Issue-hygiene#comments and kindly do not comment asking for updates. Instead, upvote original issue description to get better traction from the team.
BFELFISH commentedon May 17, 2024
is there any update?
weichongchong commentedon Feb 6, 2025
is there any update?