Jack Moffitt
d1b433a3b3
Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8a
2014-11-13 11:17:43 +10:00
Glenn Watson
b1c226778f
Cache last fontgroup. Style recalc on wikipedia/rust 66ms -> 41ms.
2014-10-24 08:25:10 +10:00
Glenn Watson
8331cfe089
Convert internal font code to store pt size as Au.
2014-10-22 13:49:41 +10:00
Patrick Walton
bb6f557276
layout: Rewrite text and inline fragment handling during flow
...
construction to avoid cloning and moving flows so much.
Besides amounting to a 5%-10% win on a page with a lot of text, this
simplifies and refactors the text layout code.
2014-10-20 22:05:38 -07:00
Patrick Walton
a6fcec468f
layout: Remove FontStyle
in favor of using the font style struct
...
directly, and optimize `get_layout_font_group()` to use a small vector.
Seems to be a 38% layout win on a site I tested with a lot of text.
2014-10-15 22:17:57 -07:00
Josh Matthews
9b20d6e7d2
Add average advance width to the font metrics structure, using the X glyph as a best guess.
2014-10-01 15:03:15 -04:00
Glenn Watson
0dd1b85739
Add support for small-caps font-variant.
...
Ref: 2554.
2014-09-23 14:21:41 +10:00
Keegan McAllister
dc86e83654
Eliminate warnings
2014-09-20 13:00:55 -07:00
Jack Moffitt
c6ab60dbfc
Cargoify servo
2014-09-08 20:21:42 -06:00