New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Impeller] Text Outline not rendered accurately. #138670
Labels
a: typography
Text rendering, possibly libtxt
c: rendering
UI glitches reported at the engine/skia rendering level
e: impeller
Impeller rendering backend issues and features requests
engine
flutter/engine repository. See also e: labels.
found in release: 3.16
Found to occur in 3.16
found in release: 3.17
Found to occur in 3.17
has reproducible steps
The issue has been confirmed reproducible and is ready to work on
P2
Important issues not at the top of the work list
team-engine
Owned by Engine team
triaged-engine
Triaged by Engine team
Comments
Reproducible using the sample provided above. flutter doctor -v
|
danagbemava-nc
added
engine
flutter/engine repository. See also e: labels.
a: typography
Text rendering, possibly libtxt
c: rendering
UI glitches reported at the engine/skia rendering level
has reproducible steps
The issue has been confirmed reproducible and is ready to work on
e: impeller
Impeller rendering backend issues and features requests
team-engine
Owned by Engine team
found in release: 3.16
Found to occur in 3.16
found in release: 3.17
Found to occur in 3.17
and removed
in triage
Presently being triaged by the triage team
labels
Nov 20, 2023
jonahwilliams
added
P2
Important issues not at the top of the work list
triaged-engine
Triaged by Engine team
labels
Nov 20, 2023
From Triage: The glyph atlases are populated similarly in both backends. So it is likely that we messed up passing an argument to the font while populating the atlas. |
chinmaygarde
changed the title
[Impeller] Text Outline not rendered accurately
[Impeller] Text Outline not rendered accurately.
Nov 30, 2023
Quick update: it's still the same output with Flutter v3.19.4. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
a: typography
Text rendering, possibly libtxt
c: rendering
UI glitches reported at the engine/skia rendering level
e: impeller
Impeller rendering backend issues and features requests
engine
flutter/engine repository. See also e: labels.
found in release: 3.16
Found to occur in 3.16
found in release: 3.17
Found to occur in 3.17
has reproducible steps
The issue has been confirmed reproducible and is ready to work on
P2
Important issues not at the top of the work list
team-engine
Owned by Engine team
triaged-engine
Triaged by Engine team
Is there an existing issue for this?
Steps to reproduce
Text outlines as demonstrated in the official TextStyle class documentation are rendered inaccurately with Impeller.
Until Flutter 3.16, Impeller did not draw those outlines at all, so this is still a step forward. 😃
However, the quality of the rendering makes it ill-suited for most apps.
Expected results
The outline should be drawn clearly centered around the glyphs.
Actual results
The outline is offset a little compared to the actual shape of several glyphs.
If you compare the images more closely, you'll notice that it's actually not so much the outline that changes, but the actual glyphs drawn in the front. The animated GIF file below makes that easy to see.
(A side note: the "Debug" text on the top right is rendered much thinner with Impeller. Which could also indicate an issue with Impeller's text rendering.)
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
Note the difference (drawn with 8pt outline to emphasize):
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: