Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Strut implementation #7414

Merged
merged 27 commits into from
Jan 30, 2019
Merged

Strut implementation #7414

merged 27 commits into from
Jan 30, 2019

Conversation

GaryQian
Copy link
Contributor

@GaryQian GaryQian commented Jan 9, 2019

Engine side strut implementation. Part of the work required for flutter/flutter#26085.

This also introduces the forceStrutHeight feature that locks all line heights to the height of the strut. This allows for guaranteed rigid line spacing.

Requires framework-side implementation and manual roll.

Copy link
Member

@jason-simmons jason-simmons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Hixie for API review

@GaryQian
Copy link
Contributor Author

GaryQian commented Jan 10, 2019

Disabling the strut libtxt unit tests as it appears those tests are platform dependent due to skia providing differing font metrics for different OSes. They should pass locally on glinux machines.

Will look into supplying fake metrics or using ahem to ensure we are doing the strut calculations correctly.

Should be able to add framework-side golden tests based on ahem which should provide consistent metrics.

engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 1, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 1, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 1, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 1, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 1, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 1, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 1, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 2, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 2, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 2, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 2, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 3, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 3, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 4, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants