Commit graph

17922 commits

Author SHA1 Message Date
Brian Anderson
c92c1c661f Implement FreeTypeNativeFont.glyph_h_advance 2012-06-24 20:14:52 -07:00
Brian Anderson
2967527abb Work on implementing NativeFont 2012-06-24 18:39:59 -07:00
Brian Anderson
a6d9b123e4 Update for latest language changes 2012-06-24 14:26:23 -07:00
Brian Anderson
776be8cf31 Fonts must be created from a FontLibrary 2012-06-22 16:44:59 -07:00
Brian Anderson
de59f7ef86 Ignore more flaky font tests 2012-06-22 16:24:02 -07:00
Brian Anderson
cfefc42c25 Introduce FontLibrary 2012-06-22 16:22:53 -07:00
Brian Anderson
6154066619 Convert Font from a class to a resource + impl to avoid bugs 2012-06-22 16:14:31 -07:00
Margaret Meyerhofer
e0ddaf50df Refactored html and css lexing into separate files and capitalized those types 2012-06-22 11:03:34 -07:00
Brian Anderson
b754510d53 Cleanup for new conventions 2012-06-22 01:39:56 -07:00
Brian Anderson
b1b0434bc4 Ignore more crashy tests 2012-06-21 22:52:59 -07:00
Brian Anderson
2531f4ffc1 Fix invalid moves per latest rustc build 2012-06-21 19:40:11 -07:00
Brian Anderson
3ffbaaaa47 Introduce NativeFont 2012-06-21 17:42:43 -07:00
Brian Anderson
7d56150947 Introduce GlyphIndex type to distinguish glyph codepoints vs unicode codepoints 2012-06-21 14:14:03 -07:00
Brian Anderson
5f8493e3a9 Camel-case text types 2012-06-21 13:49:25 -07:00
Margaret Meyerhofer
ce615bf12a Changed parallel css matching to use shared state instead of copying 2012-06-20 15:32:21 -07:00
Margaret Meyerhofer
4ee7e57eea Remove remaining implicit copy warnings 2012-06-20 10:32:59 -07:00
Margaret Meyerhofer
a322542825 Changed css matching to match nodes in parallel. 2012-06-19 12:36:50 -07:00
Margaret Meyerhofer
d7db7a56c3 Ignore more inconsistently failing tests 2012-06-19 10:34:50 -07:00
Brian Anderson
8694baaca0 Ignore some font tests that are failing inconsistently 2012-06-17 21:15:42 -07:00
Brian Anderson
632c781206 Use the actual horizontal advance 2012-06-16 23:19:27 -07:00
Brian Anderson
d9c59e3adf Remove old font test code 2012-06-16 21:09:55 -07:00
Brian Anderson
cbb26e64fb Print text on mac 2012-06-16 18:18:15 -07:00
Brian Anderson
8d2eb11582 Print text to screen. Aw, yeah. 2012-06-16 17:53:11 -07:00
Brian Anderson
f37897924b Text boxes yield two display items, a bg color and a text item 2012-06-16 16:02:40 -07:00
Brian Anderson
2c0dcbc722 Boxes may convert to multiple display list items 2012-06-16 15:57:08 -07:00
Brian Anderson
96c44f9726 Add display_item_text 2012-06-16 15:40:43 -07:00
Brian Anderson
756cc775b5 Extract display_list_builder from layout_task 2012-06-16 15:12:30 -07:00
Brian Anderson
052fcadc2b Calculate the size of the text_box from the text_run 2012-06-16 15:03:28 -07:00
Brian Anderson
86f59bd5ef Calculate the size of a text run 2012-06-16 14:46:55 -07:00
Brian Anderson
5af6c891ed Make text_run immutable 2012-06-16 14:46:10 -07:00
Brian Anderson
50a0956f1b Only include the test font once 2012-06-15 23:37:33 -07:00
Brian Anderson
25e6db150e Use font class to get the glyph advance for harfbuzz 2012-06-15 23:33:12 -07:00
Brian Anderson
e1d09aae96 Misc work on fonts 2012-06-15 22:07:56 -07:00
Brian Anderson
902605c690 Teach text::shaper how to find a glyph index from the font 2012-06-15 17:52:22 -07:00
Brian Anderson
c1af1b833c Teach text::font how to find a glyph index on linux 2012-06-15 17:12:04 -07:00
Brian Anderson
3d4d7eabfe Update rust-harfbuzz 2012-06-15 17:12:04 -07:00
Patrick Walton
1ec640b047 Fix naming in tree 2012-06-14 20:19:25 -07:00
Patrick Walton
0347e4408c Refactor RCU to use the CamelCase naming convention 2012-06-14 19:20:08 -07:00
Patrick Walton
6c6f7f99e4 Make Box into a class 2012-06-14 18:55:04 -07:00
Patrick Walton
9ed8b20778 CamelCase box kinds 2012-06-14 17:31:02 -07:00
Patrick Walton
09ee4b18ef CamelCase everything in dom/base 2012-06-14 17:23:11 -07:00
Patrick Walton
876e1307e3 node -> Node 2012-06-14 17:11:06 -07:00
Patrick Walton
3f1b23b524 Use spec names for ElementKinds 2012-06-14 17:04:21 -07:00
Patrick Walton
f480c54e69 Correct spelling of "fuchsia" 2012-06-14 16:40:26 -07:00
Patrick Walton
c348486140 CamelCase node kinds. Also fix shape glue problem in CSS color comparison. 2012-06-14 16:38:05 -07:00
Patrick Walton
d2455c7bb6 "ch" -> "self_channel" 2012-06-14 15:25:24 -07:00
Patrick Walton
3aa7f249e8 Tabs -> spaces in servo.rc 2012-06-14 15:23:33 -07:00
Patrick Walton
717ef95016 "resp" -> "from_renderer" 2012-06-14 15:22:57 -07:00
Patrick Walton
fb4fab8a07 CamelCase messages 2012-06-14 15:20:59 -07:00
Brian Anderson
c5e2f391b0 Merge pull request #19 from mmeyerho/color
Refactored color into a separate module and added support for input types.
2012-06-14 15:20:50 -07:00