Commit graph

1074 commits

Author SHA1 Message Date
Brian J. Burg
ef63245502 Reuse harfbuzz font, face objects on subsequent shaper calls. Move static functions into HarfbuzzShaper. 2012-10-29 16:28:21 -07:00
Brian J. Burg
82faedf9fc Shaper holds a reference to its font. 2012-10-29 15:01:55 -07:00
Brian J. Burg
97b7b21452 Add Font.shape_text(), and instantiate/reuse Shaper instance off of Font lazily. Shaper now takes a font, text, and glyph storage. 2012-10-29 14:54:59 -07:00
Brian J. Burg
09686c234f Shaper now uses actual font point size. Closes #162. 2012-10-29 14:54:59 -07:00
Brian J. Burg
365a99a276 Add note about Issue #163 to source. 2012-10-29 14:54:59 -07:00
Brian Anderson
81277cca75 Move util::color to css::color 2012-10-29 14:27:02 -07:00
Brian Anderson
21cd748269 Remove PngCompositor. Will need a different solution 2012-10-29 14:25:35 -07:00
Brian Anderson
ddd3065c0b Add casts to FreeType code to fix build 2012-10-29 13:59:06 -07:00
Brian J. Burg
960cde1fbe Move around native font implementations and shapers. 2012-10-29 12:05:58 -07:00
Brian Anderson
dbfe0869e2 Update rust-netsurfcss, rust-wapcaplet 2012-10-28 02:35:08 -07:00
Patrick Walton
ad540f870a gfx: Disable tiles for now due to bustage 2012-10-27 21:08:05 -07:00
Brian J. Burg
9f94b54c89 Create FontStyle, FontFaceProperties, and hook up (hardcoded) adjustable font sizes. Also ripped out some native font tests that won't make sense with font machinery refactor. 2012-10-26 19:53:26 -07:00
Brian Anderson
2e5afb7050 Add rust-css submodule 2012-10-26 18:51:03 -07:00
Brian Anderson
7db5ebee34 Update submodules with build fixes 2012-10-26 18:30:51 -07:00
Brian Anderson
b32da1f005 Update rust-netsurfcss 2012-10-26 16:25:52 -07:00
Patrick Walton
b101f8258e layout: Make the display list freezable/dual mode 2012-10-25 22:01:52 -07:00
Patrick Walton
7c029a322d gfx: Implement tiled rendering 2012-10-25 20:36:34 -07:00
Patrick Walton
01e9c30b80 Update rust-geom 2012-10-25 20:20:33 -07:00
Brian Anderson
a845e458f1 Update rust-wapcaplet, rust-netsurfcss 2012-10-25 19:24:42 -07:00
Patrick Walton
37da0262fe Update rust-azure 2012-10-25 18:51:48 -07:00
Patrick Walton
b0ad3089d1 platform: Render all layers 2012-10-25 17:46:28 -07:00
Patrick Walton
9135fbdd4a platform: Create an image layer for each buffer 2012-10-25 17:08:57 -07:00
Patrick Walton
38fb01b43f gfx: Place rects in the layer buffers, not just sizes 2012-10-25 16:33:28 -07:00
Patrick Walton
5c373c21d8 gfx: Use layer buffer sets instead of a single layer buffer 2012-10-25 16:20:39 -07:00
Patrick Walton
467c799532 Fix the origin when resizing 2012-10-25 15:17:25 -07:00
Brian J. Burg
12954d12c3 Fix linux build for recent submodule splits. 2012-10-25 15:16:43 -07:00
Brian J. Burg
5c68d158f0 Split out xlib to rust-xlib and cairo to rust-cairo. 2012-10-25 14:56:07 -07:00
Brian J. Burg
e01d97460b Split fontconfig bindings into rust-fontconfig. 2012-10-25 12:34:01 -07:00
Brian J. Burg
800bf0a8ed Put extern mod declaration for freetype inside an OS guarded section. 2012-10-25 11:45:53 -07:00
Brian J. Burg
9bde1e9f26 Split freetype bindings into rust-freetype submodule. 2012-10-25 11:32:10 -07:00
Brian Anderson
962e0c6c27 Update libwapcaplet, rust-wapcaplet 2012-10-25 00:28:18 -07:00
Patrick Walton
104020d242 build: Optimize C++ code in submodules. Closes #157. 2012-10-24 23:05:33 -07:00
Patrick Walton
0eea6621a8 Fix CFG_RUSTC variable in configure 2012-10-24 22:18:27 -07:00
Brian Anderson
9fdab777c6 Update rust-wapcaplet 2012-10-24 19:37:17 -07:00
Brian Anderson
93f921e511 Update rust-netsurfcss 2012-10-24 18:26:10 -07:00
Brian Anderson
09b8c6fae6 Update rust-glut, rust-http-client, rust-stb-image 2012-10-24 18:25:20 -07:00
Brian J. Burg
eb0942593e Cache AzScaledFontRef inside of Font instances. Fixes #83. 2012-10-24 18:17:10 -07:00
Brian J. Burg
a06b573e74 Move RenderContext::draw_text() to Font::draw_text_into_context(). Fixes #156. 2012-10-24 18:16:51 -07:00
Brian J. Burg
416ffeaca6 Fix incorrect origin for drawing glyphs. Fixes #153. 2012-10-24 16:24:04 -07:00
Brian J. Burg
91c7ca11b3 Snap borders with odd pixel width to pixel boundaries.
Add debug bounding boxes for text boxes (RUST_LOG=servo::layout::box)
and all boxes (RUST_LOG=servo::gfx::display_list).
2012-10-24 15:34:04 -07:00
Brian J. Burg
a7c796aaf1 Update servo to rust 3b6f5a1. Removes extraneous by-ref parameter to option::get(), and removes binary move operator. 2012-10-24 14:27:38 -07:00
Brian Anderson
c255509688 Update rust-netsurfcss 2012-10-23 18:38:38 -07:00
Brian J. Burg
5594e12236 Fix test bustage. 2012-10-23 17:28:53 -07:00
Brian J. Burg
496964123f Remove uses of str::raw::buf_as_slice, and eliminate some valgrind warnings. 2012-10-23 17:28:14 -07:00
Brian J. Burg
96d0d25824 Clean up the code that interacts with hubbub parser, and stop stashing pointers to pointers on the stack. 2012-10-23 14:37:34 -07:00
Brian J. Burg
bf9e02ab4f Update sharegl hash to proper commit. 2012-10-23 11:04:49 -07:00
Brian J. Burg
14388d6b47 Invert DisplayItem enum variant data nesting, and add some TextRun static new's. Fixes #96. 2012-10-23 10:05:33 -07:00
Brian Anderson
a3c653f046 Update mozjs 2012-10-22 19:00:12 -07:00
Brian Anderson
cb5b10c6da Merge pull request #144 from g2p/master
Fix the mozjs special case so that build products are where rust-mozjs expects them.
2012-10-22 18:59:22 -07:00
Brian J. Burg
7a27c01691 Refactor box building so that we push and pop nodes instead of boxes to BoxGenerator. LayoutTreeBuilder is only concerned with Flow tree creation, while BoxGenerator deals with boxes. 2012-10-22 18:35:57 -07:00