Skip to content

Use Harfbuzz 1.0 and unicode-script for text shaping - #7786

Merged
bors-servo merged 4 commits into
servo:masterfrom
mbrubeck:harfbuzz-sys
Sep 29, 2015
Merged

bors-servo merged 4 commits into
servo:masterfrom
mbrubeck:harfbuzz-sys

Conversation

@mbrubeck

Copy link
Copy Markdown
Contributor

Depends on servo/rust-harfbuzz#53 and introduces a dependency on the new servo/unicode-script crate. r? @pcwalton

Review on Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Sep 29, 2015
@jdm jdm added the S-fails-tidy `./mach test-tidy` reported errors. label Sep 29, 2015
@pcwalton

Copy link
Copy Markdown
Contributor

I assume that Gecko also breaks text runs by Unicode script using the same algorithm?

@pcwalton

Copy link
Copy Markdown
Contributor

Oh oops, didn't see your comment.

In that case, this looks good. r=me once @larsbergstrom reviews the HarfBuzz upgrade.

@larsbergstrom

Copy link
Copy Markdown
Contributor

HarfBuzz landed.

@mbrubeck

Copy link
Copy Markdown
Contributor Author

@bors-servo r=pcwalton

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 3f68fa5 has been approved by pcwalton

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Sep 29, 2015
@mbrubeck mbrubeck removed the S-fails-tidy `./mach test-tidy` reported errors. label Sep 29, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 3f68fa5 with merge 687e15e...

bors-servo pushed a commit that referenced this pull request Sep 29, 2015
Use Harfbuzz 1.0 and unicode-script for text shaping

Depends on servo/rust-harfbuzz#53 and introduces a dependency on the new servo/unicode-script crate.  r? @pcwalton

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7786)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-dev-ref-unit

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Sep 29, 2015
@mbrubeck

Copy link
Copy Markdown
Contributor Author

mac-rel-wpt hit #7731:

/dom/nodes/Document-createElement-namespace.html
------------------------------------------------
TIMEOUT [Parent]

mac-dev-ref-unit hit #7785:

ol_japanese_iroha_a.html == ol_japanese_iroha_ref.html

mac-rel-css had two unexpected results which were previously a Linux-only PASS and Linux-only FAIL (now apparently the same on both platforms):

/css-flexbox-1_dev/html/css-flexbox-column-reverse.htm
------------------------------------------------------
FAIL [Parent]
/css21_dev/html4/bidi-glyph-mirroring-002.htm
---------------------------------------------
PASS expected FAIL [Parent]

linux-rel had a test-css failure that I can't reproduce locally (at least in a debug build), but I do see jumpiness when loading the test, so I suspect a race condition and/or incremental layout bug:

/css21_dev/html4/c62-percent-000.htm
------------------------------------
FAIL [Parent]

Harfbuzz now renders tabs with a "missing character" glyph by default, so we
need to filter them out ourselves after computing an advance.
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. labels Sep 29, 2015
@mbrubeck

Copy link
Copy Markdown
Contributor Author

@bors-servo r=pcwalton

Adjusted test expectations for Mac CSS results. Checking to see whether the Linux CSS failure was intermittent or not.

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 569b434 has been approved by pcwalton

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Sep 29, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 569b434 with merge a144d08...

bors-servo pushed a commit that referenced this pull request Sep 29, 2015
Use Harfbuzz 1.0 and unicode-script for text shaping

Depends on servo/rust-harfbuzz#53 and introduces a dependency on the new servo/unicode-script crate.  r? @pcwalton

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7786)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Sep 29, 2015
@mbrubeck

Copy link
Copy Markdown
Contributor Author

This time linux-rel got different results:

/css21_dev/html4/first-letter-dynamic-003a.htm
----------------------------------------------
PASS expected FAIL [Parent]

Since there were no code changes since the previous run, both results must be intermittent.

@mbrubeck

Copy link
Copy Markdown
Contributor Author

@bors-servo retry

@bors-servo

Copy link
Copy Markdown
Contributor

⚡ Previous build results for android, gonk, linux-dev, mac-dev-ref-unit, mac-rel-css are reusable. Rebuilding only linux-rel, mac-rel-wpt...

@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt

@bors-servo
bors-servo merged commit 569b434 into servo:master Sep 29, 2015
@SimonSapin SimonSapin removed the S-tests-failed The changes caused existing tests to fail. label Jan 27, 2016
@mbrubeck
mbrubeck deleted the harfbuzz-sys branch May 11, 2016 03:43
@mbrubeck mbrubeck mentioned this pull request May 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants