mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #16398 - glennw:update-wr-elliptical-borders-aa, r=mrobinson
Update WR (new border code path). This includes the new border code path for simple (solid) borders. This gives much higher quality border rendering, including proper support for elliptical border segments. The quality on https://github.com/servo/servo is noticeably improved. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16398) <!-- Reviewable:end -->
This commit is contained in:
commit
ff568c0d1a
4 changed files with 11 additions and 3 deletions
|
@ -275,7 +275,7 @@ impl WebRenderDisplayItemConverter for DisplayItem {
|
|||
let clip = item.base.clip.to_clip_region(builder);
|
||||
builder.push_text(item.base.bounds.to_rectf(),
|
||||
clip,
|
||||
glyphs,
|
||||
&glyphs,
|
||||
item.text_run.font_key,
|
||||
item.text_color,
|
||||
item.text_run.actual_pt_size,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue