diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-05-20 17:58:23 -0700 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-05-20 17:58:23 -0700 |
commit | c0c70ef0946da25ce31c44037f4a5ff2028b9aee (patch) | |
tree | 49e1c515edbd7cc93344a244150aa9b251abe5f4 /components/script/dom/document.rs | |
parent | b9650b5dd5d8548e473218cd3f08c067a3ceb3c1 (diff) | |
parent | 5991afafa412cf1b36bf1d375fc8304328042496 (diff) | |
download | servo-c0c70ef0946da25ce31c44037f4a5ff2028b9aee.tar.gz servo-c0c70ef0946da25ce31c44037f4a5ff2028b9aee.zip |
Auto merge of #11273 - mbrubeck:fast-shape, r=pcwalton
Add a fast path for shaping ASCII text
On both my Linux laptop and iMac, this is about twice as fast as Harfbuzz text shaping on https://en.wikipedia.org/wiki/Barack_Obama.
I haven't tested this on any high-DPI (retina) displays, and I'm not 100% certain that the font unit scaling is correct there.
Depends on servo/core-text-rs#50.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11273)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/document.rs')
0 files changed, 0 insertions, 0 deletions