[go: nahoru, domu]

Skip to content
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

Text snaps to pixel grid, images don't #234

Closed
FlutterIssues opened this issue Nov 9, 2015 · 2 comments
Closed

Text snaps to pixel grid, images don't #234

FlutterIssues opened this issue Nov 9, 2015 · 2 comments
Assignees
Labels
engine flutter/engine repository. See also e: labels. framework flutter/packages/flutter repository. See also f: labels.

Comments

@FlutterIssues
Copy link

Issue by Hixie
Monday Oct 26, 2015 at 22:35 GMT
Originally opened as https://github.com/flutter/engine/issues/1811


Set your timeDilation factor to 100, then run the card collection app and overscroll the drawer by a lot. Watch the text and images as they scroll back down. The text looks like it's shaking up and down compared to the smoothly moving images.

@FlutterIssues FlutterIssues added this to the Blue Sky milestone Nov 9, 2015
@FlutterIssues FlutterIssues added bug framework flutter/packages/flutter repository. See also f: labels. engine flutter/engine repository. See also e: labels. labels Nov 9, 2015
@abarth abarth self-assigned this Nov 18, 2015
@abarth
Copy link
Contributor
abarth commented Nov 20, 2015

I have the repro.

abarth added a commit to abarth/engine that referenced this issue Nov 20, 2015
Previously, we tried to use the render tree's paint offset to move the text to
the proper position, but that appears to snap to integer logical pixels,
introducing jitter. Now we use the SkCanvas's matrix to position the text,
removing the jitter.

Fixes flutter/flutter#234
abarth added a commit to abarth/engine that referenced this issue Nov 20, 2015
Previously, we tried to use the render tree's paint offset to move the text to
the proper position, but that appears to snap to integer logical pixels,
introducing jitter. Now we use the SkCanvas's matrix to position the text,
removing the jitter.

Fixes flutter/flutter#234
@efidje efidje mentioned this issue May 8, 2018
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
engine flutter/engine repository. See also e: labels. framework flutter/packages/flutter repository. See also f: labels.
Projects
None yet
Development

No branches or pull requests

2 participants